mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-25 10:04:16 -05:00
Arm64Emitter: Allow specifying 21th bit of ADRP imm
This commit is contained in:
@@ -1998,9 +1998,9 @@ void ARM64XEmitter::ADR(ARM64Reg Rd, s32 imm)
|
||||
{
|
||||
EncodeAddressInst(0, Rd, imm);
|
||||
}
|
||||
void ARM64XEmitter::ADRP(ARM64Reg Rd, s32 imm)
|
||||
void ARM64XEmitter::ADRP(ARM64Reg Rd, s64 imm)
|
||||
{
|
||||
EncodeAddressInst(1, Rd, imm >> 12);
|
||||
EncodeAddressInst(1, Rd, static_cast<s32>(imm >> 12));
|
||||
}
|
||||
|
||||
// Wrapper around MOVZ+MOVK (and later MOVN)
|
||||
|
||||
Reference in New Issue
Block a user