mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2026-04-06 23:03:57 +00:00
A64: Implement pcrel
This commit is contained in:
parent
c09e69bb97
commit
5a1d88c5dc
6 changed files with 43 additions and 6 deletions
|
|
@ -100,6 +100,13 @@ bool Argument::IsImmediate() const {
|
|||
return value.IsImmediate();
|
||||
}
|
||||
|
||||
bool Argument::FitsInImmediateU32() const {
|
||||
if (!IsImmediate())
|
||||
return false;
|
||||
u64 imm = ImmediateToU64(value);
|
||||
return imm < 0x100000000;
|
||||
}
|
||||
|
||||
bool Argument::GetImmediateU1() const {
|
||||
return value.GetU1();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue