From 589f11c2f7612825b95ac8c3104518dd3141cd62 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Sun, 16 Feb 2020 13:48:59 +0000 Subject: [PATCH] Use ConstF rather than creating an operand. (useful for pooling in future) --- ARMeilleure/Instructions/InstEmitSimdCmp32.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ARMeilleure/Instructions/InstEmitSimdCmp32.cs b/ARMeilleure/Instructions/InstEmitSimdCmp32.cs index 219c0f7cad..3b2483ce57 100644 --- a/ARMeilleure/Instructions/InstEmitSimdCmp32.cs +++ b/ARMeilleure/Instructions/InstEmitSimdCmp32.cs @@ -133,11 +133,11 @@ namespace ARMeilleure.Instructions if (type == OperandType.FP64) { - return context.Call(f64, m, new Operand(0.0), one); + return context.Call(f64, m, ConstF(0.0), one); } else { - return context.Call(f32, m, new Operand(0.0f), one); + return context.Call(f32, m, ConstF(0.0f), one); } }); }