From 215884e9071b47b78323ce320c33df42e0c30708 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 12 Nov 2019 15:48:55 -0800 Subject: [PATCH] Simplify variable name: change `inst_` to `inst` --- cranelift/codegen/meta/src/isa/x86/encodings.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cranelift/codegen/meta/src/isa/x86/encodings.rs b/cranelift/codegen/meta/src/isa/x86/encodings.rs index bc0e26b87e8e..0f380ccbfe77 100644 --- a/cranelift/codegen/meta/src/isa/x86/encodings.rs +++ b/cranelift/codegen/meta/src/isa/x86/encodings.rs @@ -2069,8 +2069,8 @@ pub(crate) fn define( (I16, x86_pminu, &PMINUW[..], Some(use_sse41_simd)), (I32, x86_pminu, &PMINUD[..], Some(use_sse41_simd)), ] { - let inst_ = inst.bind(vector(*ty, sse_vector_size)); - e.enc_32_64_maybe_isap(inst_, rec_fa.opcodes(opcodes), *isa_predicate); + let inst = inst.bind(vector(*ty, sse_vector_size)); + e.enc_32_64_maybe_isap(inst, rec_fa.opcodes(opcodes), *isa_predicate); } // SIMD float comparisons @@ -2098,12 +2098,12 @@ pub(crate) fn define( (F32, fmax, &MAXPS[..]), (F64, fmax, &MAXPD[..]), ] { - let inst_ = inst.bind(vector(*ty, sse_vector_size)); - e.enc_both(inst_, rec_fa.opcodes(opcodes)); + let inst = inst.bind(vector(*ty, sse_vector_size)); + e.enc_both(inst, rec_fa.opcodes(opcodes)); } for (ty, inst, opcodes) in &[(F32, sqrt, &SQRTPS[..]), (F64, sqrt, &SQRTPD[..])] { - let inst_ = inst.bind(vector(*ty, sse_vector_size)); - e.enc_both(inst_, rec_furm.opcodes(opcodes)); + let inst = inst.bind(vector(*ty, sse_vector_size)); + e.enc_both(inst, rec_furm.opcodes(opcodes)); } // Reference type instructions