This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/28126] gcc moves an expensive instruction outside of a conditional



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]