ir: Add A64-specific opcodes for getting and setting raw NZCV values

This will be necessary to implement the flag manipulation and flag
format instructions.
This commit is contained in:
Lioncash
2019-03-06 13:54:09 -05:00
committed by MerryMage
parent 4f937c1ee1
commit 597a8be5d5
5 changed files with 29 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ A32OPC(SetFpscrNZCV, Void, NZCV
// A64 Context getters/setters
A64OPC(SetCheckBit, Void, U1 )
A64OPC(GetCFlag, U1, )
A64OPC(GetNZCVRaw, U32, )
A64OPC(SetNZCVRaw, Void, U32 )
A64OPC(SetNZCV, Void, NZCV )
A64OPC(GetW, U32, A64Reg )
A64OPC(GetX, U64, A64Reg )