Patchwork [2/3] feature-arm-d16.inc: add feature for arm cores which do not have a neon unit or no support for it in the kernel

login
register
mail settings
Submitter Henning Heinold
Date Sept. 25, 2011, 7:42 p.m.
Message ID <1316979745-758-3-git-send-email-heinold@inf.fu-berlin.de>
Download mbox | patch
Permalink /patch/12115/
State New, archived
Headers show

Comments

Henning Heinold - Sept. 25, 2011, 7:42 p.m.
* call it d16 because of the -mfpu=vfpv3-d16 gcc option and
  avoid naming conflicts with vfp feature

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
---
 meta/conf/machine/include/arm/feature-arm-d16.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/arm/feature-arm-d16.inc

Patch

diff --git a/meta/conf/machine/include/arm/feature-arm-d16.inc b/meta/conf/machine/include/arm/feature-arm-d16.inc
new file mode 100644
index 0000000..1230ee9
--- /dev/null
+++ b/meta/conf/machine/include/arm/feature-arm-d16.inc
@@ -0,0 +1,3 @@ 
+TUNEVALID[d16] = "Enable SIMD accelerator unit on cores which don't have neon."
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "d16", "-mfpu=vfpv3-d16", "" ,d)}"
+ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "d16", "-d16", "" ,d)}"