I want to use the ******* plugin within the ** plugin, no problem you should say, but there is a slight problem.
My cpu is a x86_64, in the howto is a file which says this:
CPU: AMD Athlon XP 2400+
Compiler: g++ (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7))
Flags: -O3 -march=athlon-xp -fexpensive-optimizations -funroll-loops
--param max-unrolled-insns=500
grouping mode speed (Mbit/s) notes
---------------------------------------------------------------------
PARALLEL_32_4CHAR 14
PARALLEL_32_4CHARA 12
PARALLEL_32_INT 125 very good and very portable
PARALLEL_64_8CHAR 17
PARALLEL_64_8CHARA 15 needs a vectorizing compiler
PARALLEL_64_2INT 75 x86 has too few registers
PARALLEL_64_LONG 97 try this on x86_64
PARALLEL_64_MMX 165 the best
PARALLEL_128_16CHAR 6
PARALLEL_128_16CHARA 7
PARALLEL_128_4INT 69
PARALLEL_128_2LONG 52
PARALLEL_128_2MMX 36 slower than expected
PARALLEL_128_SSE 156 just slower than 64_MMX
Best speeds are obtained with native data types: int, mmx, sse (this
could be a compiler artifact).
64 bit processors should try 64_LONG.
But how should i change my makefile which is currently like this:
COMPILER ?= g++
FLAGS ?= -Wall -O3 -march=pentium -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops
H_FILES = *******.h parallel_generic.h parallel_std_def.h \
parallel_032_4char.h \
parallel_032_int.h \
parallel_064_2int.h \
parallel_064_8charA.h \
parallel_064_8char.h \
parallel_064_long.h \
parallel_064_mmx.h \
parallel_128_16charA.h \
parallel_128_16char.h \
parallel_128_2long.h \
parallel_128_2mmx.h \
parallel_128_4int.h \
parallel_128_sse.h
to compile on my 64bit system?
I really don't know
Compilerquestions are okay, but anything that has to do something with the ***-ed plugins is not suitable for this forum.
-> Made some names unreadable.
-Thomas