mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 04:04:30 +01:00
A64: Implement FABD in terms of existing IR instructions
Fixes NaN issue. Closes #306.
This commit is contained in:
parent
1dbe9d95e6
commit
e18fca17dc
6 changed files with 5 additions and 42 deletions
|
|
@ -384,7 +384,7 @@ bool TranslatorVisitor::FABD_4(bool Q, bool sz, Vec Vm, Vec Vn, Vec Vd) {
|
|||
|
||||
const IR::U128 operand1 = V(datasize, Vn);
|
||||
const IR::U128 operand2 = V(datasize, Vm);
|
||||
const IR::U128 result = ir.FPVectorAbsoluteDifference(esize, operand1, operand2);
|
||||
const IR::U128 result = ir.FPVectorAbs(esize, ir.FPVectorSub(esize, operand1, operand2));
|
||||
|
||||
V(datasize, Vd, result);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue