Home
last modified time | relevance | path

Searched refs:imm32 (Results 1 – 25 of 46) sorted by relevance

12

/external/lldb/source/Plugins/Process/Utility/
DARMUtils.h292 uint32_t imm32; // the expanded result in ARMExpandImm_C() local
297 imm32 = imm; in ARMExpandImm_C()
302 imm32 = ror(imm, 32, amt); in ARMExpandImm_C()
303 carry_out = Bit32(imm32, 31); in ARMExpandImm_C()
305 return imm32; in ARMExpandImm_C()
319 uint32_t imm32; // the expaned result in ThumbExpandImm_C() local
330 imm32 = abcdefgh; in ThumbExpandImm_C()
334 imm32 = abcdefgh << 16 | abcdefgh; in ThumbExpandImm_C()
338 imm32 = abcdefgh << 24 | abcdefgh << 8; in ThumbExpandImm_C()
342 imm32 = abcdefgh << 24 | abcdefgh << 16 | abcdefgh << 8 | abcdefgh; in ThumbExpandImm_C()
[all …]
/external/lldb/source/Plugins/Instruction/ARM/
DEmulateInstructionARM.cpp598 (result, carry, overflow) = AddWithCarry(SP, imm32, '0'); in EmulateADDRdSPImm()
619 uint32_t imm32; in EmulateADDRdSPImm() local
623 imm32 = Bits32(opcode, 7, 0) << 2; // imm32 = ZeroExtend(imm8:'00', 32) in EmulateADDRdSPImm()
627 imm32 = ARMExpandImm(opcode); // imm32 = ARMExpandImm(imm12) in EmulateADDRdSPImm()
632 addr_t sp_offset = imm32; in EmulateADDRdSPImm()
808 result = imm32; in EmulateMOVRdImm()
824 uint32_t imm32; // the immediate value to be written to Rd in EmulateMOVRdImm() local
833 imm32 = Bits32(opcode, 7, 0); // imm32 = ZeroExtend(imm8, 32) in EmulateMOVRdImm()
841 imm32 = ThumbExpandImm_C(opcode, APSR_C, carry); in EmulateMOVRdImm()
856 imm32 = (imm4 << 12) | (i << 11) | (imm3 << 8) | imm8; in EmulateMOVRdImm()
[all …]
/external/valgrind/main/none/tests/amd64/
Dinsn_basic.def29 ###adcl eflags[0x1,0x0] : imm32[12345678] eax.ud[87654321] => 1.ud[99999999]
30 ###adcl eflags[0x1,0x1] : imm32[12345678] eax.ud[87654321] => 1.ud[100000000]
31 adcl eflags[0x1,0x0] : imm32[12345678] ebx.ud[87654321] => 1.ud[99999999]
32 adcl eflags[0x1,0x1] : imm32[12345678] ebx.ud[87654321] => 1.ud[100000000]
33 adcl eflags[0x1,0x0] : imm32[12345678] m32.ud[87654321] => 1.ud[99999999]
34 adcl eflags[0x1,0x1] : imm32[12345678] m32.ud[87654321] => 1.ud[100000000]
43 ###adcq eflags[0x1,0x0] : imm32[12345678] rax.uq[8765432187654321] => 1.uq[8765432199999999]
44 ###adcq eflags[0x1,0x1] : imm32[12345678] rax.uq[8765432187654321] => 1.uq[8765432200000000]
45 adcq eflags[0x1,0x0] : imm32[12345678] rbx.uq[8765432187654321] => 1.uq[8765432199999999]
46 adcq eflags[0x1,0x1] : imm32[12345678] rbx.uq[8765432187654321] => 1.uq[8765432200000000]
[all …]
/external/valgrind/main/none/tests/x86/
Dinsn_basic.def49 adcl eflags[0x1,0x0] : imm32[12345678] eax.ud[87654321] => 1.ud[99999999]
50 adcl eflags[0x1,0x1] : imm32[12345678] eax.ud[87654321] => 1.ud[100000000]
51 adcl eflags[0x1,0x0] : imm32[12345678] ebx.ud[87654321] => 1.ud[99999999]
52 adcl eflags[0x1,0x1] : imm32[12345678] ebx.ud[87654321] => 1.ud[100000000]
53 adcl eflags[0x1,0x0] : imm32[12345678] m32.ud[87654321] => 1.ud[99999999]
54 adcl eflags[0x1,0x1] : imm32[12345678] m32.ud[87654321] => 1.ud[100000000]
75 addl imm32[12345678] eax.ud[87654321] => 1.ud[99999999]
76 addl imm32[12345678] ebx.ud[87654321] => 1.ud[99999999]
77 addl imm32[12345678] m32.ud[87654321] => 1.ud[99999999]
95 andl imm32[0x86427531] eax.ud[0x12345678] => 1.ud[0x02005430]
[all …]
/external/chromium_org/v8/src/x87/
Dassembler-x87.cc346 void Assembler::push_imm32(int32_t imm32) { in push_imm32() argument
349 emit(imm32); in push_imm32()
444 void Assembler::mov(Register dst, int32_t imm32) { in mov() argument
447 emit(imm32); in mov()
578 void Assembler::adc(Register dst, int32_t imm32) { in adc() argument
580 emit_arith(2, Operand(dst), Immediate(imm32)); in adc()
612 void Assembler::and_(Register dst, int32_t imm32) { in and_() argument
613 and_(dst, Immediate(imm32)); in and_()
681 void Assembler::cmp(Register reg, int32_t imm32) { in cmp() argument
683 emit_arith(7, Operand(reg), Immediate(imm32)); in cmp()
[all …]
Dassembler-x87.h592 void push_imm32(int32_t imm32);
613 void mov(Register dst, int32_t imm32);
647 void adc(Register dst, int32_t imm32);
656 void and_(Register dst, int32_t imm32);
670 void cmp(Register reg, int32_t imm32);
695 void imul(Register dst, Register src, int32_t imm32); // dst = src * imm32.
696 void imul(Register dst, const Operand& src, int32_t imm32);
712 void or_(Register dst, int32_t imm32);
761 void xor_(Register dst, int32_t imm32);
/external/valgrind/main/VEX/priv/
Dhost_x86_defs.c161 X86AMode* X86AMode_IR ( UInt imm32, HReg reg ) { in X86AMode_IR() argument
164 am->Xam.IR.imm = imm32; in X86AMode_IR()
168 X86AMode* X86AMode_IRRS ( UInt imm32, HReg base, HReg indEx, Int shift ) { in X86AMode_IRRS() argument
171 am->Xam.IRRS.imm = imm32; in X86AMode_IRRS()
243 X86RMI* X86RMI_Imm ( UInt imm32 ) { in X86RMI_Imm() argument
246 op->Xrmi.Imm.imm32 = imm32; in X86RMI_Imm()
265 vex_printf("$0x%x", op->Xrmi.Imm.imm32); in ppX86RMI()
314 X86RI* X86RI_Imm ( UInt imm32 ) { in X86RI_Imm() argument
317 op->Xri.Imm.imm32 = imm32; in X86RI_Imm()
330 vex_printf("$0x%x", op->Xri.Imm.imm32); in ppX86RI()
[all …]
Dhost_amd64_defs.c205 AMD64AMode* AMD64AMode_IR ( UInt imm32, HReg reg ) { in AMD64AMode_IR() argument
208 am->Aam.IR.imm = imm32; in AMD64AMode_IR()
212 AMD64AMode* AMD64AMode_IRRS ( UInt imm32, HReg base, HReg indEx, Int shift ) { in AMD64AMode_IRRS() argument
215 am->Aam.IRRS.imm = imm32; in AMD64AMode_IRRS()
275 AMD64RMI* AMD64RMI_Imm ( UInt imm32 ) { in AMD64RMI_Imm() argument
278 op->Armi.Imm.imm32 = imm32; in AMD64RMI_Imm()
297 vex_printf("$0x%x", op->Armi.Imm.imm32); in ppAMD64RMI_wrk()
355 AMD64RI* AMD64RI_Imm ( UInt imm32 ) { in AMD64RI_Imm() argument
358 op->Ari.Imm.imm32 = imm32; in AMD64RI_Imm()
371 vex_printf("$0x%x", op->Ari.Imm.imm32); in ppAMD64RI()
[all …]
Dhost_x86_defs.h162 UInt imm32; member
196 UInt imm32; member
414 UInt imm32; member
663 extern X86Instr* X86Instr_Test32 ( UInt imm32, X86RM* dst );
Dhost_amd64_defs.h174 UInt imm32; member
209 UInt imm32; member
435 UInt imm32; member
701 extern AMD64Instr* AMD64Instr_Test64 ( UInt imm32, HReg dst );
Dhost_arm_defs.c1143 ARMInstr* ARMInstr_Imm32 ( HReg dst, UInt imm32 ) { in ARMInstr_Imm32() argument
1147 i->ARMin.Imm32.imm32 = imm32; in ARMInstr_Imm32()
1518 ARMInstr* ARMInstr_Add32 ( HReg rD, HReg rN, UInt imm32 ) { in ARMInstr_Add32() argument
1522 if (fitsIn8x4(&u8, &u4, imm32)) { in ARMInstr_Add32()
1532 i->ARMin.Add32.imm32 = imm32; in ARMInstr_Add32()
1593 vex_printf(", 0x%x", i->ARMin.Imm32.imm32); in ppARMInstr()
1990 vex_printf("%d", i->ARMin.Add32.imm32); in ppARMInstr()
2815 static UInt* imm32_to_iregNo ( UInt* p, Int rD, UInt imm32 ) in imm32_to_iregNo() argument
2820 if (0 == (imm32 & ~0xFF)) { in imm32_to_iregNo()
2823 instr |= imm32; in imm32_to_iregNo()
[all …]
Dhost_arm_defs.h662 UInt imm32; member
942 UInt imm32; member
1014 extern ARMInstr* ARMInstr_Add32 ( HReg rD, HReg rN, UInt imm32 );
Dguest_arm_toIR.c18369 UInt imm32 = (INSN0(9,9) << 6) | (INSN0(7,3) << 1); in disInstr_THUMB_WRK() local
18380 UInt dst = (guest_R15_curr_instr_notENC + 4 + imm32) | 1; in disInstr_THUMB_WRK()
19289 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1); in disInstr_THUMB_WRK() local
19291 assign(argR, mkU32(imm32)); in disInstr_THUMB_WRK()
19297 bS == 1 ? "s" : "", rD, rN, imm32); in disInstr_THUMB_WRK()
19338 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1); in disInstr_THUMB_WRK() local
19340 assign(argR, mkU32(imm32)); in disInstr_THUMB_WRK()
19343 DIP("%s.w r%u, #%u\n", isCMN ? "cmn" : "cmp", rN, imm32); in disInstr_THUMB_WRK()
19364 UInt imm32 = thumbExpandImm_from_I0_I1(&updC, insn0, insn1); in disInstr_THUMB_WRK() local
19366 assign(argR, mkU32(imm32)); in disInstr_THUMB_WRK()
[all …]
/external/chromium_org/v8/src/ia32/
Dassembler-ia32.cc404 void Assembler::push_imm32(int32_t imm32) { in push_imm32() argument
407 emit(imm32); in push_imm32()
502 void Assembler::mov(Register dst, int32_t imm32) { in mov() argument
505 emit(imm32); in mov()
645 void Assembler::adc(Register dst, int32_t imm32) { in adc() argument
647 emit_arith(2, Operand(dst), Immediate(imm32)); in adc()
679 void Assembler::and_(Register dst, int32_t imm32) { in and_() argument
680 and_(dst, Immediate(imm32)); in and_()
748 void Assembler::cmp(Register reg, int32_t imm32) { in cmp() argument
750 emit_arith(7, Operand(reg), Immediate(imm32)); in cmp()
[all …]
Dassembler-ia32.h603 void push_imm32(int32_t imm32);
624 void mov(Register dst, int32_t imm32);
664 void adc(Register dst, int32_t imm32);
673 void and_(Register dst, int32_t imm32);
687 void cmp(Register reg, int32_t imm32);
712 void imul(Register dst, Register src, int32_t imm32); // dst = src * imm32.
713 void imul(Register dst, const Operand& src, int32_t imm32);
729 void or_(Register dst, int32_t imm32);
778 void xor_(Register dst, int32_t imm32);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/defs/
Doperand_index_reprs.txt1 imm32
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/defs/
Doperand_index_reprs.txt1 imm32
/external/llvm/test/TableGen/
DTargetInstrInfo.td19 def imm32 : RTLNode;
115 def XOR32mi : Inst<(ops addr:$addr, imm32:$imm),
118 (set R32:$tmp2, (xor R32:$tmp1, imm32:$imm)),
/external/chromium_org/ui/views/
DBUILD.gn70 libs = [ "/imm32.lib", "oleacc.lib" ]
188 "imm32.lib",
/external/chromium_org/v8/src/arm/
Dassembler-arm.cc986 static bool fits_shifter(uint32_t imm32, in fits_shifter() argument
992 uint32_t imm8 = (imm32 << 2*rot) | (imm32 >> (32 - 2*rot)); in fits_shifter()
1003 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) { in fits_shifter()
1008 if (imm32 < 0x10000) { in fits_shifter()
1010 *instr |= Assembler::EncodeMovwImmediate(imm32); in fits_shifter()
1017 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) { in fits_shifter()
1025 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) { in fits_shifter()
1031 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) { in fits_shifter()
1115 uint32_t imm32 = static_cast<uint32_t>(x.imm32_); in move_32_bit_immediate() local
1127 movw(target, imm32 & 0xffff, cond); in move_32_bit_immediate()
[all …]
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp1567 uint32_t imm32; in readImmediate() local
1595 if (consumeUInt32(insn, &imm32)) in readImmediate()
1597 insn->immediates[insn->numImmediatesConsumed] = imm32; in readImmediate()
/external/chromium_org/chrome/
Dchrome_dll.gypi202 'imm32.dll',
/external/chromium_org/media/base/simd/
Dconvert_rgb_to_yuv_ssse3.asm32 ; LOAD_XMM %1 (xmm), %2 (imm32)
/external/llvm/lib/Target/SystemZ/
DSystemZPatterns.td53 def : RMWI<anyextloadi8, operator, truncstorei8, mode, imm32, insn>;
/external/chromium_org/ui/base/
DBUILD.gn515 "imm32.lib",
824 "imm32.lib",

12