From: Jakub Jelinek Date: Mon, 7 Jan 2019 09:52:29 +0000 (+0100) Subject: sse.md (vec_extract): Use V_256_512 iterator instead of... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d471bdec413c333f2067c0723c61ad045f3589e3;p=gcc.git sse.md (vec_extract): Use V_256_512 iterator instead of V_512 and TARGET_AVX instead of... * config/i386/sse.md (vec_extract): Use V_256_512 iterator instead of V_512 and TARGET_AVX instead of TARGET_AVX512F as condition. From-SVN: r267639 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a17c6c7b020..3c7bb497cf4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2019-01-07 Jakub Jelinek + * config/i386/sse.md (vec_extract): Use + V_256_512 iterator instead of V_512 and TARGET_AVX instead of + TARGET_AVX512F as condition. + PR debug/88723 * dwarf2out.c (const_ok_for_output_1): Remove redundant call to const_not_ok_for_debug_p target hook. diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 9c192e9284f..ec699d6f59c 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -8362,9 +8362,9 @@ (define_expand "vec_extract" [(match_operand: 0 "nonimmediate_operand") - (match_operand:V_512 1 "register_operand") + (match_operand:V_256_512 1 "register_operand") (match_operand 2 "const_0_to_1_operand")] - "TARGET_AVX512F" + "TARGET_AVX" { if (INTVAL (operands[2])) emit_insn (gen_vec_extract_hi_ (operands[0], operands[1]));