diff options
author | André Draszik <git@andred.net> | 2015-07-24 14:14:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 10:32:45 +0100 |
commit | 64acfb32491e9b4666b55cac625eb13dafed2144 (patch) | |
tree | bd2c37f59b7ca4a1eb269022a935e2d7aab8e464 /meta/conf/machine/include/arm/feature-arm-vfp.inc | |
parent | 8f270dc404268da33e714bf6ca344c8f3941fe44 (diff) | |
download | poky-64acfb32491e9b4666b55cac625eb13dafed2144.tar.gz |
arch-armv7a.inc, feature-arm-vfp.inc: add tunes for vfpv3 and vfpv3d16
This adds tunes for ARM's v3 Vector Floating Point unit for
16 and 32 bit implementation:
http://www.arm.com/products/processors/technologies/vector-floating-point.php
See also https://wiki.debian.org/ArmHardFloatPort/VfpComparison
for a nice comparison and why vfpv3d16 is useful.
(From OE-Core rev: f9de9521477a1de8f6a399bcdc8260e28e34dfb3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/feature-arm-vfp.inc')
-rw-r--r-- | meta/conf/machine/include/arm/feature-arm-vfp.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc b/meta/conf/machine/include/arm/feature-arm-vfp.inc index 13927ffc12..3dfbeac55e 100644 --- a/meta/conf/machine/include/arm/feature-arm-vfp.inc +++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc | |||
@@ -1,6 +1,14 @@ | |||
1 | TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." | 1 | TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." |
2 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" | 2 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" |
3 | 3 | ||
4 | TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." | ||
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3d16", " -mfpu=vfpv3-d16", "", d)}" | ||
6 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3d16", "-vfpv3d16", "" ,d)}" | ||
7 | |||
8 | TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3", " -mfpu=vfpv3", "", d)}" | ||
10 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3", "-vfpv3", "" ,d)}" | ||
11 | |||
4 | TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." | 12 | TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." |
5 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv4", "-vfpv4", "" ,d)}" | 13 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv4", "-vfpv4", "" ,d)}" |
6 | 14 | ||