From d826ea32f6c98b59cbcb4140751374c583616239 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 19 Jul 2019 16:36:49 +0200 Subject: [PATCH] re PR target/91204 (ICE in expand_expr_real_2, at expr.c:9215 with -O3) PR target/91204 * config/i386/mmx.md (one_cmpl2): New expander. From-SVN: r273604 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/mmx.md | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ccbcd1372f..8824ffd7b6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-19 Uroš Bizjak + + PR target/91204 + * config/i386/mmx.md (one_cmpl2): New expander. + 2019-07-19 Jan Hubicka PR ipa/91194 diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md index 4c71e66e660..c78b33b510a 100644 --- a/gcc/config/i386/mmx.md +++ b/gcc/config/i386/mmx.md @@ -1158,6 +1158,14 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(define_expand "one_cmpl2" + [(set (match_operand:MMXMODEI 0 "register_operand") + (xor:MMXMODEI + (match_operand:MMXMODEI 1 "register_operand") + (match_dup 2)))] + "TARGET_MMX_WITH_SSE" + "operands[2] = force_reg (mode, CONSTM1_RTX (mode));") + (define_insn "mmx_andnot3" [(set (match_operand:MMXMODEI 0 "register_operand" "=y,x,Yv") (and:MMXMODEI -- 2.30.2