Re: Target attribute hooks questions

2015-05-05 Thread Kyrill Tkachov
Hi Christian, On 05/05/15 15:25, Christian Bruel wrote: Hi Kyrill, you are right it's not easy to get its way among all those macros, my main source of inspiration for ARM was the x86 implementation. Yeah, I've been looking at that and rs6000 for some perspective. You can have a look at th

Re: Target attribute hooks questions

2015-05-05 Thread Christian Bruel
Hi Kyrill, you are right it's not easy to get its way among all those macros, my main source of inspiration for ARM was the x86 implementation. You can have a look at the ARM implementation to start with (on gcc-patches, under review). That would be best not to diverge too much aarch64 might hav

Target attribute hooks questions

2015-05-05 Thread Kyrill Tkachov
Hi all, I'm looking at implementing target attributes for aarch64 and I have some questions about the hooks involved. I haven't looked at this part of the compiler before, so forgive me if some of them seem obvious. I couldn't figure it out from the documentation (https://gcc.gnu.org/onlinedoc