* [PATCH 1/2] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi
@ 2022-05-06 10:34 Takayuki 'January June' Suwa
2022-05-13 9:32 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Takayuki 'January June' Suwa @ 2022-05-06 10:34 UTC (permalink / raw)
To: gcc-patches
These patterns were deprecated since GCC 4.8.
gcc/ChangeLog:
* config/xtensa/xtensa.md (extvsi, extvsi_internal, extzvsi,
extzvsi_internal): Rename from extv, extv_internal, extzv and
extzv_internal, respectively.
---
gcc/config/xtensa/xtensa.md | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md
index 3b61e5d4097..96e043b26b5 100644
--- a/gcc/config/xtensa/xtensa.md
+++ b/gcc/config/xtensa/xtensa.md
@@ -631,7 +631,7 @@
\f
;; Field extract instructions.
-(define_expand "extv"
+(define_expand "extvsi"
[(set (match_operand:SI 0 "register_operand" "")
(sign_extract:SI (match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "const_int_operand" "")
@@ -646,12 +646,12 @@
if (!lsbitnum_operand (operands[3], SImode))
FAIL;
- emit_insn (gen_extv_internal (operands[0], operands[1],
- operands[2], operands[3]));
+ emit_insn (gen_extvsi_internal (operands[0], operands[1],
+ operands[2], operands[3]));
DONE;
})
-(define_insn "extv_internal"
+(define_insn "extvsi_internal"
[(set (match_operand:SI 0 "register_operand" "=a")
(sign_extract:SI (match_operand:SI 1 "register_operand" "r")
(match_operand:SI 2 "sext_fldsz_operand" "i")
@@ -666,7 +666,7 @@
(set_attr "mode" "SI")
(set_attr "length" "3")])
-(define_expand "extzv"
+(define_expand "extzvsi"
[(set (match_operand:SI 0 "register_operand" "")
(zero_extract:SI (match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "const_int_operand" "")
@@ -675,12 +675,12 @@
{
if (!extui_fldsz_operand (operands[2], SImode))
FAIL;
- emit_insn (gen_extzv_internal (operands[0], operands[1],
- operands[2], operands[3]));
+ emit_insn (gen_extzvsi_internal (operands[0], operands[1],
+ operands[2], operands[3]));
DONE;
})
-(define_insn "extzv_internal"
+(define_insn "extzvsi_internal"
[(set (match_operand:SI 0 "register_operand" "=a")
(zero_extract:SI (match_operand:SI 1 "register_operand" "r")
(match_operand:SI 2 "extui_fldsz_operand" "i")
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi
2022-05-06 10:34 [PATCH 1/2] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi Takayuki 'January June' Suwa
@ 2022-05-13 9:32 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2022-05-13 9:32 UTC (permalink / raw)
To: Takayuki 'January June' Suwa; +Cc: GCC Patches
On Fri, May 6, 2022 at 3:37 AM Takayuki 'January June' Suwa via
Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
>
> These patterns were deprecated since GCC 4.8.
>
> gcc/ChangeLog:
>
> * config/xtensa/xtensa.md (extvsi, extvsi_internal, extzvsi,
> extzvsi_internal): Rename from extv, extv_internal, extzv and
> extzv_internal, respectively.
> ---
> gcc/config/xtensa/xtensa.md | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Regtested for target=xtensa-linux-uclibc, no new regressions.
Committed to master.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-13 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 10:34 [PATCH 1/2] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi Takayuki 'January June' Suwa
2022-05-13 9:32 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).