GCC Internals - missing target attributes

Jeff Law law@redhat.com
Mon Apr 30 16:02:00 GMT 2018


On 11/28/2017 04:24 AM, Peryt, Sebastian wrote:
> Hi,
> 
> Lately, I've done some cleaning in GCC Internals documentation - section 7.2.3 Keywords describing target attributes. Attached is my current patch.
> 
> I've tried to put everything in correct places, but I'm not sure about my choices that's why I'd like to discuss it here before sending it to gcc-patches. One thing I noticed is that avx sse and avx512 were in "Other hardware attributes" section, while I think those should be in i386 section. Those are moved in my patch now. Is it some legacy issue? Or is it due to some exceptions?
I'm not sure how they ended up in the wrong place.  Moving them into the
i386 section seems like the right thing to do to me.


> 
> Moreover I found some additional targets that are not present anywhere in Internals, but frankly speaking I am not sure where those should be put and what description would fit the best for those. I'd appreciate any input.>
> Additional missing dg-require effective targets descriptions from documentation:
> fenv_exceptions
> fstack_protector_enabled
> ia32
> int128
> lzcnt
> masm_intel
> maybe_x32
> sha
> split_stack
> supports_stack_clash_protection
"Target supports protection from stack clash style attacks with custom
prologues and dynamic stack allocation"

A change to add that is pre-approved.

jeff



More information about the Gcc-help mailing list