mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-08 07:28:09 +01:00
IR: Add IR instruction NZCVFromPackedFlags
This instruction expects NZCV to be in the high bits. i.e.: The positions they were in PSTATE.
This commit is contained in:
parent
0bb4474fb9
commit
8931ee346b
4 changed files with 30 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ U32U64 IREmitter::ConditionalSelect(Cond cond, const U32U64& a, const U32U64& b)
|
|||
}
|
||||
}
|
||||
|
||||
NZCV IREmitter::NZCVFromPackedFlags(const U32& a) {
|
||||
return Inst<NZCV>(Opcode::NZCVFromPackedFlags, a);
|
||||
}
|
||||
|
||||
NZCV IREmitter::NZCVFrom(const Value& value) {
|
||||
return Inst<NZCV>(Opcode::GetNZCVFromOp, value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue