How do I get rid of assembler stuff?
Why is it there? C/C++ compilers generate reasonable code.
Assembler shouldn't be used except in special override libraries,
or, where there's no C equivalent, and, there's also no
compiler supported intrinsic.

As far as I can tell the code (ASL) is just a bunch of moves.

In file included from src/crypto/whrlpool.cpp:67:
In file included from src/crypto/whrlpool.h:5:
In file included from src/crypto/iterhash.h:5:
In file included from src/crypto/secblock.h:7:
src/crypto/misc.h:548:20: warning: unused function 'StringNarrow' 
[-Wunused-function]
static std::string StringNarrow(const wchar_t *str, bool throwOnError = 
true)
                   ^
src/crypto/whrlpool.cpp:425:3: fatal error: unknown token in expression
                ASL(0)
                ^
src/crypto/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
src/crypto/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:118:2: note: expanded from macro '#'
"0"
 ^
<inline asm>:2:31: note: instantiated into assembly here
0:movq mm0, [rcx+8*rsi];movq [%r8+8*rsi], mm0;pxor mm0, [rdx+8*rsi];movq 
[%r8+64+8*rsi], mm0;movq [rcx+8*rsi], mm0;inc rsi;cmp rsi, 8;jne 0b;xor 
esi, esi;
                              ^
3 warnings and 1 error generated.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.


Reply via email to