This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28126] gcc moves an expensive instruction outside of a conditional
- From: "anemo at mba dot ocn dot ne dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2006 14:42:46 -0000
- Subject: [Bug target/28126] gcc moves an expensive instruction outside of a conditional
- References: <bug-28126-12556@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from anemo at mba dot ocn dot ne dot jp 2006-07-13 14:42 -------
Created an attachment (id=11881)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11881&action=view)
do not put rdhwr instruction on delay slot
With this patch, gcc 4.2 (with -O1, -O2) and gcc 4.1.1 with -O1 produces
expected code.
gcc 4.1 with -O2 still moves rdhwr outside of a conditional.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28126