Lines Matching refs:Imm32
1129 ARMInstr* ARMInstr_Imm32 ( HReg dst, UInt imm32 ) {
1132 i->ARMin.Imm32.dst = dst;
1133 i->ARMin.Imm32.imm32 = imm32;
1504 ARMInstr* ARMInstr_Add32 ( HReg rD, HReg rN, UInt imm32 ) {
1508 if (fitsIn8x4(&u8, &u4, imm32)) {
1518 i->ARMin.Add32.imm32 = imm32;
1578 ppHRegARM(i->ARMin.Imm32.dst);
1579 vex_printf(", 0x%x", i->ARMin.Imm32.imm32);
1976 vex_printf("%u", i->ARMin.Add32.imm32);
2035 addHRegUse(u, HRmWrite, i->ARMin.Imm32.dst);
2340 i->ARMin.Imm32.dst = lookupHRegRemap(m, i->ARMin.Imm32.dst);
2799 static UInt* imm32_to_ireg ( UInt* p, Int rD, UInt imm32 )
2804 if (0 == (imm32 & ~0xFF)) {
2805 /* mov with a immediate shifter operand of (0, imm32) (??) */
2807 instr |= imm32;
2817 // .word imm32
2818 *p++ = imm32;
2824 UInt lo16 = imm32 & 0xFFFF;
2825 UInt hi16 = (imm32 >> 16) & 0xFFFF;
2840 if ((imm32 & 0xFF) || (imm32 == 0)) {
2841 imm = imm32 & 0xFF;
2848 if (imm32 & 0xFF000000) {
2849 imm = (imm32 >> 24) & 0xFF;
2856 if (imm32 & 0xFF0000) {
2857 imm = (imm32 >> 16) & 0xFF;
2864 if (imm32 & 0xFF00) {
2865 imm = (imm32 >> 8) & 0xFF;
2881 static UInt* imm32_to_ireg_EXACTLY2 ( UInt* p, Int rD, UInt imm32 )
2885 UInt lo16 = imm32 & 0xFFFF;
2886 UInt hi16 = (imm32 >> 16) & 0xFFFF;
2904 static Bool is_imm32_to_ireg_EXACTLY2 ( UInt* p, Int rD, UInt imm32 )
2908 UInt lo16 = imm32 & 0xFFFF;
2909 UInt hi16 = (imm32 >> 16) & 0xFFFF;
3063 p = imm32_to_ireg( (UInt*)p, iregEnc(i->ARMin.Imm32.dst),
3064 i->ARMin.Imm32.imm32 );
4596 UInt imm32 = i->ARMin.Add32.imm32;
4598 /* MOV regD, imm32 */
4599 p = imm32_to_ireg((UInt *)p, regD, imm32);