From 56ee081b4a698df0959b6a312694846b56964d2d Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto Date: Sun, 30 Jul 2006 19:56:07 +0900 Subject: [PATCH] PR target/28126 (partial fix) gcc/ 2006-07-25 Atsushi Nemoto PR target/28126 (partial fix) * config/mips/mips.md (tls_get_tp_): Set can_delay to no. From-SVN: r115819 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32c5848fc05..70f04aff949 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-07-30 Atsushi Nemoto + + PR target/28126 (partial fix) + * config/mips/mips.md (tls_get_tp_): Set can_delay to no. + 2006-07-28 Jan Hubicka PR rtl-optimization/28071 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 1ddc3726fc2..655cfbfa379 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -5458,6 +5458,9 @@ "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" "")]) ; The MIPS Paired-Single Floating Point and MIPS-3D Instructions. -- 2.30.2