Patchwork arch-armv7a.inc: Don't disable vectorization

login
register
mail settings
Submitter Khem Raj
Date Sept. 24, 2012, 2:55 a.m.
Message ID <1348455340-17321-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/37091/
State Accepted
Commit e4336ab56db1e07a7f3dc08d3a4de3593b0fad22
Headers show

Comments

Khem Raj - Sept. 24, 2012, 2:55 a.m.
We have been adding this option to paper over a bug in old toolchain
http://hardwarebug.org/2008/11/28/codesourcery-fails-again/
e.g. is one but these have been weeded out. Therefore let gcc
take the default vectorization optimizations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/machine/include/arm/arch-armv7a.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Richard Purdie - Sept. 24, 2012, 10:15 a.m.
On Sun, 2012-09-23 at 19:55 -0700, Khem Raj wrote:
> We have been adding this option to paper over a bug in old toolchain
> http://hardwarebug.org/2008/11/28/codesourcery-fails-again/
> e.g. is one but these have been weeded out. Therefore let gcc
> take the default vectorization optimizations
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/conf/machine/include/arm/arch-armv7a.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/conf/machine/include/arm/arch-armv7a.inc b/meta/conf/machine/include/arm/arch-armv7a.inc
index f439de7..8d6ec25 100644
--- a/meta/conf/machine/include/arm/arch-armv7a.inc
+++ b/meta/conf/machine/include/arm/arch-armv7a.inc
@@ -4,7 +4,7 @@  ARMPKGARCH ?= "armv7a"
 
 TUNEVALID[armv7a] = "Enable instructions for ARMv7-a"
 TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7"
-TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7a", "-march=armv7-a -fno-tree-vectorize", "", d)}"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7a", "-march=armv7-a", "", d)}"
 MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv7a", ":armv7a", "" ,d)}"
 
 require conf/machine/include/arm/arch-armv6.inc