This is an archive of the discontinued LLVM Phabricator instance.

Fix __ARM_FP value for sp-only FPUs with Half-precision
ClosedPublic

Authored by richard.barton.arm on Oct 21 2015, 2:15 AM.

Details

Reviewers
rengolin
labrinea
Summary

The logic for parsing FP capabilities to set __ARM_FP was mistakenly removing
the Half-Precision capability when handling fp-only-sp resulting in a value
of 0x4. Section 6.5.1 of ACLE states that for such FP architectures the value
hould be 0x6

Diff Detail

Event Timeline

richard.barton.arm retitled this revision from to Fix __ARM_FP value for sp-only FPUs with Half-precision.
richard.barton.arm updated this object.
richard.barton.arm added a subscriber: cfe-commits.
rengolin accepted this revision.Oct 21 2015, 2:39 AM
rengolin edited edge metadata.

LGTM. Thanks!

This revision is now accepted and ready to land.Oct 21 2015, 2:39 AM

Committed as r250888