PR target/28126 (partial fix)
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 30 Jul 2006 10:56:07 +0000 (19:56 +0900)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 30 Jul 2006 10:56:07 +0000 (10:56 +0000)
gcc/
2006-07-25  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>

PR target/28126 (partial fix)
* config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.

From-SVN: r115819

gcc/ChangeLog
gcc/config/mips/mips.md

index 32c5848..70f04af 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-30  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
+
+       PR target/28126 (partial fix)
+       * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
+
 2006-07-28  Jan Hubicka  <jh@suse.cz>
 
        PR rtl-optimization/28071
index 1ddc372..655cfbf 100644 (file)
   "HAVE_AS_TLS && !TARGET_MIPS16"
   ".set\tpush\;.set\tmips32r2\t\;rdhwr\t%0,$29\;.set\tpop"
   [(set_attr "type" "unknown")
+   ; Since rdhwr always generates a trap for now, putting it in a delay
+   ; slot would make the kernel's emulation of it much slower.
+   (set_attr "can_delay" "no")
    (set_attr "mode" "<MODE>")])
 \f
 ; The MIPS Paired-Single Floating Point and MIPS-3D Instructions.