This is the mail archive of the 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, i386]: FIX PR 52698, reload failure with complex address

On Tue, Mar 27, 2012 at 7:20 PM, Richard Henderson <> wrote:
> On 03/27/12 09:37, Uros Bizjak wrote:
>>> > Now, in this particular case, there might be another option to
>>> > avoid this hassle completely: ?I understand that this UNSPEC is
>>> > simply a magic marker to make the address use the fs: or gs:
>>> > segment override, right? ? Now that GCC supports address spaces,
>>> > it might be possible to model fs:/gs: relative addresses instead
>>> > by using a non-standard address space ...
>> This is an interesting idea, I will look into it.
> Generallized segment overrides via non-standard address spaces
> has been on my to-do list for quite a while...

I have looked a bit to implement this functionality, but address
spaces are somehow coupled with a keyword that describes special
address space. I guess we can't just reuse __thread keyword for this

Ulrich, can you please provide some guidelines on how you think this
proposed functionality should be implemented?


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