aa64_shift_logimm_alias.s (601B)
1 .text 2 t: 3 # Logical bitmask-immediate forms (AND/ORR/EOR/ANDS Rd, Rn, #imm). The 4 # disassembler prints these for the logical-immediate encodings, so the 5 # assembler must parse them back for `cc -S | as` to round-trip. 6 and x14, x13, #0xff 7 and w15, w15, #0xff 8 and w8, w9, #0x1 9 orr w0, w1, #0xf0 10 eor w2, w3, #0xf0 11 ands x4, x5, #0x3 12 # Immediate shift aliases (UBFM/SBFM underneath). 13 lsl w17, w17, #4 14 lsr w8, w9, #8 15 lsl x8, x9, #3 16 asr w4, w5, #2 17 # Register (variable) shift aliases — same encodings as lslv/lsrv/asrv. 18 lsl w0, w1, w2 19 lsr x3, x4, x5 20 asr w6, w7, w8 21 ret