Lines Matching defs:imm32
1143 ARMInstr* ARMInstr_Imm32 ( HReg dst, UInt imm32 ) {
1146 i->ARMin.Imm32.dst = dst;
1147 i->ARMin.Imm32.imm32 = imm32;
1518 ARMInstr* ARMInstr_Add32 ( HReg rD, HReg rN, UInt imm32 ) {
1522 if (fitsIn8x4(&u8, &u4, imm32)) {
1532 i->ARMin.Add32.imm32 = imm32;
1592 ppHRegARM(i->ARMin.Imm32.dst);
1593 vex_printf(", 0x%x", i->ARMin.Imm32.imm32);
1990 vex_printf("%d", i->ARMin.Add32.imm32);
2049 addHRegUse(u, HRmWrite, i->ARMin.Imm32.dst);
2354 i->ARMin.Imm32.dst = lookupHRegRemap(m, i->ARMin.Imm32.dst);
2815 static UInt* imm32_to_iregNo ( UInt* p, Int rD, UInt imm32 )
2820 if (0 == (imm32 & ~0xFF)) {
2821 /* mov with a immediate shifter operand of (0, imm32) (??) */
2823 instr |= imm32;
2833 // .word imm32
2834 *p++ = imm32;
2840 UInt lo16 = imm32 & 0xFFFF;
2841 UInt hi16 = (imm32 >> 16) & 0xFFFF;
2856 if ((imm32 & 0xFF) || (imm32 == 0)) {
2857 imm = imm32 & 0xFF;
2864 if (imm32 & 0xFF000000) {
2865 imm = (imm32 >> 24) & 0xFF;
2872 if (imm32 & 0xFF0000) {
2873 imm = (imm32 >> 16) & 0xFF;
2880 if (imm32 & 0xFF00) {
2881 imm = (imm32 >> 8) & 0xFF;
2897 static UInt* imm32_to_iregNo_EXACTLY2 ( UInt* p, Int rD, UInt imm32 )
2901 UInt lo16 = imm32 & 0xFFFF;
2902 UInt hi16 = (imm32 >> 16) & 0xFFFF;
2920 static Bool is_imm32_to_iregNo_EXACTLY2 ( UInt* p, Int rD, UInt imm32 )
2924 UInt lo16 = imm32 & 0xFFFF;
2925 UInt hi16 = (imm32 >> 16) & 0xFFFF;
3079 p = imm32_to_iregNo( (UInt*)p, iregNo(i->ARMin.Imm32.dst),
3080 i->ARMin.Imm32.imm32 );
4614 UInt imm32 = i->ARMin.Add32.imm32;
4616 /* MOV regD, imm32 */
4617 p = imm32_to_iregNo((UInt *)p, regD, imm32);