From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id A513A385701D; Mon, 29 Aug 2022 10:06:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A513A385701D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661767566; bh=StKqOZ6RqwuQOHoJ4Hl+CNXzBuZOp0yYrIR4jiLcbAo=; h=From:To:Subject:Date:From; b=Px2epj7Ve2GvblPOkNtOHO5fxwtLjxYKGFLyr7BBJolLDDDQcPyGTNfjy8YNUPUA1 STH7EsDgASE/4QLYAajNjSe7f476CEkkJzvaSimZxLvJni+DKTfT7/DirWuW3wohag 7Y7nXk7NRreebcrelE4TkUzHRi087KrU2Wld+t3Y= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8722] i386: Fix up mode iterators that weren't expanded [PR106721] X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 0ce3c8ea09d08469235c7c91975aab610bcda2c8 X-Git-Newrev: 0784ef5e2a7ea72614aa600dccb29e926e46bab6 Message-Id: <20220829100606.A513A385701D@sourceware.org> Date: Mon, 29 Aug 2022 10:06:06 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0784ef5e2a7ea72614aa600dccb29e926e46bab6 commit r12-8722-g0784ef5e2a7ea72614aa600dccb29e926e46bab6 Author: Jakub Jelinek Date: Wed Aug 24 09:57:09 2022 +0200 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: --- gcc/config/i386/sse.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 2ce1aed4ad9..407bcd8f837 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")