[Bug target/47715] [x32] TLS doesn't work
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 25 21:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715
--- Comment #9 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-02-25 21:25:24 UTC ---
Author: hjl
Date: Fri Feb 25 21:25:20 2011
New Revision: 170504
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170504
Log:
Use ptr_mode instead of Pmode with UNSPEC_TP.
2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR target/47715
* config/i386/i386.c (get_thread_pointer): Use ptr_mode
instead of Pmode with UNSPEC_TP.
* config/i386/i386.md (tp_seg): Removed.
(*load_tp_<mode>): Replace :P with :PTR.
(*add_tp_<mode>): Likewise.
(*load_tp_x32): New.
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/config/i386/i386.c
branches/x32/gcc/config/i386/i386.md
More information about the Gcc-bugs
mailing list