public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-414] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi
@ 2022-05-13  9:31 Max Filippov
  0 siblings, 0 replies; only message in thread
From: Max Filippov @ 2022-05-13  9:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d543bac1631700f0da30d5ca555296f4938a82c6

commit r13-414-gd543bac1631700f0da30d5ca555296f4938a82c6
Author: Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Date:   Fri May 6 19:34:06 2022 +0900

    xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi
    
    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.

Diff:
---
 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")


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13  9:31 [gcc r13-414] xtensa: Rename deprecated extv/extzv insn patterns to extvsi/extzvsi 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).