aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instructions/InstEmitSimdCmp.cs
diff options
context:
space:
mode:
authorLDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>2019-04-03 14:21:22 +0200
committergdkchan <gab.dark.100@gmail.com>2019-04-03 09:21:22 -0300
commitfebc2ad6f492972243f0d8918337f08e7bd395ee (patch)
tree0d4630e5004c997fb5618c71d884c12c73617a51 /ChocolArm64/Instructions/InstEmitSimdCmp.cs
parent464ec7ced8bd8dc9ea8e4021cf602e6caedfffcf (diff)
Sse optimized all the fp to integer conversion instructions (signed) with Tests (signed & unsigned). (#655)
* Update CpuTestSimdCvt.cs * Update CpuTestSimd.cs * Update CpuTestSimdShImm.cs * Update InstEmitSimdCvt.cs * Update InstEmitSimdMove.cs * Update InstEmitSimdCmp.cs * Update VectorHelper.cs * Update InstEmitSimdHelper.cs * Update OpCodeTable.cs * Update InstEmitSimdCvt.cs * Update InstEmitSimdHelper.cs * Update InstEmitSimdMove.cs
Diffstat (limited to 'ChocolArm64/Instructions/InstEmitSimdCmp.cs')
-rw-r--r--ChocolArm64/Instructions/InstEmitSimdCmp.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ChocolArm64/Instructions/InstEmitSimdCmp.cs b/ChocolArm64/Instructions/InstEmitSimdCmp.cs
index e6b33f79..d54edb7e 100644
--- a/ChocolArm64/Instructions/InstEmitSimdCmp.cs
+++ b/ChocolArm64/Instructions/InstEmitSimdCmp.cs
@@ -563,7 +563,7 @@ namespace ChocolArm64.Instructions
if (cmpWithZero)
{
- VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
+ VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
}
else
{
@@ -574,7 +574,7 @@ namespace ChocolArm64.Instructions
context.EmitLdvectmp();
context.EmitCall(typeof(Sse2).GetMethod(nameof(Sse2.CompareOrderedScalar), typesCmp));
- VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
+ VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
context.EmitCall(typeof(Sse2).GetMethod(nameof(Sse2.CompareEqualOrderedScalar), typesCmp));
@@ -839,7 +839,7 @@ namespace ChocolArm64.Instructions
}
else
{
- VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
+ VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
}
if (isLeOrLt)