Searched refs:imm8 (Results 1 - 25 of 31) sorted by relevance

12

/external/valgrind/main/none/tests/x86/
H A Dinsn_basic.def21 adcb eflags[0x1,0x0] : imm8[12] al.ub[34] => 1.ub[46]
22 adcb eflags[0x1,0x1] : imm8[12] al.ub[34] => 1.ub[47]
23 adcb eflags[0x1,0x0] : imm8[12] bl.ub[34] => 1.ub[46]
24 adcb eflags[0x1,0x1] : imm8[12] bl.ub[34] => 1.ub[47]
25 adcb eflags[0x1,0x0] : imm8[12] m8.ub[34] => 1.ub[46]
26 adcb eflags[0x1,0x1] : imm8[12] m8.ub[34] => 1.ub[47]
33 adcw eflags[0x1,0x0] : imm8[12] r16.uw[3456] => 1.uw[3468]
34 adcw eflags[0x1,0x1] : imm8[12] r16.uw[3456] => 1.uw[3469]
47 adcl eflags[0x1,0x0] : imm8[12] r32.ud[87654321] => 1.ud[87654333]
48 adcl eflags[0x1,0x1] : imm8[1
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_generic_x87.h127 UInt imm8, Bool isxSTRM );
136 UInt imm8, Bool isxSTRM );
H A Dguest_generic_x87.c775 imm8 is the original immediate from the instruction. isSTRM
779 If the given imm8 case can be handled, the return value is True.
788 UInt imm8, Bool isxSTRM )
790 vassert(imm8 < 0x80);
794 /* Explicitly reject any imm8 values that haven't been validated,
797 switch (imm8) {
807 UInt fmt = (imm8 >> 0) & 3; // imm8[1:0] data format
808 UInt agg = (imm8 >> 2) & 3; // imm8[
784 compute_PCMPxSTRx( V128* resV, UInt* resOSZACP, V128* argLV, V128* argRV, UInt zmaskL, UInt zmaskR, UInt imm8, Bool isxSTRM ) argument
1035 compute_PCMPxSTRx_wide( V128* resV, UInt* resOSZACP, V128* argLV, V128* argRV, UInt zmaskL, UInt zmaskR, UInt imm8, Bool isxSTRM ) argument
[all...]
H A Dguest_amd64_toIR.c7626 /* (sz==4): PSLLgg/PSRAgg/PSRLgg mmxreg by imm8 */
9005 UInt imm8, Bool all_lanes, Int sz )
9007 if (imm8 >= 32) return False;
9010 the supplied imm8. */
9018 switch (imm8) {
9062 /* Don't forget to add test cases to VCMPSS_128_<imm8> in
9127 UInt imm8; local
9137 imm8 = getUChar(delta+1);
9138 if (imm8 >= 8) return delta0; /* FAIL */
9139 Bool ok = findSSECmpOp(&preSwap, &op, &postNot, imm8, all_lane
9002 findSSECmpOp( Bool* preSwapP, IROp* opP, Bool* postNotP, UInt imm8, Bool all_lanes, Int sz ) argument
11232 UInt imm8; local
11287 UInt imm8; local
11334 UInt imm8; local
13889 Int imm8 = 0; local
18400 Int imm8; local
18841 Int imm8; local
18878 Int imm8; local
18914 Int imm8; local
19003 Int imm8; local
19034 UInt imm8; local
19139 Int imm8; local
19172 Int imm8; local
19204 Int imm8; local
19242 Int imm8; local
22785 UInt imm8; local
22895 UInt imm8; local
25894 Int imm8; local
25938 Int imm8 = 0; local
25968 Int imm8 = 0; local
25998 Int imm8 = 0; local
26028 Int imm8 = 0; local
29542 UInt imm8 = 0; local
29581 UInt imm8 = 0; local
29621 UInt imm8 = 0; local
29664 UInt imm8 = 0; local
29694 UInt imm8 = 0; local
29722 UInt imm8 = 0; local
29755 UInt imm8 = 0; local
29793 UInt imm8 = 0; local
30095 UInt imm8; local
30126 UInt imm8; local
30160 UInt imm8; local
30191 UInt imm8; local
30225 UInt imm8; local
30256 UInt imm8; local
30299 UInt imm8; local
30334 UInt imm8; local
30483 Int imm8; local
30518 UInt imm8; local
30693 Int imm8; local
30723 Int imm8; local
30761 Int imm8; local
30792 Int imm8; local
30827 Int imm8; local
30874 Int imm8; local
30910 UInt imm8 = 0; local
31049 UChar imm8; local
[all...]
H A Dhost_arm_defs.h157 ARMam2_RI=3, /* reg +/- imm8 */
233 ARMri84_I84=7, /* imm8 `ror` (2 * imm4) */
243 UShort imm8; member in struct:__anon31830::__anon31831::__anon31832
253 extern ARMRI84* ARMRI84_I84 ( UShort imm8, UShort imm4 );
288 /* imm8 = abcdefgh, B = NOT(b);
313 UInt imm8; member in struct:__anon31839
317 extern ARMNImm* ARMNImm_TI ( UInt type, UInt imm8 );
H A Dguest_arm_toIR.c2458 IRExpr* mk_EA_reg_plusminus_imm8 ( UInt rN, UInt bU, UInt imm8, argument
2463 vassert(imm8 < 0x100);
2465 DIS(buf, "[r%u, #%c%u]", rN, opChar, imm8);
2469 mkU32(imm8) );
2569 UInt imm1, UInt imm3, UInt imm8 )
2573 vassert(imm8 < (1<<8));
2574 UInt i_imm3_a = (imm1 << 4) | (imm3 << 1) | ((imm8 >> 7) & 1);
2575 UInt abcdefgh = imm8;
2576 UInt lbcdefgh = imm8 | 0x80;
2608 UInt imm8 local
13342 UInt imm8 = (INSN(19,16) << 4) | INSN(3,0); local
13358 UInt imm8 = (INSN(19,16) << 4) | INSN(3,0); local
15276 UInt imm8 = ((insn >> 4) & 0xF0) | (insn & 0xF); /* 11:8, 3:0 */ local
16401 UInt imm8 = ((insn >> 4) & 0xF0) | (insn & 0xF); /* 11:8, 3:0 */ local
16847 UInt imm8 = (imm4H << 4) | imm4L; local
16903 UInt imm8 = (imm4H << 4) | imm4L; local
16959 UInt imm8 = (imm4H << 4) | imm4L; local
17065 UInt imm8 = (imm4H << 4) | imm4L; local
18234 UInt imm8 = INSN0(7,0); local
18730 UInt imm8 = INSN0(7,0); local
18742 UInt imm8 = INSN0(7,0); local
18784 UInt imm8 = INSN0(7,0); local
18881 UInt imm8 = INSN0(7,0); local
20021 UInt imm8 = INSN1(7,0); local
20489 UInt imm8 = INSN1(7,0); local
21292 UInt imm8 = INSN1(7,0); local
21357 UInt imm8 = INSN1(7,0); local
21495 UInt imm8 = INSN1(7,0); local
21557 UInt imm8 = INSN1(7,0); local
21580 UInt imm8 = INSN1(7,0); local
21601 UInt imm8 = INSN1(7,0); local
21630 UInt imm8 = INSN1(7,0); local
21659 UInt imm8 = INSN1(7,0); local
21681 UInt imm8 = INSN1(7,0); local
21703 UInt imm8 = INSN1(7,0); local
21728 UInt imm8 = INSN1(7,0); local
21764 UInt imm8 = INSN1(7,0); local
[all...]
H A Dguest_amd64_defs.h194 opc_and_imm contains (4th byte of opcode << 8) | the-imm8-byte so
267 imm8 is the Round Key constant.
277 HWord imm8,
H A Dguest_arm64_toIR.c4989 |imm8| to either a 32-bit value if N is 32 or a 64 bit value if N
4992 static ULong VFPExpandImm ( ULong imm8, Int N ) argument
4994 vassert(imm8 <= 0xFF);
4998 ULong imm8_6 = (imm8 >> 6) & 1;
5002 ULong sign = (imm8 >> 7) & 1;
5004 ULong frac = ((imm8 & 63) << (F-6)) | Replicate(0, F-6);
5017 UInt op, UInt cmode, UInt imm8 )
5021 vassert(imm8 <= 255);
5030 testimm8 = False; imm64 = Replicate32x2(imm8); break;
5032 testimm8 = True; imm64 = Replicate32x2(imm8 <<
5563 UInt imm8 = INSN(20,13); local
5590 UInt imm8 = (INSN(18,16) << 5) | INSN(9,5); local
[all...]
H A Dhost_arm_defs.c437 ARMRI84* ARMRI84_I84 ( UShort imm8, UShort imm4 ) { argument
440 ri84->ARMri84.I84.imm8 = imm8;
442 vassert(imm8 >= 0 && imm8 <= 255);
456 vex_printf("0x%x", ROR32(ri84->ARMri84.I84.imm8,
547 ARMNImm* ARMNImm_TI ( UInt type, UInt imm8 ) {
550 i->imm8 = imm8;
556 ULong y, x = imm->imm8;
[all...]
H A Dguest_amd64_helpers.c3193 UInt imm8 = imm_and_return_control_bit & 7; local
3195 UInt srcOffsL = imm8 & 3; /* src offs in 32-bit (L) chunks */
3196 UInt dstOffsL = (imm8 >> 2) & 1; /* dst offs in ditto chunks */
3290 opc_and_imm contains (4th byte of opcode << 8) | the-imm8-byte so
3328 HWord imm8 = opc4_and_imm & 0xFF; local
3332 HWord wide = (imm8 & 1);
3373 zmaskL, zmaskR, imm8, (Bool)isxSTRM
3397 zmaskL, zmaskR, imm8, (Bool)isxSTRM
3401 // front end shouldn't pass us any imm8 variants we can't
3727 HWord imm8,
3725 amd64g_dirtyhelper_AESKEYGENASSIST( VexGuestAMD64State* gst, HWord imm8, HWord gstOffL, HWord gstOffR ) argument
[all...]
/external/chromium_org/v8/src/x87/
H A Dassembler-x87.cc402 void Assembler::mov_b(const Operand& dst, int8_t imm8) { argument
406 EMIT(imm8);
643 void Assembler::cmpb(const Operand& op, int8_t imm8) { argument
651 EMIT(imm8);
890 void Assembler::rcl(Register dst, uint8_t imm8) { argument
892 DCHECK(is_uint5(imm8)); // illegal shift count
893 if (imm8 == 1) {
899 EMIT(imm8);
904 void Assembler::rcr(Register dst, uint8_t imm8) { argument
906 DCHECK(is_uint5(imm8)); // illega
918 ror(Register dst, uint8_t imm8) argument
939 sar(const Operand& dst, uint8_t imm8) argument
975 shl(const Operand& dst, uint8_t imm8) argument
1004 shr(const Operand& dst, uint8_t imm8) argument
1094 test_b(Register reg, uint8_t imm8) argument
1111 test_b(const Operand& op, uint8_t imm8) argument
1982 emit_arith_b(int op1, int op2, Register dst, int imm8) argument
[all...]
H A Dassembler-x87.h605 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); }
606 void mov_b(const Operand& dst, int8_t imm8);
663 void cmpb(Register reg, int8_t imm8) { cmpb(Operand(reg), imm8); }
664 void cmpb(const Operand& op, int8_t imm8);
719 void rcl(Register dst, uint8_t imm8);
720 void rcr(Register dst, uint8_t imm8);
721 void ror(Register dst, uint8_t imm8);
724 void sar(Register dst, uint8_t imm8) { sa
[all...]
H A Ddisasm-x87.cc577 int imm8 = -1; local
607 imm8 = 1;
609 imm8 = *(data + 1);
614 if (imm8 >= 0) {
615 AppendToBuffer(",%d", imm8);
1104 // shufps xmm, xmm/m128, imm8
1108 int8_t imm8 = static_cast<int8_t>(data[1]); local
1112 static_cast<int>(imm8));
1178 case 0xC6: // imm8
1284 int8_t imm8 local
1294 int8_t imm8 = static_cast<int8_t>(data[1]); local
1304 int8_t imm8 = static_cast<int8_t>(data[1]); local
1314 int8_t imm8 = static_cast<int8_t>(data[1]); local
1385 int8_t imm8 = static_cast<int8_t>(data[1]); local
1414 int8_t imm8 = static_cast<int8_t>(data[1]); local
[all...]
/external/chromium_org/v8/src/ia32/
H A Dassembler-ia32.h616 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); }
617 void mov_b(const Operand& dst, int8_t imm8);
680 void cmpb(Register reg, int8_t imm8) { cmpb(Operand(reg), imm8); }
681 void cmpb(const Operand& op, int8_t imm8);
736 void rcl(Register dst, uint8_t imm8);
737 void rcr(Register dst, uint8_t imm8);
738 void ror(Register dst, uint8_t imm8);
741 void sar(Register dst, uint8_t imm8) { sa
[all...]
H A Dassembler-ia32.cc460 void Assembler::mov_b(const Operand& dst, int8_t imm8) { argument
464 EMIT(imm8);
710 void Assembler::cmpb(const Operand& op, int8_t imm8) { argument
718 EMIT(imm8);
957 void Assembler::rcl(Register dst, uint8_t imm8) { argument
959 DCHECK(is_uint5(imm8)); // illegal shift count
960 if (imm8 == 1) {
966 EMIT(imm8);
971 void Assembler::rcr(Register dst, uint8_t imm8) { argument
973 DCHECK(is_uint5(imm8)); // illega
985 ror(Register dst, uint8_t imm8) argument
1006 sar(const Operand& dst, uint8_t imm8) argument
1042 shl(const Operand& dst, uint8_t imm8) argument
1071 shr(const Operand& dst, uint8_t imm8) argument
1161 test_b(Register reg, uint8_t imm8) argument
1178 test_b(const Operand& op, uint8_t imm8) argument
2202 shufps(XMMRegister dst, XMMRegister src, byte imm8) argument
2333 extractps(Register dst, XMMRegister src, byte imm8) argument
2560 emit_arith_b(int op1, int op2, Register dst, int imm8) argument
[all...]
H A Ddisasm-ia32.cc577 int imm8 = -1; local
607 imm8 = 1;
609 imm8 = *(data + 1);
614 if (imm8 >= 0) {
615 AppendToBuffer(",%d", imm8);
1083 // shufps xmm, xmm/m128, imm8
1087 int8_t imm8 = static_cast<int8_t>(data[1]); local
1091 static_cast<int>(imm8));
1157 case 0xC6: // imm8
1263 int8_t imm8 local
1273 int8_t imm8 = static_cast<int8_t>(data[1]); local
1283 int8_t imm8 = static_cast<int8_t>(data[1]); local
1293 int8_t imm8 = static_cast<int8_t>(data[1]); local
1364 int8_t imm8 = static_cast<int8_t>(data[1]); local
1393 int8_t imm8 = static_cast<int8_t>(data[1]); local
[all...]
/external/valgrind/main/none/tests/amd64/
H A Dinsn_mmx.def72 pslld imm8[4] mm.ud[0x01234567,0x89abcdef] => 1.ud[0x12345670,0x9abcdef0]
75 psllq imm8[4] mm.uq[0x0123456789abcdef] => 1.uq[0x123456789abcdef0]
78 psllw imm8[4] mm.uw[0x0123,0x4567,0x89ab,0xcdef] => 1.uw[0x1230,0x5670,0x9ab0,0xdef0]
81 psrad imm8[4] mm.ud[0x01234567,0x89abcdef] => 1.ud[0x00123456,0xf89abcde]
84 psraw imm8[4] mm.uw[0x0123,0x4567,0x89ab,0xcdef] => 1.uw[0x0012,0x0456,0xf89a,0xfcde]
87 psrld imm8[4] mm.ud[0x01234567,0x89abcdef] => 1.ud[0x00123456,0x089abcde]
90 psrlq imm8[4] mm.uq[0x0123456789abcdef] => 1.uq[0x00123456789abcde]
93 psrlw imm8[4] mm.uw[0x0123,0x4567,0x89ab,0xcdef] => 1.uw[0x0012,0x0456,0x089a,0x0cde]
H A Dpcmpstr64w.c188 imm8 is the original immediate from the instruction. isSTRM
192 If the given imm8 case can be handled, the return value is True.
201 UInt imm8, Bool isxSTRM )
203 assert(imm8 < 0x80);
207 /* Explicitly reject any imm8 values that haven't been validated,
210 switch (imm8) {
220 UInt fmt = (imm8 >> 0) & 3; // imm8[1:0] data format
221 UInt agg = (imm8 >> 2) & 3; // imm8[
197 pcmpXstrX_WRK_wide( V128* resV, UInt* resOSZACP, V128* argLV, V128* argRV, UInt zmaskL, UInt zmaskR, UInt imm8, Bool isxSTRM ) argument
[all...]
H A Dpcmpstr64.c183 imm8 is the original immediate from the instruction. isSTRM
187 If the given imm8 case can be handled, the return value is True.
196 UInt imm8, Bool isSTRM )
198 assert(imm8 < 0x80);
202 /* Explicitly reject any imm8 values that haven't been validated,
205 switch (imm8) {
215 UInt fmt = (imm8 >> 0) & 3; // imm8[1:0] data format
216 UInt agg = (imm8 >> 2) & 3; // imm8[
192 pcmpXstrX_WRK( V128* resV, UInt* resOSZACP, V128* argLV, V128* argRV, UInt zmaskL, UInt zmaskR, UInt imm8, Bool isSTRM ) argument
[all...]
/external/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h364 // imm32 = ZeroExtend(i:imm3:imm8, 32)
369 const uint32_t imm8 = bits(opcode, 7, 0); local
370 const uint32_t imm12 = i << 11 | imm3 << 8 | imm8;
381 // imm32 = ZeroExtend(imm8:'00', 32)
384 const uint32_t imm8 = bits(opcode, 7, 0); local
385 return imm8 * 4;
/external/qemu/disas/
H A Darm.c3373 unsigned int bits = 0, imm, imm8, mod; local
3377 imm8 = (bits & 0x0ff);
3381 case 0: imm = imm8; break;
3382 case 1: imm = ((imm8<<16) | imm8); break;
3383 case 2: imm = ((imm8<<24) | (imm8 << 8)); break;
3384 case 3: imm = ((imm8<<24) | (imm8 << 16) | (imm8 <<
[all...]
/external/chromium_org/v8/src/x64/
H A Dassembler-x64.h812 void instruction##p(Register dst, Immediate imm8) { \
813 shift(dst, imm8, subcode, kPointerSize); \
816 void instruction##l(Register dst, Immediate imm8) { \
817 shift(dst, imm8, subcode, kInt32Size); \
820 void instruction##q(Register dst, Immediate imm8) { \
821 shift(dst, imm8, subcode, kInt64Size); \
998 void shufps(XMMRegister dst, XMMRegister src, byte imm8);
1046 void psllq(XMMRegister reg, byte imm8);
1086 void extractps(Register dst, XMMRegister src, byte imm8);
H A Ddisasm-x64.cc720 int imm8 = -1; local
755 imm8 = 1;
757 imm8 = *(data + 2);
768 AppendToBuffer("%d", imm8);
1013 AppendToBuffer("extractps "); // reg/m32, xmm, imm8
1019 // roundsd xmm, xmm/m64, imm8
1268 // shufps xmm, xmm/m128, imm8
1556 case 0xC6: // imm8
1646 // mov reg8,imm8 or mov reg32,imm32
H A Dassembler-x64.cc817 void Assembler::cmpb_al(Immediate imm8) { argument
818 DCHECK(is_int8(imm8.value_) || is_uint8(imm8.value_));
821 emit(imm8.value_);
2461 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { argument
2463 DCHECK(is_uint8(imm8));
2471 emit(imm8);
2522 void Assembler::shufps(XMMRegister dst, XMMRegister src, byte imm8) { argument
2523 DCHECK(is_uint8(imm8));
2529 emit(imm8);
2572 psllq(XMMRegister reg, byte imm8) argument
[all...]
/external/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.cpp1565 uint8_t imm8; local
1585 if (consumeByte(insn, &imm8))
1587 insn->immediates[insn->numImmediatesConsumed] = imm8;

Completed in 5439 milliseconds

12