This is the mail archive of the gcc-patches@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]

Re: [PATCH 05/10] addr32: Load TP into register for TLS_MODEL_LOCAL_EXEC modes in x32


On Fri, Mar 2, 2012 at 9:56 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:

> Since the 0x67 address prefix only zeros out the upper 32bits of the
> (reg) part in address fs:(reg), we can't use fs:(reg) as memory operand
> for x32 with Pmode == SImode. ?We have to load the address into a
> register first and use it as memory operand. ?Tested on Linux/x86-64.
> OK for trunk?

This patch won't be needed when TARGET_TLS_DIRECT_SEG_REFS will be
cleared, as suggested in [1].

[1] http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00252.html

Uros.


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