This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47715] [x32] TLS doesn't work


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715

--- Comment #19 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-07-29 16:56:03 UTC ---
Author: hjl
Date: Fri Jul 29 16:55:59 2011
New Revision: 176940

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176940
Log:
Revert "Use ptr_mode instead of Pmode with UNSPEC_TP".

2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

    Revert
    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]