aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390/2064.md
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2005-04-04 14:31:07 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2005-04-04 14:31:07 +0000
commited0e512af0dbb0e64b10fec759d0e08dbb77daab (patch)
tree99e151040fbe1abd111234390a210261f1e12f7f /gcc/config/s390/2064.md
parent78fb803804d8a9997ac0a6e7b6f76cbe12803eeb (diff)
downloadgcc-ed0e512af0dbb0e64b10fec759d0e08dbb77daab.zip
gcc-ed0e512af0dbb0e64b10fec759d0e08dbb77daab.tar.gz
gcc-ed0e512af0dbb0e64b10fec759d0e08dbb77daab.tar.bz2
2064.md ("z_mul", "z_inf"): New insn reservations.
2005-04-04 Andreas Krebbel <krebbel1@de.ibm.com> Adrian Straetling <straetling@de.ibm.com> * config/s390/2064.md ("z_mul", "z_inf"): New insn reservations. * config/s390/2084.md ("x_mul_hi", "x_mul_sidi", "x_div"): Likewise. * config/s390/s390.md ("imulhi", "imulsi", "imuldi"): Added to "type" attribute. ("imul"): Removed from "type" attribute. ("*muldi3_sign", "muldi3"): Changed type to imuldi. ("mulsi3/1", "mulsi3/3", "mulsi/4", "mulsidi3", "umulsidi3"): Changed type to imulsi. ("*mulsi3_sign", "mulsi3/2"): Changed type to imulhi. Co-Authored-By: Adrian Straetling <straetling@de.ibm.com> From-SVN: r97545
Diffstat (limited to 'gcc/config/s390/2064.md')
-rw-r--r--gcc/config/s390/2064.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/s390/2064.md b/gcc/config/s390/2064.md
index 211cd02..7ce6e4f 100644
--- a/gcc/config/s390/2064.md
+++ b/gcc/config/s390/2064.md
@@ -72,6 +72,16 @@
(eq_attr "type" "jsr"))
"z_e1*5,z_wr")
+(define_insn_reservation "z_mul" 5
+ (and (eq_attr "cpu" "g5,g6,z900")
+ (eq_attr "type" "imulsi,imulhi"))
+ "z_e1*5,z_wr")
+
+(define_insn_reservation "z_inf" 10
+ (and (eq_attr "cpu" "g5,g6,z900")
+ (eq_attr "type" "idiv,imuldi"))
+ "z_e1*10,z_wr")
+
;; For everything else we check the atype flag.
(define_insn_reservation "z_int" 1