[PATCH] [AArch64] Change int64_t from 'long long int' to 'long int' for AArch64 target.

Tim Northover t.p.northover at gmail.com
Fri Feb 21 00:26:16 PST 2014


Hi Ana,

> The problem is the word size defined as 64 bits in this gcc header file:
>         $GCC48/aarch64-linux-gnu/libc/usr/include/bits/wordsize.h
>
> It should be 32 bits.

That would change int64_t to "long long" on AArch64 Linux wouldn't it?
I think it's entirely intentional that int64_t is long (it is on other
64-bit platforms). We've probably just got to cope with the platform
differences in our arm_neon.h and clang.

Cheers.

Tim.



More information about the llvm-commits mailing list