Mercurial > mxe-octave
changeset 5500:512e69a36d09
Use SSE2 instruction set for i686-w64 target (bug #58807).
* src/build-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
* src/native-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 21 Jul 2020 20:27:53 +0200 |
parents | be0a7ce498e6 |
children | c43935edfe63 |
files | src/build-gcc.mk src/native-gcc.mk |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/build-gcc.mk Sun Jul 05 20:58:57 2020 +0200 +++ b/src/build-gcc.mk Tue Jul 21 20:27:53 2020 +0200 @@ -36,7 +36,8 @@ $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \ --libdir='$(BUILD_TOOLS_PREFIX)/lib' \ --with-native-system-header-dir='/include' \ - --disable-sjlj-exceptions + --disable-sjlj-exceptions \ + --with-specs='%{!mfpmath:-mfpmath=sse} %{!msse:%{!mno-sse:-msse}} %{!msse2:%{!mno-sse2:-msse2}}' else define $(PKG)_PRE_BUILD echo "Shortcuts"
--- a/src/native-gcc.mk Sun Jul 05 20:58:57 2020 +0200 +++ b/src/native-gcc.mk Tue Jul 21 20:27:53 2020 +0200 @@ -30,7 +30,8 @@ ifneq ($(ENABLE_WINDOWS_64),yes) $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \ - --disable-sjlj-exceptions + --disable-sjlj-exceptions \ + --with-specs='%{!mfpmath:-mfpmath=sse} %{!msse:%{!mno-sse:-msse}} %{!msse2:%{!mno-sse2:-msse2}}' else $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \ --enable-64bit