Home | History | Annotate | Download | only in cctest

Lines Matching refs:And

2 // Redistribution and use in source and binary forms, with or without
7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
118 // Instructions generated by C compiler, disassembled by objdump, and
593 snprintf(result, RESULT_SIZE, "and x0, x0, #0x%" PRIx64, value);
601 snprintf(result, RESULT_SIZE, "and x0, x0, #0x%" PRIx64, value);
609 snprintf(result, RESULT_SIZE, "and x0, x0, #0x%" PRIx64, value);
617 snprintf(result, RESULT_SIZE, "and x0, x0, #0x%" PRIx64, value);
625 snprintf(result, RESULT_SIZE, "and x0, x0, #0x%" PRIx64, value);
632 "and x0, x0, #0x5555555555555555");
634 "and x0, x0, #0xaaaaaaaaaaaaaaaa");
638 "and w0, w0, #0xff8007ff"); // 32-bit pattern.
640 "and w0, w0, #0xf87ff87f"); // 16-bit pattern.
642 "and w0, w0, #0x87878787"); // 8-bit pattern.
644 "and w0, w0, #0x66666666"); // 4-bit pattern.
646 "and w0, w0, #0x55555555"); // 2-bit pattern.
667 "and w3, w4, #0xdfdfdfdf");
669 "and x5, x6, #0xbfbfbfbfbfbfbfbf");
683 COMPARE(and_(wcsp, wzr, Operand(7)), "and wcsp, wzr, #0x7");
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");
1622 // All debug codes should produce the same instruction, and the debug code
1692 COMPARE(And(w0, w1, 0), "movz w0, #0x0");
1693 COMPARE(And(x0, x1, 0), "movz x0, #0x0");
1705 COMPARE(And(w12, w13, 0xffffffff), "mov w12, w13");
1706 COMPARE(And(x12, x13, 0xffffffff), "and x12, x13, #0xffffffff");
1707 COMPARE(And(x12, x13, 0xffffffffffffffff), "mov x12, x13");
1715 COMPARE(Bic(x18, x19, 0xffffffff), "and x18, x19, #0xffffffff00000000");