Lines Matching refs:cpsr
224 unsigned long cpsr = regs->ARM_cpsr; in t32_emulate_rd8rn16rm0_rwflags() local
230 : "=r" (rdv), [cpsr] "=r" (cpsr) in t32_emulate_rd8rn16rm0_rwflags()
232 "1" (cpsr), [fn] "r" (asi->insn_fn) in t32_emulate_rd8rn16rm0_rwflags()
237 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in t32_emulate_rd8rn16rm0_rwflags()
391 unsigned long cpsr = regs->ARM_cpsr; in t16_simulate_it() local
392 cpsr &= ~PSR_IT_MASK; in t16_simulate_it()
393 cpsr |= (insn & 0xfc) << 8; in t16_simulate_it()
394 cpsr |= (insn & 0x03) << 25; in t16_simulate_it()
395 regs->ARM_cpsr = cpsr; in t16_simulate_it()
478 unsigned long cpsr = t16_emulate_loregs(insn, asi, regs); in t16_emulate_loregs_noitrwflags() local
479 if (!in_it_block(cpsr)) in t16_emulate_loregs_noitrwflags()
480 regs->ARM_cpsr = cpsr; in t16_emulate_loregs_noitrwflags()
493 unsigned long cpsr = regs->ARM_cpsr; in t16_emulate_hiregs() local
502 : "=r" (rdnv), [cpsr] "=r" (cpsr) in t16_emulate_hiregs()
503 : "0" (rdnv), "r" (rmv), "1" (cpsr), [fn] "r" (asi->insn_fn) in t16_emulate_hiregs()
511 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in t16_emulate_hiregs()