Lines Matching refs:read32
480 write32(loc, (read32(loc) & 0xff3ff000) | opcode | rot | (imm & 0xff)); in encodeAluGroup()
498 write32(loc, (read32(loc) & 0xff7ff000) | opcode | imm); in encodeLdrGroup()
516 write32(loc, (read32(loc) & 0xff7ff0f0) | opcode | ((imm & 0xf0) << 4) | in encodeLdrsGroup()
543 write32(loc, (read32(loc) & 0x80000000) | (val & ~0x80000000)); in relocate()
553 bool isBlx = (read32(loc) & 0xfe000000) == 0xfa000000; in relocate()
568 write32(loc, 0xeb000000 | (read32(loc) & 0x00ffffff)); in relocate()
576 write32(loc, (read32(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff)); in relocate()
581 write16(loc, (read32(loc) & 0xff00) | ((val >> 1) & 0x00ff)); in relocate()
586 write16(loc, (read32(loc) & 0xf800) | ((val >> 1) & 0x07ff)); in relocate()
655 write32(loc, (read32(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) | in relocate()
661 write32(loc, (read32(loc) & ~0x000f0fff) | in relocate()
812 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
814 return SignExtend64<31>(read32(buf)); in getImplicitAddend()
819 return SignExtend64<26>(read32(buf) << 2); in getImplicitAddend()
864 uint64_t val = read32(buf) & 0x000f0fff; in getImplicitAddend()
895 uint32_t instr = read32(buf); in getImplicitAddend()
904 bool u = read32(buf) & 0x00800000; in getImplicitAddend()
905 uint32_t imm12 = read32(buf) & 0xfff; in getImplicitAddend()
912 uint32_t opcode = read32(buf); in getImplicitAddend()
1011 write32le(buf + i, read32(buf + i)); in toLittleEndianInstructions()