This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix minor PA TLS code generation bug
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: gmsoft at gentoo dot org
- Date: Thu, 1 Feb 2007 22:02:11 -0500 (EST)
- Subject: [committed] Fix minor PA TLS code generation bug
The enclosed change fixes a minor code generation problem when
generating PA 2.0 code. The ",w" completer is only used when
copying from cr11.
This problem was reported by Guy Martin.
Tested on hppa-unknown-linux-gnu. Installed to trunk and 4.2
branch.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2007-02-01 Guy Martin <gmsoft@gentoo.org>
* pa.md (tp_load): Correct mfctl instruction syntax.
--- config/pa/pa.md 2007-01-30 06:59:07.579391048 +0000
+++ config/pa/pa.md 2007-01-30 07:23:29.213188936 +0000
@@ -9854,7 +9854,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(unspec:SI [(const_int 0)] UNSPEC_TP))]
""
- "{mfctl|mfctl,w} %%cr27,%0"
+ "mfctl %%cr27,%0"
[(set_attr "type" "multi")
(set_attr "length" "4")])