Lines Matching refs:Operand
148 COMPARE(Mov(w0, Operand(0x1234)), "movz w0, #0x1234");
149 COMPARE(Mov(x1, Operand(0x1234)), "movz x1, #0x1234");
150 COMPARE(Mov(w2, Operand(w3)), "mov w2, w3");
151 COMPARE(Mov(x4, Operand(x5)), "mov x4, x5");
152 COMPARE(Mov(w6, Operand(w7, LSL, 5)), "lsl w6, w7, #5");
153 COMPARE(Mov(x8, Operand(x9, ASR, 42)), "asr x8, x9, #42");
154 COMPARE(Mov(w10, Operand(w11, UXTB)), "uxtb w10, w11");
155 COMPARE(Mov(x12, Operand(x13, UXTB, 1)), "ubfiz x12, x13, #1, #8");
156 COMPARE(Mov(w14, Operand(w15, SXTH, 2)), "sbfiz w14, w15, #2, #16");
157 COMPARE(Mov(x16, Operand(x20, SXTW, 3)), "sbfiz x16, x20, #3, #32");
168 COMPARE(Mvn(w0, Operand(0x1)), "movn w0, #0x1");
169 COMPARE(Mvn(x1, Operand(0xfff)), "movn x1, #0xfff");
170 COMPARE(Mvn(w2, Operand(w3)), "mvn w2, w3");
171 COMPARE(Mvn(x4, Operand(x5)), "mvn x4, x5");
172 COMPARE(Mvn(w6, Operand(w7, LSL, 12)), "mvn w6, w7, lsl #12");
173 COMPARE(Mvn(x8, Operand(x9, ASR, 63)), "mvn x8, x9, asr #63");
275 COMPARE(add(w0, w1, Operand(0xff)), "add w0, w1, #0xff (255)");
276 COMPARE(add(x2, x3, Operand(0x3ff)), "add x2, x3, #0x3ff (1023)");
277 COMPARE(add(w4, w5, Operand(0xfff)), "add w4, w5, #0xfff (4095)");
278 COMPARE(add(x6, x7, Operand(0x1000)), "add x6, x7, #0x1000 (4096)");
279 COMPARE(add(w8, w9, Operand(0xff000)), "add w8, w9, #0xff000 (1044480)");
280 COMPARE(add(x10, x11, Operand(0x3ff000)),
282 COMPARE(add(w12, w13, Operand(0xfff000)),
284 COMPARE(adds(w14, w15, Operand(0xff)), "adds w14, w15, #0xff (255)");
285 COMPARE(adds(x16, x17, Operand(0xaa000)),
287 COMPARE(cmn(w18, Operand(0xff)), "cmn w18, #0xff (255)");
288 COMPARE(cmn(x19, Operand(0xff000)), "cmn x19, #0xff000 (1044480)");
289 COMPARE(add(w0, wcsp, Operand(0)), "mov w0, wcsp");
290 COMPARE(add(csp, x0, Operand(0)), "mov csp, x0");
292 COMPARE(add(w1, wcsp, Operand(8)), "add w1, wcsp, #0x8 (8)");
293 COMPARE(add(x2, csp, Operand(16)), "add x2, csp, #0x10 (16)");
294 COMPARE(add(wcsp, wcsp, Operand(42)), "add wcsp, wcsp, #0x2a (42)");
295 COMPARE(cmn(csp, Operand(24)), "cmn csp, #0x18 (24)");
296 COMPARE(adds(wzr, wcsp, Operand(9)), "cmn wcsp, #0x9 (9)");
305 COMPARE(sub(w0, w1, Operand(0xff)), "sub w0, w1, #0xff (255)");
306 COMPARE(sub(x2, x3, Operand(0x3ff)), "sub x2, x3, #0x3ff (1023)");
307 COMPARE(sub(w4, w5, Operand(0xfff)), "sub w4, w5, #0xfff (4095)");
308 COMPARE(sub(x6, x7, Operand(0x1000)), "sub x6, x7, #0x1000 (4096)");
309 COMPARE(sub(w8, w9, Operand(0xff000)), "sub w8, w9, #0xff000 (1044480)");
310 COMPARE(sub(x10, x11, Operand(0x3ff000)),
312 COMPARE(sub(w12, w13, Operand(0xfff000)),
314 COMPARE(subs(w14, w15, Operand(0xff)), "subs w14, w15, #0xff (255)");
315 COMPARE(subs(x16, x17, Operand(0xaa000)),
317 COMPARE(cmp(w18, Operand(0xff)), "cmp w18, #0xff (255)");
318 COMPARE(cmp(x19, Operand(0xff000)), "cmp x19, #0xff000 (1044480)");
320 COMPARE(add(w1, wcsp, Operand(8)), "add w1, wcsp, #0x8 (8)");
321 COMPARE(add(x2, csp, Operand(16)), "add x2, csp, #0x10 (16)");
322 COMPARE(add(wcsp, wcsp, Operand(42)), "add wcsp, wcsp, #0x2a (42)");
323 COMPARE(cmn(csp, Operand(24)), "cmn csp, #0x18 (24)");
324 COMPARE(adds(wzr, wcsp, Operand(9)), "cmn wcsp, #0x9 (9)");
333 COMPARE(add(w0, w1, Operand(w2)), "add w0, w1, w2");
334 COMPARE(add(x3, x4, Operand(x5)), "add x3, x4, x5");
335 COMPARE(add(w6, w7, Operand(w8, LSL, 1)), "add w6, w7, w8, lsl #1");
336 COMPARE(add(x9, x10, Operand(x11, LSL, 2)), "add x9, x10, x11, lsl #2");
337 COMPARE(add(w12, w13, Operand(w14, LSR, 3)), "add w12, w13, w14, lsr #3");
338 COMPARE(add(x15, x16, Operand(x17, LSR, 4)), "add x15, x16, x17, lsr #4");
339 COMPARE(add(w18, w19, Operand(w20, ASR, 5)), "add w18, w19, w20, asr #5");
340 COMPARE(add(x21, x22, Operand(x23, ASR, 6)), "add x21, x22, x23, asr #6");
341 COMPARE(cmn(w24, Operand(w25)), "cmn w24, w25");
342 COMPARE(cmn(x26, Operand(cp, LSL, 63)), "cmn x26, cp, lsl #63");
344 COMPARE(add(x0, csp, Operand(x1)), "add x0, csp, x1");
345 COMPARE(add(w2, wcsp, Operand(w3)), "add w2, wcsp, w3");
346 COMPARE(add(x4, csp, Operand(x5, LSL, 1)), "add x4, csp, x5, lsl #1");
347 COMPARE(add(x4, xzr, Operand(x5, LSL, 1)), "add x4, xzr, x5, lsl #1");
348 COMPARE(add(w6, wcsp, Operand(w7, LSL, 3)), "add w6, wcsp, w7, lsl #3");
349 COMPARE(adds(xzr, csp, Operand(x8, LSL, 4)), "cmn csp, x8, lsl #4");
350 COMPARE(adds(xzr, xzr, Operand(x8, LSL, 5)), "cmn xzr, x8, lsl #5");
359 COMPARE(sub(w0, w1, Operand(w2)), "sub w0, w1, w2");
360 COMPARE(sub(x3, x4, Operand(x5)), "sub x3, x4, x5");
361 COMPARE(sub(w6, w7, Operand(w8, LSL, 1)), "sub w6, w7, w8, lsl #1");
362 COMPARE(sub(x9, x10, Operand(x11, LSL, 2)), "sub x9, x10, x11, lsl #2");
363 COMPARE(sub(w12, w13, Operand
364 COMPARE(sub(x15, x16, Operand(x17, LSR, 4)), "sub x15, x16, x17, lsr #4");
365 COMPARE(sub(w18, w19, Operand(w20, ASR, 5)), "sub w18, w19, w20, asr #5");
366 COMPARE(sub(x21, x22, Operand(x23, ASR, 6)), "sub x21, x22, x23, asr #6");
367 COMPARE(cmp(w24, Operand(w25)), "cmp w24, w25");
368 COMPARE(cmp(x26, Operand(cp, LSL, 63)), "cmp x26, cp, lsl #63");
369 COMPARE(neg(w28, Operand(w29)), "neg w28, w29");
370 COMPARE(neg(lr, Operand(x0, LSR, 62)), "neg lr, x0, lsr #62");
371 COMPARE(negs(w1, Operand(w2)), "negs w1, w2");
372 COMPARE(negs(x3, Operand(x4, ASR, 61)), "negs x3, x4, asr #61");
374 COMPARE(sub(x0, csp, Operand(x1)), "sub x0, csp, x1");
375 COMPARE(sub(w2, wcsp, Operand(w3)), "sub w2, wcsp, w3");
376 COMPARE(sub(x4, csp, Operand(x5, LSL, 1)), "sub x4, csp, x5, lsl #1");
377 COMPARE(sub(x4, xzr, Operand(x5, LSL, 1)), "neg x4, x5, lsl #1");
378 COMPARE(sub(w6, wcsp, Operand(w7, LSL, 3)), "sub w6, wcsp, w7, lsl #3");
379 COMPARE(subs(xzr, csp, Operand(x8, LSL, 4)), "cmp csp, x8, lsl #4");
380 COMPARE(subs(xzr, xzr, Operand(x8, LSL, 5)), "cmp xzr, x8, lsl #5");
389 COMPARE(add(w0, w1, Operand(w2, UXTB)), "add w0, w1, w2, uxtb");
390 COMPARE(adds(x3, x4, Operand(w5, UXTB, 1)), "adds x3, x4, w5, uxtb #1");
391 COMPARE(add(w6, w7, Operand(w8, UXTH, 2)), "add w6, w7, w8, uxth #2");
392 COMPARE(adds(x9, x10, Operand(x11, UXTW, 3)), "adds x9, x10, w11, uxtw #3");
393 COMPARE(add(x12, x13, Operand(x14, UXTX, 4)), "add x12, x13, x14, uxtx #4");
394 COMPARE(adds(w15, w16, Operand(w17, SXTB, 4)), "adds w15, w16, w17, sxtb #4");
395 COMPARE(add(x18, x19, Operand(x20, SXTB, 3)), "add x18, x19, w20, sxtb #3");
396 COMPARE(adds(w21, w22, Operand(w23, SXTH, 2)), "adds w21, w22, w23, sxth #2");
397 COMPARE(add(x24, x25, Operand(x26, SXTW, 1)), "add x24, x25, w26, sxtw #1");
398 COMPARE(adds(cp, jssp, Operand(fp, SXTX)), "adds cp, jssp, fp, sxtx");
399 COMPARE(cmn(w0, Operand(w1, UXTB, 2)), "cmn w0, w1, uxtb #2");
400 COMPARE(cmn(x2, Operand(x3, SXTH, 4)), "cmn x2, w3, sxth #4");
402 COMPARE(add(w0, wcsp, Operand(w1, UXTB)), "add w0, wcsp, w1, uxtb");
403 COMPARE(add(x2, csp, Operand(x3, UXTH, 1)), "add x2, csp, w3, uxth #1");
404 COMPARE(add(wcsp, wcsp, Operand(w4, UXTW, 2)), "add wcsp, wcsp, w4, lsl #2");
405 COMPARE(cmn(csp, Operand(xzr, UXTX, 3)), "cmn csp, xzr, lsl #3");
406 COMPARE(cmn(csp, Operand(xzr, LSL, 4)), "cmn csp, xzr, lsl #4");
415 COMPARE(sub(w0, w1, Operand(w2, UXTB)), "sub w0, w1, w2, uxtb");
416 COMPARE(subs(x3, x4, Operand(w5, UXTB, 1)), "subs x3, x4, w5, uxtb #1");
417 COMPARE(sub(w6, w7, Operand(w8, UXTH, 2)), "sub w6, w7, w8, uxth #2");
418 COMPARE(subs(x9, x10, Operand(x11, UXTW, 3)), "subs x9, x10, w11, uxtw #3");
419 COMPARE(sub(x12, x13, Operand(x14, UXTX, 4)), "sub x12, x13, x14, uxtx #4");
420 COMPARE(subs(w15, w16, Operand(w17, SXTB, 4)), "subs w15, w16, w17, sxtb #4");
421 COMPARE(sub(x18, x19, Operand(x20, SXTB, 3)), "sub x18, x19, w20, sxtb #3");
422 COMPARE(subs(w21, w22, Operand(w23, SXTH, 2)), "subs w21, w22, w23, sxth #2");
423 COMPARE(sub(x24, x25, Operand(x26, SXTW, 1)), "sub x24, x25, w26, sxtw #1");
424 COMPARE(subs(cp, jssp, Operand(fp, SXTX)), "subs cp, jssp, fp, sxtx");
425 COMPARE(cmp(w0, Operand(w1, SXTB, 1)), "cmp w0, w1, sxtb #1");
426 COMPARE(cmp(x2, Operand(x3, UXTH, 3)), "cmp x2, w3, uxth #3");
428 COMPARE(sub(w0, wcsp, Operand(w1, UXTB)), "sub w0, wcsp, w1, uxtb");
429 COMPARE(sub(x2, csp, Operand(x3, UXTH, 1)), "sub x2, csp, w3, uxth #1");
430 COMPARE(sub(wcsp, wcsp, Operand(w4, UXTW, 2)), "sub wcsp, wcsp, w4, lsl #2");
431 COMPARE(cmp(csp, Operand(xzr, UXTX, 3)), "cmp csp, xzr, lsl #3");
432 COMPARE(cmp(csp, Operand(xzr, LSL, 4)), "cmp csp, xzr, lsl #4");
441 COMPARE(adc(w0, w1, Operand(w2)), "adc w0, w1, w2");
442 COMPARE(adc(x3, x4, Operand(x5)), "adc x3, x4, x5");
443 COMPARE(adcs(w6, w7, Operand(w8)), "adcs w6, w7, w8");
444 COMPARE(adcs(x9, x10, Operand(x11)), "adcs x9, x10, x11");
445 COMPARE(sbc(w12, w13, Operand(w14)), "sbc w12, w13, w14");
446 COMPARE(sbc(x15, x16, Operand(x17)), "sbc x15, x16, x17");
447 COMPARE(sbcs(w18, w19, Operand(w20)), "sbcs w18, w19, w20");
448 COMPARE(sbcs(x21, x22, Operand(x23)), "sbcs x21, x22, x23");
449 COMPARE(ngc(w24, Operand(w25)), "ngc w24, w25");
450 COMPARE(ngc(x26, Operand(cp)), "ngc x26, cp");
451 COMPARE(ngcs(w28, Operand(w29)), "ngcs w28, w29");
452 COMPARE(ngcs(lr, Operand(x0)), "ngcs lr, x0");
594 COMPARE(and_(x0, x0, Operand(value)), result);
602 COMPARE(and_(x0, x0, Operand(value)), result);
610 COMPARE(and_(x0, x0, Operand(value)), result);
618 COMPARE(and_(x0, x0, Operand(value)), result);
626 COMPARE(and_(x0, x0, Operand(value)), result);
631 COMPARE(and_(x0, x0, Operand(0x5555555555555555L)),
633 COMPARE(and_(x0, x0, Operand(0xaaaaaaaaaaaaaaaaL)),
637 COMPARE(and_(w0, w0, Operand(0xff8007ff)),
639 COMPARE(and_(w0, w0, Operand(0xf87ff87f)),
641 COMPARE(and_(w0, w0, Operand(0x87878787)),
643 COMPARE(and_(w0, w0, Operand(0x66666666)),
645 COMPARE(and_(w0, w0, Operand(0x55555555)),
649 COMPARE(tst(w1, Operand(0x11111111)),
651 COMPARE(tst(x2, Operand(0x8888888888888888L)),
653 COMPARE(orr(w7, w8, Operand(0xaaaaaaaa)),
655 COMPARE(orr(x9, x10, Operand(0x5555555555555555L)),
657 COMPARE(eor(w15, w16, Operand(0x00000001)),
659 COMPARE(eor(x17, x18, Operand(0x0000000000000003L)),
661 COMPARE(ands(w23, w24, Operand(0x0000000f)), "ands w23, w24, #0xf");
662 COMPARE(ands(x25, x26, Operand(0x800000000000000fL)),
666 COMPARE(bic(w3, w4, Operand(0x20202020)),
668 COMPARE(bic(x5, x6, Operand(0x4040404040404040L)),
670 COMPARE(orn(w11, w12, Operand(0x40004000)),
672 COMPARE(orn(x13, x14, Operand(0x8181818181818181L)),
674 COMPARE(eon(w19, w20, Operand(0x80000001)),
676 COMPARE(eon(x21, x22, Operand(0xc000000000000003L)),
678 COMPARE(bics(w27, w28, Operand(0xfffffff7)), "ands w27, w28, #0x8");
679 COMPARE(bics(fp, x0, Operand(0xfffffffeffffffffL)),
683 COMPARE(and_(wcsp, wzr, Operand(7)), "and wcsp, wzr, #0x7");
684 COMPARE(ands(xzr, xzr, Operand(7)), "tst xzr, #0x7");
685 COMPARE(orr(csp, xzr, Operand(15)), "orr csp, xzr, #0xf");
686 COMPARE(eor(wcsp, w0, Operand(31)), "eor wcsp, w0, #0x1f");
689 COMPARE(orr(w0, wzr, Operand(0x00000780)), "orr w0, wzr, #0x780");
690 COMPARE(orr(w1, wzr, Operand(0x00007800)), "orr w1, wzr, #0x7800");
691 COMPARE(orr(w2, wzr, Operand(0x00078000)), "mov w2, #0x78000");
692 COMPARE(orr(w3, wzr, Operand(0x00780000)), "orr w3, wzr, #0x780000");
693 COMPARE(orr(w4, wzr, Operand(0x07800000)), "orr w4, wzr, #0x7800000");
694 COMPARE(orr(x5, xzr, Operand(0xffffffffffffc001UL)),
696 COMPARE(orr(x6, xzr, Operand(0xfffffffffffc001fUL)),
698 COMPARE(orr(x7, xzr, Operand(0xffffffffffc001ffUL)),
700 COMPARE(orr(x8, xzr, Operand(0xfffffffffc001fffUL)),
702 COMPARE(orr(x9, xzr, Operand(0xffffffffc001ffffUL)),
712 COMPARE(and_(w0, w1, Operand(w2)), "and w0, w1, w2");
713 COMPARE(and_(x3, x4, Operand(x5, LSL, 1)), "and x3, x4, x5, lsl #1");
714 COMPARE(and_(w6, w7, Operand(w8, LSR, 2)), "and w6, w7, w8, lsr #2");
715 COMPARE(and_(x9, x10, Operand(x11, ASR, 3)), "and x9, x10, x11, asr #3");
716 COMPARE(and_(w12, w13, Operand(w14, ROR, 4)), "and w12, w13, w14, ror #4");
718 COMPARE(bic(w15, w16, Operand(w17)), "bic w15, w16, w17");
719 COMPARE(bic(x18, x19, Operand(x20, LSL, 5)), "bic x18, x19, x20, lsl #5");
720 COMPARE(bic(w21, w22, Operand(w23, LSR, 6)), "bic w21, w22, w23, lsr #6");
721 COMPARE(bic(x24, x25, Operand(x26, ASR, 7)), "bic x24, x25, x26, asr #7");
722 COMPARE(bic(w27, w28, Operand(w29, ROR, 8)), "bic w27, w28, w29, ror #8");
724 COMPARE(orr(w0, w1, Operand(w2)), "orr w0, w1, w2");
725 COMPARE(orr(x3, x4, Operand(x5, LSL, 9)), "orr x3, x4, x5, lsl #9");
726 COMPARE(orr(w6, w7, Operand(w8, LSR, 10)), "orr w6, w7, w8, lsr #10");
727 COMPARE(orr(x9, x10, Operand(x11, ASR, 11)), "orr x9, x10, x11, asr #11");
728 COMPARE(orr(w12, w13, Operand(w14, ROR, 12)), "orr w12, w13, w14, ror #12");
730 COMPARE(orn(w15, w16, Operand(w17)), "orn w15, w16, w17");
731 COMPARE(orn(x18, x19, Operand(x20, LSL, 13)), "orn x18, x19, x20, lsl #13");
732 COMPARE(orn(w21, w22, Operand(w23, LSR, 14)), "orn w21, w22, w23, lsr #14");
733 COMPARE(orn(x24, x25, Operand(x26, ASR, 15)), "orn x24, x25, x26, asr #15");
734 COMPARE(orn(w27, w28, Operand(w29, ROR, 16)), "orn w27, w28, w29, ror #16");
736 COMPARE(eor(w0, w1, Operand(w2)), "eor w0, w1, w2");
737 COMPARE(eor(x3, x4, Operand(x5, LSL, 17)), "eor x3, x4, x5, lsl #17");
738 COMPARE(eor(w6, w7, Operand(w8, LSR, 18)), "eor w6, w7, w8, lsr #18");
739 COMPARE(eor(x9, x10, Operand(x11, ASR, 19)), "eor x9, x10, x11, asr #19");
740 COMPARE(eor(w12, w13, Operand(w14, ROR, 20)), "eor w12, w13, w14, ror #20");
742 COMPARE(eon(w15, w16, Operand(w17)), "eon w15, w16, w17");
743 COMPARE(eon(x18, x19, Operand(x20, LSL, 21)), "eon x18, x19, x20, lsl #21");
744 COMPARE(eon(w21, w22, Operand(w23, LSR, 22)), "eon w21, w22, w23, lsr #22");
745 COMPARE(eon(x24, x25, Operand(x26, ASR, 23)), "eon x24, x25, x26, asr #23");
746 COMPARE(eon(w27, w28, Operand(w29, ROR, 24)), "eon w27, w28, w29, ror #24");
748 COMPARE(ands(w0, w1, Operand(w2)), "ands w0, w1, w2");
749 COMPARE(ands(x3, x4, Operand(x5, LSL, 1)), "ands x3, x4, x5, lsl #1");
750 COMPARE(ands(w6, w7, Operand(w8, LSR, 2)), "ands w6, w7, w8, lsr #2");
751 COMPARE(ands(x9, x10, Operand(x11, ASR, 3)), "ands x9, x10, x11, asr #3");
752 COMPARE(ands(w12, w13, Operand(w14, ROR, 4)), "ands w12, w13, w14, ror #4");
754 Operand(w17)), "bics w15, w16, w17");
755 COMPARE(bics(x18, x19, Operand(x20, LSL, 5)), "bics x18, x19, x20, lsl #5");
756 COMPARE(bics(w21, w22, Operand(w23, LSR, 6)), "bics w21, w22, w23, lsr #6");
757 COMPARE(bics(x24, x25, Operand(x26, ASR, 7)), "bics x24, x25, x26, asr #7");
758 COMPARE(bics(w27, w28, Operand(w29, ROR, 8)), "bics w27, w28, w29, ror #8");
760 COMPARE(tst(w0, Operand(w1)), "tst w0, w1");
761 COMPARE(tst(w2, Operand(w3, ROR, 10)), "tst w2, w3, ror #10");
762 COMPARE(tst(x0, Operand(x1)), "tst x0, x1");
763 COMPARE(tst(x2, Operand(x3, ROR, 42)), "tst x2, x3, ror #42");
765 COMPARE(orn(w0, wzr, Operand(w1)), "mvn w0, w1");
766 COMPARE(orn(w2, wzr, Operand(w3, ASR, 5)), "mvn w2, w3, asr #5");
767 COMPARE(orn(x0, xzr, Operand(x1)), "mvn x0, x1");
768 COMPARE(orn(x2, xzr, Operand(x3, ASR, 42)), "mvn x2, x3, asr #42");
770 COMPARE(orr(w0, wzr, Operand(w1)), "mov w0, w1");
771 COMPARE(orr(x0, xzr, Operand(x1)), "mov x0, x1");
772 COMPARE(orr(w16, wzr, Operand(w17, LSL, 1)), "orr w16, wzr, w17, lsl #1");
773 COMPARE(orr(x16, xzr, Operand(x17, ASR, 2)), "orr x16, xzr, x17, asr #2");