aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/xtensa
diff options
context:
space:
mode:
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>2022-05-06 19:34:06 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-13 02:31:24 -0700
commitd543bac1631700f0da30d5ca555296f4938a82c6 (patch)
tree01a912ce487597bcb9d404f1f2fe3b24ba262d2f /gcc/config/xtensa
parent7b844206ec51931d0a81aa4e4fa3b62f6ecef0ca (diff)
downloadgcc-d543bac1631700f0da30d5ca555296f4938a82c6.zip
gcc-d543bac1631700f0da30d5ca555296f4938a82c6.tar.gz
gcc-d543bac1631700f0da30d5ca555296f4938a82c6.tar.bz2
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.
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r--gcc/config/xtensa/xtensa.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md
index 3b61e5d..96e043b 100644
--- a/gcc/config/xtensa/xtensa.md
+++ b/gcc/config/xtensa/xtensa.md
@@ -631,7 +631,7 @@
;; 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")