[PATCH 1/6] Thread pointer built-in functions, core parts
Chung-Lin Tang
cltang@codesourcery.com
Fri Jul 13 06:47:00 GMT 2012
On 2012/7/13 09:28 AM, Mike Stump wrote:
> On Jul 11, 2012, at 11:52 PM, Chung-Lin Tang wrote:
>> Core parts adding the new hooks. BUILT_IN_THREAD_POINTER and
>> BUILT_IN_SET_THREAD_POINTER are different hooks, as some targets only
>> implement one of them (thread pointer read).
>
> sorry seems a little overly dramatic. I would have thought that error would be enough,
I'll change to use error() instead.
> and then for the return value, maybe a const0_rtx for Pmode.
A little unsure what you mean. Are you referring to return const0_rtx
for default_expand_builtin_thread_pointer() instead of NULL?
Thanks,
Chung-Lin
More information about the Gcc-patches
mailing list