On Tue, 7 Oct 2003, Thomas Grill wrote:
In principle i also think that external assembler blocks would be better but i wasn't sure how to do it right since i'm not too familiar with the GNU assembler.
I thought of something along the line of
#ifdef MSVC #include <s_simd_i86ms.h> #elseif GNU #include <s_simd_i86gnu.h> #elseif OSX #include <s_simd_powerpc.h> ....
The header files contain macros for the inline assembler on the different architectures and there is a non-optimized version too. The problem is that I don't know if this is flexible enough, or if there is more involved ...
The parts can be filled by "specialists" later, its just important to have the right structure at the beginning.
Guenter