[PATCH] D13930: Fix __ARM_FP value for sp-only FPUs with Half-precision

Richard Barton via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 02:15:41 PDT 2015


richard.barton.arm created this revision.
richard.barton.arm added reviewers: labrinea, rengolin.
richard.barton.arm added a subscriber: cfe-commits.
Herald added subscribers: rengolin, aemerson.

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


http://reviews.llvm.org/D13930

Files:
  lib/Basic/Targets.cpp
  test/Preprocessor/arm-acle-6.5.c
  test/Preprocessor/arm-target-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13930.37975.patch
Type: text/x-patch
Size: 18999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151021/e79cf05e/attachment-0001.bin>


More information about the cfe-commits mailing list