mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 05:34:42 +01:00
frontend/ir_emitter: Add half-precision opcode for FPVectorEquals
This commit is contained in:
parent
557a01a787
commit
43fd2b400a
4 changed files with 12 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue