This is an archive of the discontinued LLVM Phabricator instance.

[Sparc] Add software float option -msoft-float
ClosedPublic

Authored by jacob_hansen on May 19 2016, 2:25 AM.

Details

Summary

Following patch D19265 which enable software floating point support in the Sparc backend, this patch enables the option to be enabled in the front-end using the -msoft-float option.

The user should ensure a library (such as the builtins from Compiler-RT) that includes the software floating point routines is provided.

Diff Detail

Event Timeline

jacob_hansen retitled this revision from to [Sparc] Add software float option -msoft-float.
jacob_hansen updated this object.
jacob_hansen added reviewers: jyknight, lero_chris.
jacob_hansen added a subscriber: cfe-commits.
  • Corrected an error causing the "target-features"="+soft-float" attribute to not be correctly set
  • Improved the function-target-features test
lero_chris accepted this revision.May 20 2016, 2:13 AM
lero_chris edited edge metadata.
This revision is now accepted and ready to land.May 20 2016, 2:13 AM
jacob_hansen edited edge metadata.

Updated against latest master in preparation for commit.

Corrected formatting of a line that exceeded 80 columns.

This revision was automatically updated to reflect the committed changes.