From 14d2ec8ffbc6116cee58d94f27ed1647c26e1471 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 27 Dec 2016 18:20:15 +0100 Subject: [PATCH] i386.md (VI_512): Remove. * config/i386/i386.md (VI_512): Remove. (vcond): Use VI_AVX512BW mode iterator instead of VI_512. (vcondu): Ditto. From-SVN: r243943 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/sse.md | 22 ++++++++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f40251bd529..1e894a20bf0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-12-27 Uros Bizjak + + * config/i386/i386.md (VI_512): Remove. + (vcond): Use VI_AVX512BW + mode iterator instead of VI_512. + (vcondu): Ditto. + 2016-12-27 Jakub Jelinek PR translation/78922 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 696822c3550..04ccd5faad2 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -521,12 +521,6 @@ ;; All 256bit vector integer modes (define_mode_iterator VI_256 [V32QI V16HI V8SI V4DI]) -;; All 512bit vector integer modes -(define_mode_iterator VI_512 - [(V64QI "TARGET_AVX512BW") - (V32HI "TARGET_AVX512BW") - V16SI V8DI]) - ;; Various 128bit vector integer mode combinations (define_mode_iterator VI12_128 [V16QI V8HI]) (define_mode_iterator VI14_128 [V16QI V4SI]) @@ -11249,17 +11243,17 @@ (set_attr "prefix" "orig,vex") (set_attr "mode" "TI")]) -(define_expand "vcond" +(define_expand "vcond" [(set (match_operand:V_512 0 "register_operand") (if_then_else:V_512 (match_operator 3 "" - [(match_operand:VI_512 4 "nonimmediate_operand") - (match_operand:VI_512 5 "general_operand")]) + [(match_operand:VI_AVX512BW 4 "nonimmediate_operand") + (match_operand:VI_AVX512BW 5 "general_operand")]) (match_operand:V_512 1) (match_operand:V_512 2)))] "TARGET_AVX512F && (GET_MODE_NUNITS (mode) - == GET_MODE_NUNITS (mode))" + == GET_MODE_NUNITS (mode))" { bool ok = ix86_expand_int_vcond (operands); gcc_assert (ok); @@ -11315,17 +11309,17 @@ DONE; }) -(define_expand "vcondu" +(define_expand "vcondu" [(set (match_operand:V_512 0 "register_operand") (if_then_else:V_512 (match_operator 3 "" - [(match_operand:VI_512 4 "nonimmediate_operand") - (match_operand:VI_512 5 "nonimmediate_operand")]) + [(match_operand:VI_AVX512BW 4 "nonimmediate_operand") + (match_operand:VI_AVX512BW 5 "nonimmediate_operand")]) (match_operand:V_512 1 "general_operand") (match_operand:V_512 2 "general_operand")))] "TARGET_AVX512F && (GET_MODE_NUNITS (mode) - == GET_MODE_NUNITS (mode))" + == GET_MODE_NUNITS (mode))" { bool ok = ix86_expand_int_vcond (operands); gcc_assert (ok); -- 2.30.2