Add support for FPv4-SP to the clang driver

Oliver Stannard oliver.stannard at
Fri Feb 21 01:47:32 PST 2014

Hi all,


This patch adds support for the FPv4-SP floating point unit (an optional
feature of Cortex-M4) to the clang driver. It will now accept two new
options for -mfpu: "fpv4-sp-d16" and "fp4-sp-d16". The first is the same
spelling as gcc's option, and the second is for consistency with the other
clang options which allow dropping the "v". It is correct that this option
does not have a leading "v", this is the case in both ARM's documentation
and gcc's implementation of the option.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpv4-sp-d16.patch
Type: application/octet-stream
Size: 1509 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list