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