mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-04 01:56:32 +00:00
frontend/ir_emitter: Add half-precision opcode for FPVectorEquals
This commit is contained in:
@@ -2276,6 +2276,8 @@ U128 IREmitter::FPVectorDiv(size_t esize, const U128& a, const U128& b) {
|
||||
|
||||
U128 IREmitter::FPVectorEqual(size_t esize, const U128& a, const U128& b) {
|
||||
switch (esize) {
|
||||
case 16:
|
||||
return Inst<U128>(Opcode::FPVectorEqual16, a, b);
|
||||
case 32:
|
||||
return Inst<U128>(Opcode::FPVectorEqual32, a, b);
|
||||
case 64:
|
||||
|
||||
@@ -339,6 +339,7 @@ bool Inst::ReadsFromAndWritesToFPSRCumulativeExceptionBits() const {
|
||||
case Opcode::FPVectorAdd64:
|
||||
case Opcode::FPVectorDiv32:
|
||||
case Opcode::FPVectorDiv64:
|
||||
case Opcode::FPVectorEqual16:
|
||||
case Opcode::FPVectorEqual32:
|
||||
case Opcode::FPVectorEqual64:
|
||||
case Opcode::FPVectorFromSignedFixed32:
|
||||
|
||||
@@ -554,6 +554,7 @@ OPCODE(FPVectorAdd32, U128, U128
|
||||
OPCODE(FPVectorAdd64, U128, U128, U128 )
|
||||
OPCODE(FPVectorDiv32, U128, U128, U128 )
|
||||
OPCODE(FPVectorDiv64, U128, U128, U128 )
|
||||
OPCODE(FPVectorEqual16, U128, U128, U128 )
|
||||
OPCODE(FPVectorEqual32, U128, U128, U128 )
|
||||
OPCODE(FPVectorEqual64, U128, U128, U128 )
|
||||
OPCODE(FPVectorFromSignedFixed32, U128, U128, U8, U8 )
|
||||
|
||||
Reference in New Issue
Block a user