From 498e7156b4d4daab7867e0800c8733663ae72fab Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Mon, 15 Aug 2022 15:48:01 -0700 Subject: [PATCH] Remove the handling of `cmpps` in `produces_const` (#4714) https://github.com/bytecodealliance/wasmtime/pull/4714 --- cranelift/codegen/src/isa/x64/inst/mod.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cranelift/codegen/src/isa/x64/inst/mod.rs b/cranelift/codegen/src/isa/x64/inst/mod.rs index 6e730d74a4..5a51424a43 100644 --- a/cranelift/codegen/src/isa/x64/inst/mod.rs +++ b/cranelift/codegen/src/isa/x64/inst/mod.rs @@ -782,18 +782,6 @@ impl Inst { || *op == SseOpcode::Pcmpeqq) } - Self::XmmRmRImm { - op, - src1, - src2, - imm, - .. - } => { - src2.to_reg() == Some(src1.clone()) - && (*op == SseOpcode::Cmppd || *op == SseOpcode::Cmpps) - && *imm == FcmpImm::Equal.encode() - } - _ => false, } }