Message ID | 1528884896-11097-1-git-send-email-yinshiyou-hf@loongson.cn |
---|---|
State | Superseded |
Headers | show |
diff --git a/configure b/configure index 7c14323..074bb65 100755 --- a/configure +++ b/configure @@ -4765,13 +4765,13 @@ elif enabled mips; then disable mipsdspr2 case $cpu in loongson3*) - cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations" + cpuflags="-march=loongson3a -mhard-float" ;; loongson2e) - cpuflags="-march=loongson2e -mhard-float -fno-expensive-optimizations" + cpuflags="-march=loongson2e -mhard-float" ;; loongson2f) - cpuflags="-march=loongson2f -mhard-float -fno-expensive-optimizations" + cpuflags="-march=loongson2f -mhard-float" ;; esac ;;
revert expensive optimizations in gcc O3 optimization. The bug in gcc-4.9.x has been fixed in gcc master branch. Loongson released gcc-4.9.3-3.fc21.loongson with this patch. More bug info see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67736 https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00401.html Change-Id: I82e50376ea152789bf512f08bc5a273693be8aad Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn> --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)