Lines Matching refs:read32
557 write32(loc, (read32(loc) & 0xff3ff000) | opcode | rot | (imm & 0xff)); in encodeAluGroup()
575 write32(loc, (read32(loc) & 0xff7ff000) | opcode | imm); in encodeLdrGroup()
593 write32(loc, (read32(loc) & 0xff7ff0f0) | opcode | ((imm & 0xf0) << 4) | in encodeLdrsGroup()
620 write32(loc, (read32(loc) & 0x80000000) | (val & ~0x80000000)); in relocate()
629 bool isBlx = (read32(loc) & 0xfe000000) == 0xfa000000; in relocate()
644 write32(loc, 0xeb000000 | (read32(loc) & 0x00ffffff)); in relocate()
652 write32(loc, (read32(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff)); in relocate()
657 write16(loc, (read32(loc) & 0xff00) | ((val >> 1) & 0x00ff)); in relocate()
662 write16(loc, (read32(loc) & 0xf800) | ((val >> 1) & 0x07ff)); in relocate()
732 write32(loc, (read32(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) | in relocate()
738 write32(loc, (read32(loc) & ~0x000f0fff) | in relocate()
889 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
891 return SignExtend64<31>(read32(buf)); in getImplicitAddend()
896 return SignExtend64<26>(read32(buf) << 2); in getImplicitAddend()
941 uint64_t val = read32(buf) & 0x000f0fff; in getImplicitAddend()
972 uint32_t instr = read32(buf); in getImplicitAddend()
981 bool u = read32(buf) & 0x00800000; in getImplicitAddend()
982 uint32_t imm12 = read32(buf) & 0xfff; in getImplicitAddend()
989 uint32_t opcode = read32(buf); in getImplicitAddend()
1088 write32le(buf + i, read32(buf + i)); in toLittleEndianInstructions()