Displaying 16 results from an estimated 16 matches for "asm_optimisation".
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..4347c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,9 +399,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
+ if test "$host_os" = "mingw32" ; then
+ XIPH_ADD_CFLAGS([-mstackrealign])
+ fi
fi
-
fi
XIPH_ADD_CFLAGS([-Wextra])
--
2.1.0
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
On Fri, Apr 10, 2015 at 1:40 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Tristan Matthews wrote:
>
> > if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> > XIPH_ADD_CFLAGS([-msse2])
> > - XIPH_ADD_CFLAGS([-mstackrealign])
> > + if test "$host_os" = "mingw32" ; then
> > + XIPH_ADD_CFLAGS([-mstackrealign])
&...
2015 Apr 10
3
[PATCH] configure: only use -mstackrealign for mingw32
...c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index eb9b0cc..e7d68c3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -399,9 +399,11 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
>
> if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> XIPH_ADD_CFLAGS([-msse2])
> - XIPH_ADD_CFLAGS([-mstackrealign])
> fi
> + fi
>
> +if test "$host_os" = "mingw32" ; then
> + XIPH_ADD_CFLAGS([-mstackrealign])
> fi
>
> XIPH_ADD_CFLAGS([-Wextra]...
2015 Apr 10
0
[PATCH] configure: only use -mstackrealign for mingw32
Tristan Matthews wrote:
> if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> XIPH_ADD_CFLAGS([-msse2])
> - XIPH_ADD_CFLAGS([-mstackrealign])
> + if test "$host_os" = "mingw32" ; then
> + XIPH_ADD_CFLAGS([-mstackrealign])
> + fi
> fi
But sse_os==no doesn't prevent libFLAC from...
2015 Apr 11
3
[PATCH] configure: only use -mstackrealign on mingw32/os2
And only for i686.
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..8dd5b0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,11 +399,16 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
fi
-
fi
+case "$host_os" in
+ "mingw32"|"os2")
+ if test "$host_cpu" = "i686"; then
+ XIPH_ADD_CFLAGS([-mstackrealign])
+ fi
+esac
+...
2016 Jun 26
2
FLAC__SSE_OS change
...e AMD Geode
> CPUs seem to live forever.
libFLAC detects CPU SSE support in runtime, so --disable-sse is
necessary for cuch CPUs only because it disables -msse2 switch.
Maybe it makes sense to add new switch, --no-force-sse2 or
--disable-force-sse2 or similar? And replace
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
with
if test "x$force_sse2" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
?
2014 Jan 03
2
PATCH: add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED
Currently the only way to compile FLAC using GCC w/o SSE support
is to disable asm optimizations (see configure.ac):
if test "x$asm_optimisation" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
Also it's not possible to enable SSE4.1 intrinsic functions even
with -msse4.1 option. The patch fixes both problems.
---------------
BTW: I'm not sure that share/compat.h is the best place to define these
FLAC__SSEN_SUPPO...
2013 Apr 11
0
No subject
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
-msse2 tells the compiler that it can generate SSE2 instructions.
The resulting code will _not_ run on CPUs without SSE2. This is
counter to the assembly optimizations themselves, which check at...
2014 Oct 13
2
[PATCH] for configure.ac
lvqcl wrote:
> lvqcl wrote:
>
> > 1) in config.h FLAC__HAS_X86INTRIN macro is always defined and empty,
> > even if x86intrin.h is not available.
> >
> > 2) sse_os is defined as 'yes' or 'no', but AM_CONDITIONAL tests it for 'true':
>
> The patch is attached. Please check it.
Looks good. I need to do a little testing.
> > 3)
2014 Oct 14
0
[PATCH] for configure.ac
...: ................... ${xiph_cv_c_compiler_clang}"
> - echo " SSE optimizations : ................... ${sse_os}"
> + echo " SSE enabled : ......................... ${sse_enabled}"
> echo " Asm optimizations : ................... ${asm_optimisation}"
> echo " Ogg/FLAC support : .................... ${have_ogg}"
What is the definition of "sse_enabled"? Cannot find it.
2015 Jan 09
1
host_cpu fix
On BSD systems, the 64-bit x86 architecture is called "amd64".
--- configure.ac.orig 2014-11-27 03:45:33.598155000 +0100
+++ configure.ac 2015-01-09 23:34:27.000000000 +0100
@@ -104,7 +104,7 @@
asm_optimisation=no
case "$host_cpu" in
- x86_64)
+ amd64|x86_64)
if test $ac_cv_sizeof_voidp = 4 ; then
# This must be a 32 bit user space running on 64 bit kernel so treat
# this as ia32.
--
Christian "naddy" Weisgerber naddy at mips.inka.de
2016 Mar 14
1
Broken build on musl libc
On 03/14/16 03:51 PM, lvqcl wrote:
> With --disable-sse, FLAC__SSE_OS is undefined and FLAC__cpu_info() uses
> sigemptyset/sigaction to determine OS SSE support.
That's not quite right as I have to build binaries with --disable-sse (I
build and distribute both with and without) so that some users on PII's
don't get a sigill, even though the OS supports SSE. So it seems to
2016 Jun 26
2
FLAC__SSE_OS change
Dave Yeo wrote:
> Doesn't SSE support imply SSE2+ support?
Not for the CPU. Just because a CPU supports SSE, does not mean it
is guaranteed to support SSE2+.
For OS support, I'm not sure. Didn't later version of SSE add new
registers?
> I have a '96 install of an OS, it has been upgraded until end of life,
> and it handles SSE4+ instructions fine even though the
2016 Dec 04
1
Description of disable-sse option
...onfigure.ac:
AC_ARG_ENABLE(sse,
AC_HELP_STRING([--disable-sse], [Disable SSE if the OS does not support
SSE instructions]),
[case "${enableval}" in
yes) sse_os=yes ;;
no) sse_os=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-sse) ;;
esac],[sse_os=yes])
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
So maybe it's better to rename it to --disable-sse2 or
--disable-forced-sse2
or --no-force-sse2? (and rename 'sse_os' to 'use_sse2' or 'forced-sse2' ?)
Or least the description should be update...
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
...-DFLAC__USE_VISIBILITY_ATTR"
CFLAGS="$CFLAGS -fvisibility=hidden"
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
- fi
-
- if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
- XIPH_ADD_CFLAGS([-fgnu89-inline])
- fi
+ fi
if test "x$asm_optimisation" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- fi
-
fi
+fi
+
XIPH_ADD_CFLAGS([-Wextra])
if test x$enable_stack_smash_protection = "xyes" ; then
--
1.8.3.4 (Apple Git-47)
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64.
On POWER9, flac --best is about 3.3x faster.
Amitay Isaacs (2):
Add m4 macro to check for C __attribute__ features
Check if compiler supports target attribute on ppc64
Anton Blanchard (5):
configure.ac: Remove SPE detection code
configure.ac: Add VSX enable/disable
configure.ac: Fix FLAC__CPU_PPC on little endian, and add