From: Uros Bizjak Date: Thu, 31 May 2018 17:51:27 +0000 (+0200) Subject: sse.md (avx_vec_concat): Substitute concat_tg_mode mode attribute with xtg_mode. X-Git-Tag: upstream/12.2.0~31275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9315097046c86e654871722e65f6da209e0c62a;p=platform%2Fupstream%2Fgcc.git sse.md (avx_vec_concat): Substitute concat_tg_mode mode attribute with xtg_mode. * config/i386/sse.md (avx_vec_concat): Substitute concat_tg_mode mode attribute with xtg_mode. (avx512dq_broadcast_1): Ditto. (concat_tg_mode): Remove mode attribute. From-SVN: r261031 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bdf916..a4563e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-05-31 Uros Bizjak + + * config/i386/sse.md (avx_vec_concat): + Substitute concat_tg_mode mode attribute with xtg_mode. + (avx512dq_broadcast_1): Ditto. + (concat_tg_mode): Remove mode attribute. + 2018-05-31 Martin Sebor PR c/82063 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index dd65e57..0825894 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -913,11 +913,6 @@ (V8DF "sd") (V4DF "sd") (V2DF "sd")]) ;; Tie mode of assembler operand to mode iterator -(define_mode_attr concat_tg_mode - [(V32QI "t") (V16HI "t") (V8SI "t") (V4DI "t") (V8SF "t") (V4DF "t") - (V64QI "g") (V32HI "g") (V16SI "g") (V8DI "g") (V16SF "g") (V8DF "g")]) - -;; Tie mode of assembler operand to mode iterator (define_mode_attr xtg_mode [(V16QI "x") (V8HI "x") (V4SI "x") (V2DI "x") (V4SF "x") (V2DF "x") (V32QI "t") (V16HI "t") (V8SI "t") (V4DI "t") (V8SF "t") (V4DF "t") @@ -18070,7 +18065,7 @@ (match_operand:<64x2mode> 1 "nonimmediate_operand" "v,m")))] "TARGET_AVX512DQ" "@ - vshuf64x2\t{$0x0, %1, %1, %0|%0, %1, %1, 0x0} + vshuf64x2\t{$0x0, %1, %1, %0|%0, %1, %1, 0x0} vbroadcast64x2\t{%1, %0|%0, %1}" [(set_attr "type" "ssemov") (set_attr "prefix_extra" "1") @@ -18919,21 +18914,21 @@ switch (which_alternative) { case 0: - return "vinsert\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; + return "vinsert\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; case 1: if ( == 64) { if (TARGET_AVX512DQ && GET_MODE_SIZE (mode) == 4) - return "vinsert32x8\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; + return "vinsert32x8\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; else - return "vinsert64x4\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; + return "vinsert64x4\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; } else { if (TARGET_AVX512DQ && GET_MODE_SIZE (mode) == 8) - return "vinsert64x2\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; + return "vinsert64x2\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; else - return "vinsert32x4\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; + return "vinsert32x4\t{$0x1, %2, %1, %0|%0, %1, %2, 0x1}"; } case 2: case 3: