This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[itanium-sched-branch] Fix bug in bundling Itanium2 prefetch
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Dec 2002 16:43:42 -0500
- Subject: [itanium-sched-branch] Fix bug in bundling Itanium2 prefetch
The following patch fixes a compiler crash (in insn bundling) on the
usage of Itanium2 prefetch. The patch has been committed into the
branch.
Vlad
2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
* config/ia64/itanium2.md (lfetch): Change the insn reservation.
Index: config/ia64/itanium2.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ia64/Attic/itanium2.md,v
retrieving revision 1.1.2.1
diff -c -p -r1.1.2.1 itanium2.md
*** config/ia64/itanium2.md 17 Oct 2002 22:28:38 -0000 1.1.2.1
--- config/ia64/itanium2.md 17 Dec 2002 21:34:49 -0000
***************
*** 909,915 ****
(and (and (eq_attr "cpu" "itanium2")
(eq_attr "itanium_class" "lfetch"))
(eq (symbol_ref "bundling_p") (const_int 0)))
! "2_M+2_only_ui0")
(define_insn_reservation "2_nop_m" 0
(and (and (eq_attr "cpu" "itanium2")
--- 909,915 ----
(and (and (eq_attr "cpu" "itanium2")
(eq_attr "itanium_class" "lfetch"))
(eq (symbol_ref "bundling_p") (const_int 0)))
! "2_M_only_um01")
(define_insn_reservation "2_nop_m" 0
(and (and (eq_attr "cpu" "itanium2")