Displaying 3 results from an estimated 3 matches for "cxxused".
Did you mean:
caused
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...4 checksum_sse2.cpp
>
> diff --git a/Makefile.in b/Makefile.in
> index 59649562..0953e601 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -12,6 +12,9 @@ LIBS=@LIBS@
> CC=@CC@
> CFLAGS=@CFLAGS@
> CPPFLAGS=@CPPFLAGS@
> +CXX=@CXX@
> +CXXFLAGS=@CXXFLAGS@
> +CXXUSED=@CXXUSED@
> EXEEXT=@EXEEXT@
> LDFLAGS=@LDFLAGS@
> LIBOBJDIR=lib/
> @@ -27,7 +30,11 @@ SHELL=/bin/sh
> VERSION=@RSYNC_VERSION@
>
> .SUFFIXES:
> -.SUFFIXES: .c .o
> +ifeq ($(CXXUSED),yes)
> + .SUFFIXES: .c .cpp .o
> +else
> + .SUFFIXES: .c .o
> +...
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on?
Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html :
"For the x86-32 compiler, you must use -march=cpu-type, -msse or
-msse2 switches to enable SSE extensions and make this option
effective. For the x86-64 compiler, these extensions are enabled by
default."
That reads to me like we're fine for SSE2. As stated in my comments,
SSSE3 support must be
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...changed, 325 insertions(+), 2 deletions(-)
create mode 100644 checksum_sse2.cpp
diff --git a/Makefile.in b/Makefile.in
index 59649562..0953e601 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -12,6 +12,9 @@ LIBS=@LIBS@
CC=@CC@
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
+CXX=@CXX@
+CXXFLAGS=@CXXFLAGS@
+CXXUSED=@CXXUSED@
EXEEXT=@EXEEXT@
LDFLAGS=@LDFLAGS@
LIBOBJDIR=lib/
@@ -27,7 +30,11 @@ SHELL=/bin/sh
VERSION=@RSYNC_VERSION@
.SUFFIXES:
-.SUFFIXES: .c .o
+ifeq ($(CXXUSED),yes)
+ .SUFFIXES: .c .cpp .o
+else
+ .SUFFIXES: .c .o
+endif
GENFILES=configure.sh aclocal.m4 config.h.in proto.h proto.h-...