[ARM] How to query gas for target properties?
Nick Clifton
nickc@redhat.com
Wed Oct 27 13:45:00 GMT 2010
More information about the Binutils mailing list
Wed Oct 27 13:45:00 GMT 2010
- Previous message (by thread): [ARM] How to query gas for target properties?
- Next message (by thread): [GOLD][PATCH] Set SHF_LINK_ORDER flags of ARM EXIDX sections.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Christophe, > I'd like to write an assembly code fragment with some parts conditional > to some target properties. > For instance, on ARM, I'd like to know if the target has the Neon > extension, ie gas if gas was invoked with -mfpu=neon. > > I have been able to perform some other conditions (eg architecture > variant) through cpp, but I have found nothing enabling to know that > -mfpu=neon was used. Probably the easiest method would be to write the code in C as extended assembler statements and check for the presence of the __ARM_NEON__ preprocessor variable. Cheers Nick
- Previous message (by thread): [ARM] How to query gas for target properties?
- Next message (by thread): [GOLD][PATCH] Set SHF_LINK_ORDER flags of ARM EXIDX sections.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list