mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-26 01:02:57 +00:00
IR: Implement Conditional Select
This commit is contained in:
@@ -146,6 +146,11 @@ u64 Argument::GetImmediateU64() const {
|
||||
return ImmediateToU64(value);
|
||||
}
|
||||
|
||||
IR::Cond Argument::GetImmediateCond() const {
|
||||
ASSERT(IsImmediate() && GetType() == IR::Type::Cond);
|
||||
return value.GetCond();
|
||||
}
|
||||
|
||||
bool Argument::IsInGpr() const {
|
||||
if (IsImmediate())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user