mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-27 00:32:57 +00:00
ir: Add opcodes for vector conversion of u32/u64 to floating-point
This commit is contained in:
@@ -1620,6 +1620,14 @@ U128 IREmitter::FPVectorS64ToDouble(const U128& a) {
|
||||
return Inst<U128>(Opcode::FPVectorS64ToDouble, a);
|
||||
}
|
||||
|
||||
U128 IREmitter::FPVectorU32ToSingle(const U128& a) {
|
||||
return Inst<U128>(Opcode::FPVectorU32ToSingle, a);
|
||||
}
|
||||
|
||||
U128 IREmitter::FPVectorU64ToDouble(const U128& a) {
|
||||
return Inst<U128>(Opcode::FPVectorU64ToDouble, a);
|
||||
}
|
||||
|
||||
void IREmitter::Breakpoint() {
|
||||
Inst(Opcode::Breakpoint);
|
||||
}
|
||||
|
||||
@@ -288,6 +288,8 @@ public:
|
||||
U128 FPVectorSub(size_t esize, const U128& a, const U128& b);
|
||||
U128 FPVectorS32ToSingle(const U128& a);
|
||||
U128 FPVectorS64ToDouble(const U128& a);
|
||||
U128 FPVectorU32ToSingle(const U128& a);
|
||||
U128 FPVectorU64ToDouble(const U128& a);
|
||||
|
||||
void Breakpoint();
|
||||
|
||||
|
||||
@@ -421,6 +421,8 @@ OPCODE(FPVectorS32ToSingle, T::U128, T::U128
|
||||
OPCODE(FPVectorS64ToDouble, T::U128, T::U128 )
|
||||
OPCODE(FPVectorSub32, T::U128, T::U128, T::U128 )
|
||||
OPCODE(FPVectorSub64, T::U128, T::U128, T::U128 )
|
||||
OPCODE(FPVectorU32ToSingle, T::U128, T::U128 )
|
||||
OPCODE(FPVectorU64ToDouble, T::U128, T::U128 )
|
||||
|
||||
// A32 Memory access
|
||||
A32OPC(ClearExclusive, T::Void, )
|
||||
|
||||
Reference in New Issue
Block a user