Re: [PATCH/AARCH64 5/6] Fix TLS for ILP32.

2014-02-25 Thread Yufeng Zhang
On 02/25/14 01:23, Andrew Pinski wrote: On Wed, Dec 4, 2013 at 10:12 AM, Yufeng Zhang wrote: On 12/03/13 21:24, Andrew Pinski wrote: [snip] diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 313517f..08fcc94 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/

Re: [PATCH/AARCH64 5/6] Fix TLS for ILP32.

2014-02-24 Thread Andrew Pinski
On Wed, Dec 4, 2013 at 10:12 AM, Yufeng Zhang wrote: > On 12/03/13 21:24, Andrew Pinski wrote: >> >> Hi, >>With ILP32, some simple usage of TLS variables causes an unrecognizable >> instruction due to needing to use SImode for loading pointers from memory. >> This fixes the three (tlsie_small,

Re: [PATCH/AARCH64 5/6] Fix TLS for ILP32.

2013-12-04 Thread Yufeng Zhang
On 12/03/13 21:24, Andrew Pinski wrote: Hi, With ILP32, some simple usage of TLS variables causes an unrecognizable instruction due to needing to use SImode for loading pointers from memory. This fixes the three (tlsie_small, tlsle_small, tlsdesc_small) patterns to support SImode for pointers.