This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r170504 - in /branches/x32/gcc: ChangeLog.x32 c...
- From: hjl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 25 Feb 2011 21:25:21 -0000
- Subject: r170504 - in /branches/x32/gcc: ChangeLog.x32 c...
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