New amd64 implementations?
Jussi Kivilinna
jussi.kivilinna at iki.fi
Thu Jun 20 14:14:28 CEST 2013
Hello,
I have attached patch that is for the cipher-amd64-optimizations branch. It disables AMD64
assembly implementations if platform assembler is found to be incompatible with those
implementations.
Adding cygwin64/mingw64 support for these optimizations would require some extra work to
handle the different calling convention and I don't have licence for 64-bit Windows, so
I cannot easily do this work.
-Jussi
On 19.06.2013 19:45, Vasiliy wrote:
> I've just tried to compile cast5-amd64.S, and it does not, however, it
> does compile with -m32 option. Are you sure you've pushed up the
> 64-bit code?...
>
> $ gcc -m64 -DHAVE_CONFIG_H -I.
> -I/usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher
> -I.. -I../src -I/usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/src
> -ggdb -march=native -mtune=native -Ofast -fomit-frame-pointer -pipe
> -fdebug-prefix-map=/usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/build=/usr/src/debug/libgcrypt-1.6.0-1
> -fdebug-prefix-map=/usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0=/usr/src/debug/libgcrypt-1.6.0-1
> -MT cast5-amd64.lo -MD -MP -MF .deps/cast5-amd64.Tpo -c
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S
> -DDLL_EXPORT -DPIC -o .libs/cast5-amd64.o
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:
> Assembler messages:
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:183:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:183:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:219:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:219:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:223:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:223:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:259:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:259:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:362:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:362:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:387:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:387:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:390:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:390:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:417:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:417:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:421:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:421:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:475:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:475:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:479:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:479:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:529:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:529:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:533:
> Warning: .type pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:533:
> Error: junk at end of line, first unrecognized character is `_'
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:584:
> Warning: .size pseudo-op used outside of .def/.endef ignored.
> /usr/src/64bit/release/libGCrypt/libgcrypt-1.6.0-1/src/libgcrypt-1.6.0/cipher/cast5-amd64.S:584:
> Error: junk at end of line, first unrecognized character is `_'
>
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06-add-check-for-assembler-compatibility.patch
Type: text/x-patch
Size: 9584 bytes
Desc: not available
URL: </pipermail/attachments/20130620/2807b684/attachment.bin>
More information about the Gcrypt-devel
mailing list