[PATCH] [ARM] Use TargetParser to determine FPU subtarget features

John Brawn john.brawn at arm.com
Thu Jun 4 04:29:56 PDT 2015


Hi rengolin,

The main effect of this is to fix anomalies where certain -mfpu options didn't disable everything that they should causing strange behaviour when combined with -mcpu or -march values that themselves enabled fpu subtarget features, e.g. -mfpu=fpv5-dp-d16 with -march=armv7em previously behaved the same as -mfpu=fpv5-sp-d16 due to fp-only-sp not being disabled.

Invalid -mfpu options now also give an error, which is consistent with the handling of the .fpu directive.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10239

Files:
  lib/Driver/Tools.cpp
  test/Driver/arm-mfpu.c
  test/Preprocessor/arm-target-features.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10239.27107.patch
Type: text/x-patch
Size: 8802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150604/efad047e/attachment.bin>


More information about the cfe-commits mailing list