On Fri, Mar 2, 2012 at 9:56 PM, H.J. Lu <hongjiu...@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.