[PATCH] Add implementations of __readfs{byte, word, dword, qword} to Intrin.h

Hans Wennborg hans at chromium.org
Thu Jan 23 14:57:29 PST 2014


On Thu, Jan 23, 2014 at 2:03 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Thu, Jan 23, 2014 at 2:01 PM, Hans Wennborg <hans at chromium.org> wrote:
>>
>>   - casting __offset to size_t to make sure it's pointer-sized
>
>
> size_t isn't necessarily pointer-sized? I think you want 'uintptr_t'.

I wasn't sure uintptr_t was going to be available, but it seems this
header pulls in enough stuff that it is, so let's go with that.

Reid: are you happy with this too?



More information about the cfe-commits mailing list