From: Atsushi Nemoto Date: Sun, 30 Jul 2006 10:56:07 +0000 (+0900) Subject: PR target/28126 (partial fix) X-Git-Tag: releases/gcc-4.2.0~1916 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56ee081b4a698df0959b6a312694846b56964d2d;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32c5848fc05b..70f04aff9495 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 1ddc3726fc24..655cfbfa3791 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.