From c617339332b3d31beb65aa35b5e4dca1f9c67824 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 6 Oct 2016 00:02:05 +0200 Subject: [PATCH] re PR target/77874 (two problems with gcc.target/i386/avx-1.c) PR target/77874 * config/i386/sse.md (3): Remove wrong assert. (float2: Use as operand 1 constraint. From-SVN: r240814 --- gcc/ChangeLog | 8 ++++++++ gcc/config/i386/sse.md | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9be5e48c567..36cbd0ff8bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2016-10-05 Uros Bizjak + + PR target/77874 + * config/i386/sse.md (3): + Remove wrong assert. + (float2: + Use as operand 1 constraint. + 2016-10-05 Jakub Jelinek PR sanitizer/66343 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 235969ab40e..026054d66fb 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -4666,7 +4666,7 @@ (define_insn "float2" [(set (match_operand:VF2_AVX512VL 0 "register_operand" "=v") (any_float:VF2_AVX512VL - (match_operand: 1 "nonimmediate_operand" "vm")))] + (match_operand: 1 "nonimmediate_operand" "")))] "TARGET_AVX512DQ" "vcvtqq2pd\t{%1, %0|%0, %1}" [(set_attr "type" "ssecvt") @@ -11302,7 +11302,6 @@ gcc_assert (TARGET_AVX); case MODE_V4SF: gcc_assert (TARGET_SSE); - tmp = "andnps"; break; @@ -11420,7 +11419,6 @@ gcc_assert (TARGET_AVX); case MODE_V4SF: gcc_assert (TARGET_SSE); - gcc_assert (!); tmp = "ps"; break; -- 2.30.2