aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2009-05-21 20:22:45 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2009-05-21 20:22:45 +0000
commit9a2b090ce066189030d47ece3022ed6c6d885bee (patch)
tree28433164f0018c86df7f651cfc3e189a43b7d2a5 /gcc
parent33b92c9d47852cef1981cae8f28b29b7eac627d3 (diff)
downloadgcc-9a2b090ce066189030d47ece3022ed6c6d885bee.zip
gcc-9a2b090ce066189030d47ece3022ed6c6d885bee.tar.gz
gcc-9a2b090ce066189030d47ece3022ed6c6d885bee.tar.bz2
mips.md (*extzv_trunc<mode>_exts): Turn into a regular pattern from a template and rename it ...
* config/mips/mips.md (*extzv_trunc<mode>_exts): Turn into a regular pattern from a template and rename it ... (*extzv_truncsi_exts): ... to this. From-SVN: r147778
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.md8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a06f118..5120767 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-21 Adam Nemet <anemet@caviumnetworks.com>
+
+ * config/mips/mips.md (*extzv_trunc<mode>_exts): Turn into a
+ regular pattern from a template and rename it ...
+ (*extzv_truncsi_exts): ... to this.
+
2009-05-21 Richard Guenther <rguenther@suse.de>
* cgraph.h (struct cgraph_node): Remove inline_decl member.
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index 81ed584..e571614 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -3491,16 +3491,16 @@
[(set_attr "type" "arith")
(set_attr "mode" "<MODE>")])
-(define_insn "*extzv_trunc<mode>_exts"
- [(set (match_operand:GPR 0 "register_operand" "=d")
- (truncate:GPR
+(define_insn "*extzv_truncsi_exts"
+ [(set (match_operand:SI 0 "register_operand" "=d")
+ (truncate:SI
(zero_extract:DI (match_operand:DI 1 "register_operand" "d")
(match_operand 2 "const_int_operand" "")
(match_operand 3 "const_int_operand" ""))))]
"ISA_HAS_EXTS && TARGET_64BIT && IN_RANGE (INTVAL (operands[2]), 32, 63)"
"exts\t%0,%1,%3,31"
[(set_attr "type" "arith")
- (set_attr "mode" "<MODE>")])
+ (set_attr "mode" "SI")])
(define_expand "insv"