mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-06 02:26:30 +00:00
IR: Implement A64OrQC
This commit is contained in:
@@ -33,6 +33,10 @@ void IREmitter::SetNZCV(const IR::NZCV& nzcv) {
|
||||
Inst(Opcode::A64SetNZCV, nzcv);
|
||||
}
|
||||
|
||||
void IREmitter::OrQC(const IR::U1& value) {
|
||||
Inst(Opcode::A64OrQC, value);
|
||||
}
|
||||
|
||||
void IREmitter::CallSupervisor(u32 imm) {
|
||||
Inst(Opcode::A64CallSupervisor, Imm32(imm));
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ public:
|
||||
void SetCheckBit(const IR::U1& value);
|
||||
IR::U1 GetCFlag();
|
||||
void SetNZCV(const IR::NZCV& nzcv);
|
||||
void OrQC(const IR::U1& value);
|
||||
|
||||
void CallSupervisor(u32 imm);
|
||||
void ExceptionRaised(Exception exception);
|
||||
|
||||
@@ -341,6 +341,7 @@ bool Inst::ReadsFromFPSRCumulativeSaturationBit() const {
|
||||
|
||||
bool Inst::WritesToFPSRCumulativeSaturationBit() const {
|
||||
switch (op) {
|
||||
case Opcode::A64OrQC:
|
||||
case Opcode::VectorSignedSaturatedNarrowToSigned16:
|
||||
case Opcode::VectorSignedSaturatedNarrowToSigned32:
|
||||
case Opcode::VectorSignedSaturatedNarrowToSigned64:
|
||||
|
||||
@@ -59,6 +59,7 @@ A64OPC(SetQ, T::Void, T::A64Vec,
|
||||
A64OPC(SetSP, T::Void, T::U64 )
|
||||
A64OPC(SetFPCR, T::Void, T::U32 )
|
||||
A64OPC(SetFPSR, T::Void, T::U32 )
|
||||
A64OPC(OrQC, T::Void, T::U1 )
|
||||
A64OPC(SetPC, T::Void, T::U64 )
|
||||
A64OPC(CallSupervisor, T::Void, T::U32 )
|
||||
A64OPC(ExceptionRaised, T::Void, T::U64, T::U64 )
|
||||
|
||||
Reference in New Issue
Block a user