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: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2006 16:08:15 -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 #4 from drow at gcc dot gnu dot org 2006-07-12 16:08 -------
(In reply to comment #3)
> Is it OK to add (set_attr "can_delay" "no") for "tls_get_tp_<mode>"
> definition?
I think so, with suitable comment. Some future MIPS architecture may provide a
register for this, in which case the instruction will not trap, and putting it
in a delay slot will be valuable. But in the mean time, all existing MIPS ISAs
guarantee the trap.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28126