diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-01-29 19:59:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 23:59:34 +0100 |
commit | bd412afb9fdf859643e26d2668874e3dc9cd41df (patch) | |
tree | 73c9534e6565aa336e0de918a488691afa45952c | |
parent | 20ce37dee6158ede18ad699338ecea083728423b (diff) |
Fix small precision error on CPU reciprocal estimate instructions (#3061)1.1.13
* Fix small precision error on CPU reciprocal estimate instructions
* PPTC version bump
-rw-r--r-- | ARMeilleure/Instructions/InstEmitSimdArithmetic.cs | 2 | ||||
-rw-r--r-- | ARMeilleure/Translation/PTC/Ptc.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Instructions/InstEmitSimdArithmetic.cs b/ARMeilleure/Instructions/InstEmitSimdArithmetic.cs index e290e706..9a632fd6 100644 --- a/ARMeilleure/Instructions/InstEmitSimdArithmetic.cs +++ b/ARMeilleure/Instructions/InstEmitSimdArithmetic.cs @@ -3613,7 +3613,7 @@ namespace ARMeilleure.Instructions Operand masked = context.AddIntrinsic(Intrinsic.X86Pand, value, 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); return context.AddIntrinsic(Intrinsic.X86Blendvps, value, oValue, isNaNInf); diff --git a/ARMeilleure/Translation/PTC/Ptc.cs b/ARMeilleure/Translation/PTC/Ptc.cs index 85e56e49..08000979 100644 --- a/ARMeilleure/Translation/PTC/Ptc.cs +++ b/ARMeilleure/Translation/PTC/Ptc.cs @@ -27,7 +27,7 @@ namespace ARMeilleure.Translation.PTC private const string OuterHeaderMagicString = "PTCohd\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 BackupDir = "1"; |