mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-03 17:52:56 +00:00
VFP: Implement VMOV (all variants)
This commit is contained in:
@@ -274,6 +274,22 @@ IR::Value IREmitter::ByteReverseDual(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::ByteReverseDual, {a});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::TransferToFP32(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::TransferToFP32, {a});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::TransferToFP64(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::TransferToFP64, {a});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::TransferFromFP32(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::TransferFromFP32, {a});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::TransferFromFP64(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::TransferFromFP64, {a});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::FPAbs32(const IR::Value& a) {
|
||||
return Inst(IR::Opcode::FPAbs32, {a});
|
||||
}
|
||||
|
||||
@@ -92,6 +92,10 @@ public:
|
||||
IR::Value ByteReverseHalf(const IR::Value& a);
|
||||
IR::Value ByteReverseDual(const IR::Value& a);
|
||||
|
||||
IR::Value TransferToFP32(const IR::Value& a);
|
||||
IR::Value TransferToFP64(const IR::Value& a);
|
||||
IR::Value TransferFromFP32(const IR::Value& a);
|
||||
IR::Value TransferFromFP64(const IR::Value& a);
|
||||
IR::Value FPAbs32(const IR::Value& a);
|
||||
IR::Value FPAbs64(const IR::Value& a);
|
||||
IR::Value FPAdd32(const IR::Value& a, const IR::Value& b, bool fpscr_controlled);
|
||||
|
||||
@@ -60,6 +60,10 @@ OPCODE(ByteReverseHalf, T::U16, T::U16
|
||||
OPCODE(ByteReverseDual, T::U64, T::U64 )
|
||||
|
||||
// Floating-point
|
||||
OPCODE(TransferToFP32, T::F32, T::U32 )
|
||||
OPCODE(TransferToFP64, T::F64, T::U64 )
|
||||
OPCODE(TransferFromFP32, T::U32, T::F32 )
|
||||
OPCODE(TransferFromFP64, T::U64, T::F64 )
|
||||
OPCODE(FPAbs32, T::F32, T::F32 )
|
||||
OPCODE(FPAbs64, T::F64, T::F64 )
|
||||
OPCODE(FPAdd32, T::F32, T::F32, T::F32 )
|
||||
|
||||
Reference in New Issue
Block a user