This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ia64 doloop_end_internal
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Jun 2002 08:19:19 +0930
- Subject: ia64 doloop_end_internal
Noticed while poking at loop code. Doesn't cause a problem, but the
rtl doesn't properly describe the machine instruction.
* config/ia64/ia64.md (doloop_end_internal): Correct rtl.
OK to commit?
Index: gcc/config/ia64/ia64.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ia64/ia64.md,v
retrieving revision 1.88
diff -u -p -r1.88 ia64.md
--- gcc/config/ia64/ia64.md 11 Jun 2002 12:22:36 -0000 1.88
+++ gcc/config/ia64/ia64.md 17 Jun 2002 10:27:40 -0000
@@ -4284,8 +4284,8 @@
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0) (if_then_else:DI (ne (match_dup 0) (const_int 0))
- (match_dup 0)
- (plus:DI (match_dup 0) (const_int -1))))]
+ (plus:DI (match_dup 0) (const_int -1))
+ (match_dup 0)))]
""
"br.cloop.sptk.few %l1"
[(set_attr "itanium_class" "br")
--
Alan Modra
IBM OzLabs - Linux Technology Centre