Lines Matching defs:imm
547 uint32_t imm, lz;
548 std::tie(imm, lz) = getRemAndLZForGroup(group, val);
551 imm = rotr32(imm, 24 - lz);
554 if (check && imm > 0xff)
557 write32(loc, (read32(loc) & 0xff3ff000) | opcode | rot | (imm & 0xff));
573 uint32_t imm = getRemAndLZForGroup(group, val).first;
574 checkUInt(loc, imm, 12, rel);
575 write32(loc, (read32(loc) & 0xff7ff000) | opcode | imm);
591 uint32_t imm = getRemAndLZForGroup(group, val).first;
592 checkUInt(loc, imm, 8, rel);
593 write32(loc, (read32(loc) & 0xff7ff0f0) | opcode | ((imm & 0xf0) << 4) |
594 (imm & 0xf));
816 int64_t imm = val;
818 if (imm < 0) {
819 imm = -imm;
822 checkUInt(loc, imm, 12, rel);
823 write16(loc, (read16(loc) & 0xfb0f) | sub | (imm & 0x800) >> 1);
825 (read16(loc + 2) & 0x8f00) | (imm & 0x700) << 4 | (imm & 0xff));
1001 uint64_t imm = (hi & 0x0400) << 1 | // i
1005 return (hi & 0x00f0) ? -imm : imm;