From: Jakub Jelinek Date: Wed, 24 Aug 2022 07:57:09 +0000 (+0200) Subject: i386: Fix up mode iterators that weren't expanded [PR106721] X-Git-Tag: release-12.2.mpacbti-rel1~472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0784ef5e2a7ea72614aa600dccb29e926e46bab6;p=thirdparty%2Fgcc.git i386: Fix up mode iterators that weren't expanded [PR106721] Currently, when md file reader sees and something is valid mode (or code) attribute but which doesn't include case for the current mode (or code), it just keeps the untouched. I went through all cases matching <[a-zA-Z] in tmp-mddump.md after make mddump. One of the cases was related to the V*HF mode additions and there was one typo. 2022-08-24 Jakub Jelinek PR target/106721 * config/i386/sse.md (i128vldq): Add V16HF entry. (avx512er_vmrcp28): Fix typo, mask_opernad3 -> mask_operand3. (cherry picked from commit 846e5c009e360f0c4fe58ff0d3aee03ebe3ca1a9) --- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 2ce1aed4ad98..407bcd8f8379 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -1215,7 +1215,7 @@ ;; For 256-bit modes for TARGET_AVX512VL && TARGET_AVX512DQ ;; i32x4, f32x4, i64x2 or f64x2 suffixes. (define_mode_attr i128vldq - [(V8SF "f32x4") (V4DF "f64x2") + [(V16HF "i32x4") (V8SF "f32x4") (V4DF "f64x2") (V32QI "i32x4") (V16HI "i32x4") (V8SI "i32x4") (V4DI "i64x2")]) ;; Mix-n-match @@ -23424,7 +23424,7 @@ (match_operand:VF_128 2 "register_operand" "v") (const_int 1)))] "TARGET_AVX512ER" - "vrcp28\t{%1, %2, %0|%0, %2, %1}" + "vrcp28\t{%1, %2, %0|%0, %2, %1}" [(set_attr "length_immediate" "1") (set_attr "prefix" "evex") (set_attr "type" "sse")