Home | History | Annotate | Download | only in test

Lines Matching refs:Operand

111   COMPARE(Mov(w0, Operand(0x1234)), "movz w0, #0x1234");
112 COMPARE(Mov(x1, Operand(0x1234)), "movz x1, #0x1234");
113 COMPARE(Mov(w2, Operand(w3)), "mov w2, w3");
114 COMPARE(Mov(x4, Operand(x5)), "mov x4, x5");
115 COMPARE(Mov(w6, Operand(w7, LSL, 5)), "lsl w6, w7, #5");
116 COMPARE(Mov(x8, Operand(x9, ASR, 42)), "asr x8, x9, #42");
117 COMPARE(Mov(w10, Operand(w11, UXTB)), "uxtb w10, w11");
118 COMPARE(Mov(x12, Operand(x13, UXTB, 1)), "ubfiz x12, x13, #1, #8");
119 COMPARE(Mov(w14, Operand(w15, SXTH, 2)), "sbfiz w14, w15, #2, #16");
120 COMPARE(Mov(x16, Operand(x17, SXTW, 3)), "sbfiz x16, x17, #3, #32");
122 COMPARE(Mvn(w0, Operand(0x101)), "movn w0, #0x101");
123 COMPARE(Mvn(x1, Operand(0xfff1)), "movn x1, #0xfff1");
124 COMPARE(Mvn(w2, Operand(w3)), "mvn w2, w3");
125 COMPARE(Mvn(x4, Operand(x5)), "mvn x4, x5");
126 COMPARE(Mvn(w6, Operand(w7, LSL, 12)), "mvn w6, w7, lsl #12");
127 COMPARE(Mvn(x8, Operand(x9, ASR, 63)), "mvn x8, x9, asr #63");
226 COMPARE(add(w0, w1, Operand(0xff)), "add w0, w1, #0xff (255)");
227 COMPARE(add(x2, x3, Operand(0x3ff)), "add x2, x3, #0x3ff (1023)");
228 COMPARE(add(w4, w5, Operand(0xfff)), "add w4, w5, #0xfff (4095)");
229 COMPARE(add(x6, x7, Operand(0x1000)), "add x6, x7, #0x1000 (4096)");
230 COMPARE(add(w8, w9, Operand(0xff000)), "add w8, w9, #0xff000 (1044480)");
231 COMPARE(add(x10, x11, Operand(0x3ff000)),
233 COMPARE(add(w12, w13, Operand(0xfff000)),
235 COMPARE(adds(w14, w15, Operand(0xff)), "adds w14, w15, #0xff (255)");
236 COMPARE(adds(x16, x17, Operand(0xaa000)), "adds x16, x17, #0xaa000 (696320)");
238 COMPARE(cmn(w18, Operand(0xff)), "cmn w18, #0xff (255)");
239 COMPARE(cmn(x19, Operand(0xff000)), "cmn x19, #0xff000 (1044480)");
240 COMPARE(add(w0, wsp, Operand(0)), "mov w0, wsp");
241 COMPARE(add(sp, x0, Operand(0)), "mov sp, x0");
243 COMPARE(add(w1, wsp, Operand(8)), "add w1, wsp, #0x8 (8)");
244 COMPARE(add(x2, sp, Operand(16)), "add x2, sp, #0x10 (16)");
245 COMPARE(add(wsp, wsp, Operand(42)), "add wsp, wsp, #0x2a (42)");
246 COMPARE(cmn(sp, Operand(24)), "cmn sp, #0x18 (24)");
247 COMPARE(adds(wzr, wsp, Operand(9)), "cmn wsp, #0x9 (9)");
255 COMPARE(sub(w0, w1, Operand(0xff)), "sub w0, w1, #0xff (255)");
256 COMPARE(sub(x2, x3, Operand(0x3ff)), "sub x2, x3, #0x3ff (1023)");
257 COMPARE(sub(w4, w5, Operand(0xfff)), "sub w4, w5, #0xfff (4095)");
258 COMPARE(sub(x6, x7, Operand(0x1000)), "sub x6, x7, #0x1000 (4096)");
259 COMPARE(sub(w8, w9, Operand(0xff000)), "sub w8, w9, #0xff000 (1044480)");
260 COMPARE(sub(x10, x11, Operand(0x3ff000)),
262 COMPARE(sub(w12, w13, Operand(0xfff000)),
264 COMPARE(subs(w14, w15, Operand(0xff)), "subs w14, w15, #0xff (255)");
265 COMPARE(subs(x16, x17, Operand(0xaa000)), "subs x16, x17, #0xaa000 (696320)");
266 COMPARE(cmp(w18, Operand(0xff)), "cmp w18, #0xff (255)");
267 COMPARE(cmp(x19, Operand(0xff000)), "cmp x19, #0xff000 (1044480)");
269 COMPARE(sub(w1, wsp, Operand(8)), "sub w1, wsp, #0x8 (8)");
270 COMPARE(sub(x2, sp, Operand(16)), "sub x2, sp, #0x10 (16)");
271 COMPARE(sub(wsp, wsp, Operand(42)), "sub wsp, wsp, #0x2a (42)");
272 COMPARE(cmp(sp, Operand(24)), "cmp sp, #0x18 (24)");
273 COMPARE(subs(wzr, wsp, Operand(9)), "cmp wsp, #0x9 (9)");
282 COMPARE(add(w0, w1, Operand(w2)), "add w0, w1, w2");
283 COMPARE(add(x3, x4, Operand(x5)), "add x3, x4, x5");
284 COMPARE(add(w6, w7, Operand(w8, LSL, 1)), "add w6, w7, w8, lsl #1");
285 COMPARE(add(x9, x10, Operand(x11, LSL, 2)), "add x9, x10, x11, lsl #2");
286 COMPARE(add(w12, w13, Operand(w14, LSR, 3)), "add w12, w13, w14, lsr #3");
287 COMPARE(add(x15, x16, Operand(x17, LSR, 4)), "add x15, x16, x17, lsr #4");
288 COMPARE(add(w18, w19, Operand(w20, ASR, 5)), "add w18, w19, w20, asr #5");
289 COMPARE(add(x21, x22, Operand(x23, ASR, 6)), "add x21, x22, x23, asr #6");
290 COMPARE(cmn(w24, Operand(w25)), "cmn w24, w25");
291 COMPARE(cmn(x26, Operand(x27, LSL, 63)), "cmn x26, x27, lsl #63");
293 COMPARE(add(x0, sp, Operand(x1)), "add x0, sp, x1");
294 COMPARE(add(w2, wsp, Operand(w3)), "add w2, wsp, w3");
295 COMPARE(add(x4, sp, Operand(x5, LSL, 1)), "add x4, sp, x5, lsl #1");
296 COMPARE(add(x4, xzr, Operand(x5, LSL, 1)), "add x4, xzr, x5, lsl #1");
297 COMPARE(add(w6, wsp, Operand(w7, LSL, 3)), "add w6, wsp, w7, lsl #3");
298 COMPARE(adds(xzr, sp, Operand(x8, LSL, 4)), "cmn sp, x8, lsl #4");
299 COMPARE(adds(xzr, xzr, Operand(x8, LSL, 5)), "cmn xzr, x8, lsl #5");
308 COMPARE(sub(w0, w1, Operand(w2)), "sub w0, w1, w2");
309 COMPARE(sub(x3, x4, Operand(x5)), "sub x3, x4, x5");
310 COMPARE(sub(w6, w7, Operand(w8, LSL, 1)), "sub w6, w7, w8, lsl #1");
311 COMPARE(sub(x9, x10, Operand(x11, LSL, 2)), "sub x9, x10, x11, lsl #2");
312 COMPARE(sub(w12, w13, Operand(w14, LSR, 3)), "sub w12, w13, w14, lsr #3");
313 COMPARE(sub(x15, x16, Operand(x17, LSR, 4)), "sub x15, x16, x17, lsr #4");
314 COMPARE(sub(w18, w19, Operand(w20, ASR, 5)), "sub w18, w19, w20, asr #5");
315 COMPARE(sub(x21, x22, Operand(x23, ASR, 6)), "sub x21, x22, x23, asr #6");
316 COMPARE(cmp(w24, Operand(w25)), "cmp w24, w25");
317 COMPARE(cmp(x26, Operand(x27, LSL, 63)), "cmp x26, x27, lsl #63");
318 COMPARE(neg(w28, Operand(w29)), "neg w28, w29");
319 COMPARE(neg(x30, Operand(x0, LSR, 62)), "neg x30, x0, lsr #62");
320 COMPARE(negs(w1, Operand(w2)), "negs w1, w2");
321 COMPARE(negs(x3, Operand(x4, ASR, 61)), "negs x3, x4, asr #61");
323 COMPARE(sub(x0, sp, Operand(x1)), "sub x0, sp, x1");
324 COMPARE(sub(w2, wsp, Operand(w3)), "sub w2, wsp, w3");
325 COMPARE(sub(x4, sp, Operand(x5, LSL, 1)), "sub x4, sp, x5, lsl #1");
326 COMPARE(sub(x4, xzr, Operand(x5, LSL, 1)), "neg x4, x5, lsl #1");
327 COMPARE(sub(w6, wsp, Operand(w7, LSL, 3)), "sub w6, wsp, w7, lsl #3");
328 COMPARE(subs(xzr, sp, Operand(x8, LSL, 4)), "cmp sp, x8, lsl #4");
329 COMPARE(subs(xzr, xzr, Operand(x8, LSL, 5)), "cmp xzr, x8, lsl #5");
338 COMPARE(add(w0, w1, Operand(w2, UXTB)), "add w0, w1, w2, uxtb");
339 COMPARE(adds(x3, x4, Operand(w5, UXTB, 1)), "adds x3, x4, w5, uxtb #1");
340 COMPARE(add(w6, w7, Operand(w8, UXTH, 2)), "add w6, w7, w8, uxth #2");
341 COMPARE(adds(x9, x10, Operand(x11, UXTW, 3)), "adds x9, x10, w11, uxtw #3");
342 COMPARE(add(x12, x13, Operand(x14, UXTX, 4)), "add x12, x13, x14, uxtx #4");
343 COMPARE(adds(w15, w16, Operand(w17, SXTB, 4)), "adds w15, w16, w17, sxtb #4");
344 Operand(x20, SXTB, 3)), "add x18, x19, w20, sxtb #3");
345 COMPARE(adds(w21, w22, Operand(w23, SXTH, 2)), "adds w21, w22, w23, sxth #2");
346 COMPARE(add(x24, x25, Operand(x26, SXTW, 1)), "add x24, x25, w26, sxtw #1");
347 COMPARE(adds(x27, x28, Operand(x29, SXTX)), "adds x27, x28, x29, sxtx");
348 COMPARE(cmn(w0, Operand(w1, UXTB, 2)), "cmn w0, w1, uxtb #2");
349 COMPARE(cmn(x2, Operand(x3, SXTH, 4)), "cmn x2, w3, sxth #4");
351 COMPARE(add(w0, wsp, Operand(w1, UXTB)), "add w0, wsp, w1, uxtb");
352 COMPARE(add(x2, sp, Operand(x3, UXTH, 1)), "add x2, sp, w3, uxth #1");
353 COMPARE(add(wsp, wsp, Operand(w4, UXTW, 2)), "add wsp, wsp, w4, lsl #2");
354 COMPARE(cmn(sp, Operand(xzr, UXTX, 3)), "cmn sp, xzr, lsl #3");
355 COMPARE(cmn(sp, Operand(xzr, LSL, 4)), "cmn sp, xzr, lsl #4");
364 COMPARE(sub(w0, w1, Operand(w2, UXTB)), "sub w0, w1, w2, uxtb");
365 COMPARE(subs(x3, x4, Operand(w5, UXTB, 1)), "subs x3, x4, w5, uxtb #1");
366 COMPARE(sub(w6, w7, Operand(w8, UXTH, 2)), "sub w6, w7, w8, uxth #2");
367 COMPARE(subs(x9, x10, Operand(x11, UXTW, 3)), "subs x9, x10, w11, uxtw #3");
368 COMPARE(sub(x12, x13, Operand(x14, UXTX, 4)), "sub x12, x13, x14, uxtx #4");
369 COMPARE(subs(w15, w16, Operand(w17, SXTB, 4)), "subs w15, w16, w17, sxtb #4");
370 COMPARE(sub(x18, x19, Operand(x20, SXTB, 3)), "sub x18, x19, w20, sxtb #3");
371 COMPARE(subs(w21, w22, Operand(w23, SXTH, 2)), "subs w21, w22, w23, sxth #2");
372 COMPARE(sub(x24, x25, Operand(x26, SXTW, 1)), "sub x24, x25, w26, sxtw #1");
373 COMPARE(subs(x27, x28, Operand(x29, SXTX)), "subs x27, x28, x29, sxtx");
374 COMPARE(cmp(w0, Operand(w1, SXTB, 1)), "cmp w0, w1, sxtb #1");
375 COMPARE(cmp(x2, Operand(x3, UXTH, 3)), "cmp x2, w3, uxth #3");
377 COMPARE(sub(w0, wsp, Operand(w1, UXTB)), "sub w0, wsp, w1, uxtb");
378 COMPARE(sub(x2, sp, Operand(x3, UXTH, 1)), "sub x2, sp, w3, uxth #1");
379 COMPARE(sub(wsp, wsp, Operand(w4, UXTW, 2)), "sub wsp, wsp, w4, lsl #2");
380 COMPARE(cmp(sp, Operand(xzr, UXTX, 3)), "cmp sp, xzr, lsl #3");
381 COMPARE(cmp(sp, Operand(xzr, LSL, 4)), "cmp sp, xzr, lsl #4");
390 COMPARE(adc(w0, w1, Operand(w2)), "adc w0, w1, w2");
391 COMPARE(adc(x3, x4, Operand(x5)), "adc x3, x4, x5");
392 COMPARE(adcs(w6, w7, Operand(w8)), "adcs w6, w7, w8");
393 COMPARE(adcs(x9, x10, Operand(x11)), "adcs x9, x10, x11");
394 COMPARE(sbc(w12, w13, Operand(w14)), "sbc w12, w13, w14");
395 COMPARE(sbc(x15, x16, Operand(x17)), "sbc x15, x16, x17");
396 COMPARE(sbcs(w18, w19, Operand(w20)), "sbcs w18, w19, w20");
397 COMPARE(sbcs(x21, x22, Operand(x23)), "sbcs x21, x22, x23");
398 COMPARE(ngc(w24, Operand(w25)), "ngc w24, w25");
399 COMPARE(ngc(x26, Operand(x27)), "ngc x26, x27");
400 COMPARE(ngcs(w28, Operand(w29)), "ngcs w28, w29");
401 COMPARE(ngcs(x30, Operand(x0)), "ngcs x30, x0");
551 COMPARE(and_(x0, x0, Operand(value)), result);
559 COMPARE(and_(x0, x0, Operand(value)), result);
567 COMPARE(and_(x0, x0, Operand(value)), result);
575 COMPARE(and_(x0, x0, Operand(value)), result);
583 COMPARE(and_(x0, x0, Operand(value)), result);
588 COMPARE(and_(x0, x0, Operand(0x5555555555555555)),
590 COMPARE(and_(x0, x0, Operand(0xaaaaaaaaaaaaaaaa)),
594 COMPARE(and_(w0, w0, Operand(0xff8007ff)),
596 COMPARE(and_(w0, w0, Operand(0xf87ff87f)),
598 COMPARE(and_(w0, w0, Operand(0x87878787)),
600 COMPARE(and_(w0, w0, Operand(0x66666666)),
602 COMPARE(and_(w0, w0, Operand(0x55555555)),
606 COMPARE(tst(w1, Operand(0x11111111)),
608 COMPARE(tst(x2, Operand(0x8888888888888888)),
610 COMPARE(orr(w7, w8, Operand(0xaaaaaaaa)),
612 COMPARE(orr(x9, x10, Operand(0x5555555555555555)),
614 COMPARE(eor(w15, w16, Operand(0x00000001)),
616 COMPARE(eor(x17, x18, Operand(0x0000000000000003)),
618 COMPARE(ands(w23, w24, Operand(0x0000000f)), "ands w23, w24, #0xf");
619 COMPARE(ands(x25, x26, Operand(0x800000000000000f)),
623 COMPARE(bic(w3, w4, Operand(0x20202020)),
625 COMPARE(bic(x5, x6, Operand(0x4040404040404040)),
627 COMPARE(orn(w11, w12, Operand(0x40004000)),
629 COMPARE(orn(x13, x14, Operand(0x8181818181818181)),
631 COMPARE(eon(w19, w20, Operand(0x80000001)),
633 COMPARE(eon(x21, x22, Operand(0xc000000000000003)),
635 COMPARE(bics(w27, w28, Operand(0xfffffff7)), "ands w27, w28, #0x8");
636 COMPARE(bics(x29, x0, Operand(0xfffffffeffffffff)),
640 COMPARE(and_(wsp, wzr, Operand(7)), "and wsp, wzr, #0x7");
641 COMPARE(ands(xzr, xzr, Operand(7)), "tst xzr, #0x7");
642 COMPARE(orr(sp, xzr, Operand(15)), "orr sp, xzr, #0xf");
643 COMPARE(eor(wsp, w0, Operand(31)), "eor wsp, w0, #0x1f");
646 COMPARE(orr(w0, wzr, Operand(0x00000780)), "orr w0, wzr, #0x780");
647 COMPARE(orr(w1, wzr, Operand(0x00007800)), "orr w1, wzr, #0x7800");
648 COMPARE(orr(w2, wzr, Operand(0x00078000)), "mov w2, #0x78000");
649 COMPARE(orr(w3, wzr, Operand(0x00780000)), "orr w3, wzr, #0x780000");
650 COMPARE(orr(w4, wzr, Operand(0x07800000)), "orr w4, wzr, #0x7800000");
651 COMPARE(orr(x5, xzr, Operand(0xffffffffffffc001)),
653 COMPARE(orr(x6, xzr, Operand(0xfffffffffffc001f)),
655 COMPARE(orr(x7, xzr, Operand(0xffffffffffc001ff)),
657 COMPARE(orr(x8, xzr, Operand(0xfffffffffc001fff)),
659 COMPARE(orr(x9, xzr, Operand(0xffffffffc001ffff)),
669 COMPARE(and_(w0, w1, Operand(w2)), "and w0, w1, w2");
670 COMPARE(and_(x3, x4, Operand(x5, LSL, 1)), "and x3, x4, x5, lsl #1");
671 COMPARE(and_(w6, w7, Operand(w8, LSR, 2)), "and w6, w7, w8, lsr #2");
672 COMPARE(and_(x9, x10, Operand(x11, ASR, 3)), "and x9, x10, x11, asr #3");
673 COMPARE(and_(w12, w13, Operand(w14, ROR, 4)), "and w12, w13, w14, ror #4");
675 COMPARE(bic(w15, w16, Operand(w17)), "bic w15, w16, w17");
676 COMPARE(bic(x18, x19, Operand(x20, LSL, 5)), "bic x18, x19, x20, lsl #5");
677 COMPARE(bic(w21, w22, Operand(w23, LSR, 6)), "bic w21, w22, w23, lsr #6");
678 COMPARE(bic(x24, x25, Operand(x26, ASR, 7)), "bic x24, x25, x26, asr #7");
679 COMPARE(bic(w27, w28, Operand(w29, ROR, 8)), "bic w27, w28, w29, ror #8");
681 COMPARE(orr(w0, w1, Operand(w2)), "orr w0, w1, w2");
682 COMPARE(orr(x3, x4, Operand(x5, LSL, 9)), "orr x3, x4, x5, lsl #9");
683 COMPARE(orr(w6, w7, Operand(w8, LSR, 10)), "orr w6, w7, w8, lsr #10");
684 COMPARE(orr(x9, x10, Operand(x11, ASR, 11)), "orr x9, x10, x11, asr #11");
685 COMPARE(orr(w12, w13, Operand(w14, ROR, 12)), "orr w12, w13, w14, ror #12");
687 COMPARE(orn(w15, w16, Operand(w17)), "orn w15, w16, w17");
688 COMPARE(orn(x18, x19, Operand(x20, LSL, 13)), "orn x18, x19, x20, lsl #13");
689 COMPARE(orn(w21, w22, Operand(w23, LSR, 14)), "orn w21, w22, w23, lsr #14");
690 COMPARE(orn(x24, x25, Operand(x26, ASR, 15)), "orn x24, x25, x26, asr #15");
691 COMPARE(orn(w27, w28, Operand(w29, ROR, 16)), "orn w27, w28, w29, ror #16");
693 COMPARE(eor(w0, w1, Operand(w2)), "eor w0, w1, w2");
694 COMPARE(eor(x3, x4, Operand(x5, LSL, 17)), "eor x3, x4, x5, lsl #17");
695 COMPARE(eor(w6, w7, Operand(w8, LSR, 18)), "eor w6, w7, w8, lsr #18");
696 COMPARE(eor(x9, x10, Operand(x11, ASR, 19)), "eor x9, x10, x11, asr #19");
697 COMPARE(eor(w12, w13, Operand(w14, ROR, 20)), "eor w12, w13, w14, ror #20");
699 COMPARE(eon(w15, w16, Operand(w17)), "eon w15, w16, w17");
700 COMPARE(eon(x18, x19, Operand(x20, LSL, 21)), "eon x18, x19, x20, lsl #21");
701 COMPARE(eon(w21, w22, Operand(w23, LSR, 22)), "eon w21, w22, w23, lsr #22");
702 COMPARE(eon(x24, x25, Operand(x26, ASR, 23)), "eon x24, x25, x26, asr #23");
703 COMPARE(eon(w27, w28, Operand(w29, ROR, 24)), "eon w27, w28, w29, ror #24");
705 COMPARE(ands(w0, w1, Operand(w2)), "ands w0, w1, w2");
706 COMPARE(ands(x3, x4, Operand(x5, LSL, 1)), "ands x3, x4, x5, lsl #1");
707 COMPARE(ands(w6, w7, Operand(w8, LSR, 2)), "ands w6, w7, w8, lsr #2");
708 COMPARE(ands(x9, x10, Operand(x11, ASR, 3)), "ands x9, x10, x11, asr #3");
709 COMPARE(ands(w12, w13, Operand(w14, ROR, 4)), "ands w12, w13, w14, ror #4");
711 COMPARE(bics(w15, w16, Operand(w17)), "bics w15, w16, w17");
712 COMPARE(bics(x18, x19, Operand(x20, LSL, 5)), "bics x18, x19, x20, lsl #5");
713 COMPARE(bics(w21, w22, Operand(w23, LSR, 6)), "bics w21, w22, w23, lsr #6");
714 COMPARE(bics(x24, x25, Operand(x26, ASR, 7)), "bics x24, x25, x26, asr #7");
715 COMPARE(bics(w27, w28, Operand(w29, ROR, 8)), "bics w27, w28, w29, ror #8");
717 COMPARE(tst(w0, Operand(w1)), "tst w0, w1");
718 COMPARE(tst(w2, Operand(w3, ROR, 10)), "tst w2, w3, ror #10");
719 COMPARE(tst(x0, Operand(x1)), "tst x0, x1");
720 COMPARE(tst(x2, Operand(x3, ROR, 42)), "tst x2, x3, ror #42");
722 COMPARE(orn(w0, wzr, Operand(w1)), "mvn w0, w1");
723 COMPARE(orn(w2, wzr, Operand(w3, ASR, 5)), "mvn w2, w3, asr #5");
724 COMPARE(orn(x0, xzr, Operand(x1)), "mvn x0, x1");
725 COMPARE(orn(x2, xzr, Operand(x3, ASR, 42)), "mvn x2, x3, asr #42");
727 COMPARE(orr(w0, wzr, Operand(w1)), "mov w0, w1");
728 COMPARE(orr(x0, xzr, Operand(x1)), "mov x0, x1");
729 COMPARE(orr(w16, wzr, Operand(w17, LSL, 1)), "orr w16, wzr, w17, lsl #1");
730 COMPARE(orr(x16, xzr, Operand(x17, ASR, 2)), "orr x16, xzr, x17, asr #2");