From 504f4f4abfd34696699fbf484264404f3011ec17 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 25 Feb 2019 20:46:34 -0300 Subject: Remove all the calls to StaticCast methods (#605) --- ChocolArm64/Instructions/InstEmitSimdCmp.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ChocolArm64/Instructions/InstEmitSimdCmp.cs') diff --git a/ChocolArm64/Instructions/InstEmitSimdCmp.cs b/ChocolArm64/Instructions/InstEmitSimdCmp.cs index fdf3951e..c29dcd9d 100644 --- a/ChocolArm64/Instructions/InstEmitSimdCmp.cs +++ b/ChocolArm64/Instructions/InstEmitSimdCmp.cs @@ -382,7 +382,7 @@ namespace ChocolArm64.Instructions ILLabel lblNaN = new ILLabel(); ILLabel lblEnd = new ILLabel(); - EmitLdvecWithCastToDouble(context, op.Rn); + context.EmitLdvec(op.Rn); context.Emit(OpCodes.Dup); context.EmitStvectmp(); @@ -393,7 +393,7 @@ namespace ChocolArm64.Instructions } else { - EmitLdvecWithCastToDouble(context, op.Rm); + context.EmitLdvec(op.Rm); } context.Emit(OpCodes.Dup); @@ -656,12 +656,12 @@ namespace ChocolArm64.Instructions if (!isLeOrLt) { - EmitLdvecWithCastToDouble(context, op.Rn); + context.EmitLdvec(op.Rn); } if (op is OpCodeSimdReg64 binOp) { - EmitLdvecWithCastToDouble(context, binOp.Rm); + context.EmitLdvec(binOp.Rm); } else { @@ -670,12 +670,12 @@ namespace ChocolArm64.Instructions if (isLeOrLt) { - EmitLdvecWithCastToDouble(context, op.Rn); + context.EmitLdvec(op.Rn); } context.EmitCall(typeof(Sse2).GetMethod(name, types)); - EmitStvecWithCastFromDouble(context, op.Rd); + context.EmitStvec(op.Rd); if (scalar) { -- cgit v1.2.3