Lines Matching full:swp
80 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
83 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
90 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
127 * the SWP and SWPB variants (bit set means SWPB).
137 /* SWP to unaligned address not permitted */ in emulate_swpX()
138 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
181 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
198 /* Check access in reasonable access range for both SWP and SWPB */ in swp_handler()
201 pr_debug("SWP{B} emulation: access to 0x%08x not allowed!\n", in swp_handler()
216 trace_instruction_emulation("swp", regs->pc); in swp_handler()
218 pr_warn_ratelimited("\"%s\" (%ld) uses obsolete SWP{B} instruction at 0x%llx\n", in swp_handler()
225 pr_debug("SWP{B} emulation: access caused memory abort!\n"); in swp_handler()
233 /* SWP{B} only exists in ARM state and does not exist in Thumb */ in try_emulate_swp()
244 .name = "swp",