From 441e02a5c44543f0afba3549b9939e54bafcff11 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 23 May 2014 18:39:42 +0200 Subject: rs6000: Make all divide instructions one type This uses the attribute "size" to specify the differences: idiv -> div size=32 ldiv -> div size=64 It could use "dot" as well, but the current code doesn't handle that. From-SVN: r210869 --- gcc/config/rs6000/7xx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/rs6000/7xx.md') diff --git a/gcc/config/rs6000/7xx.md b/gcc/config/rs6000/7xx.md index 332a663f360..67f3d11c1fd 100644 --- a/gcc/config/rs6000/7xx.md +++ b/gcc/config/rs6000/7xx.md @@ -95,7 +95,7 @@ "ppc750_du,iu1_7xx") (define_insn_reservation "ppc750-idiv" 19 - (and (eq_attr "type" "idiv") + (and (eq_attr "type" "div") (eq_attr "cpu" "ppc750,ppc7400")) "ppc750_du,iu1_7xx*19") -- cgit v1.2.1