From 2a2dea6b63ae600eb1d084c06d8a3ba42c66dd6b Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 12 May 2020 17:08:03 +0200 Subject: [PATCH] i386: Add V2SFmode NEG, ABS and logic insn patterns [PR95046] gcc/ChangeLog: PR target/95046 * config/i386/mmx.md (v2sf2): New insn pattern. (*mmx_v2sf2): New insn_and_split pattern. (*mmx_nabsv2sf2): Ditto. (*mmx_andnotv2sf3): New insn pattern. (*mmx_v2sf3): Ditto. * config/i386/i386.md (absneg_op): New code attribute. * config/i386/i386.c (ix86_build_const_vector): Handle V2SFmode. (ix86_build_signbit_mask): Ditto. testsuite/ChangeLog: PR target/95046 * gcc.target/i386/pr95046-2.c: New test. --- gcc/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86fa5298110..951596fe9b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2020-05-12 Uroš Bizjak + + PR target/95046 + * config/i386/mmx.md (v2sf2): New insn pattern. + (*mmx_v2sf2): New insn_and_split pattern. + (*mmx_nabsv2sf2): Ditto. + (*mmx_andnotv2sf3): New insn pattern. + (*mmx_v2sf3): Ditto. + * config/i386/i386.md (absneg_op): New code attribute. + * config/i386/i386.c (ix86_build_const_vector): Handle V2SFmode. + (ix86_build_signbit_mask): Ditto. + 2020-05-12 Richard Biener * tree-ssa-live.c (remove_unused_locals): Remove dead debug -- 2.30.2