[cfe-dev] -no-implicit-float for ARM

Chad Rosier mcrosier at apple.com
Wed May 16 09:44:25 PDT 2012

On May 14, 2012, at 5:43 PM, Sandeep Patel <deeppatel1987 at gmail.com> wrote:

> On ARM, if -msoft-float is set, doesn't that already imply -no-implicit-float?

No, -msoft-float does not imply -no-implicit-float on ARM.

> You want to set it in the case where -msoft-float otherwise isn't desired?

Yes, I would like to be able to use -no-implicit-float in isolation.


> deep
> On Tue, May 15, 2012 at 12:31 AM, Chad Rosier <mcrosier at apple.com> wrote:
>> I would like to add a command line option, -no-implicit-float, that will
>> cause the noimplicitfloat attribute to be added to functions when targeting
>> ARM.  This attribute disables implicit floating point instructions.  X86
>> already utilizes this attribute when the -msoft-float option is used.
>> Unfortunately, we can't use -msoft-float on ARM, because it's already
>> defined to mean something else.  Therefore, I would like to propose we allow
>> the driver to accept the -no-implicit-float option directly (i.e., basically
>> forwarding the -no-implocit-float option to cc1).  Does anyone have any
>> opinions, comments or suggestions?
>> Regards,
>>  Chad
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list