mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 22:36:34 +00:00
Fix small precision error on CPU reciprocal estimate instructions (#3061)
* Fix small precision error on CPU reciprocal estimate instructions * PPTC version bump
This commit is contained in:
parent
20ce37dee6
commit
bd412afb9f
@ -3613,7 +3613,7 @@ namespace ARMeilleure.Instructions
|
|||||||
Operand masked = context.AddIntrinsic(Intrinsic.X86Pand, value, expMask);
|
Operand masked = context.AddIntrinsic(Intrinsic.X86Pand, value, expMask);
|
||||||
Operand isNaNInf = context.AddIntrinsic(Intrinsic.X86Pcmpeqd, masked, expMask);
|
Operand isNaNInf = context.AddIntrinsic(Intrinsic.X86Pcmpeqd, masked, expMask);
|
||||||
|
|
||||||
value = context.AddIntrinsic(Intrinsic.X86Paddw, value, roundMask);
|
value = context.AddIntrinsic(Intrinsic.X86Paddd, value, roundMask);
|
||||||
value = context.AddIntrinsic(Intrinsic.X86Pand, value, truncMask);
|
value = context.AddIntrinsic(Intrinsic.X86Pand, value, truncMask);
|
||||||
|
|
||||||
return context.AddIntrinsic(Intrinsic.X86Blendvps, value, oValue, isNaNInf);
|
return context.AddIntrinsic(Intrinsic.X86Blendvps, value, oValue, isNaNInf);
|
||||||
|
@ -27,7 +27,7 @@ namespace ARMeilleure.Translation.PTC
|
|||||||
private const string OuterHeaderMagicString = "PTCohd\0\0";
|
private const string OuterHeaderMagicString = "PTCohd\0\0";
|
||||||
private const string InnerHeaderMagicString = "PTCihd\0\0";
|
private const string InnerHeaderMagicString = "PTCihd\0\0";
|
||||||
|
|
||||||
private const uint InternalVersion = 3034; //! To be incremented manually for each change to the ARMeilleure project.
|
private const uint InternalVersion = 3061; //! To be incremented manually for each change to the ARMeilleure project.
|
||||||
|
|
||||||
private const string ActualDir = "0";
|
private const string ActualDir = "0";
|
||||||
private const string BackupDir = "1";
|
private const string BackupDir = "1";
|
||||||
|
Loading…
Reference in New Issue
Block a user