IA64 Windows weird asm issue
Sergey Kashyrin
ska at resqnet.com
Thu Jun 22 06:45:18 CEST 2006
Gentlemen,
Did anybody face the following problem ?
I've did ia64 windows build, and all tests passed okay (with the exception of locale.exe which I don't care about).
The result was not that good as expected - at least it slower than on my athlon64, and other tasks usually about 3 times faster on
IA.
So I've tried to use assembly code.
The result is:
If I put "copyi.asm" in, couple of tests are failing (see below).
If I don't put asm copyi, copyb and invert_limb than tests are okay, but they are running approximately 15 times slower (!!!), i.e.
almost 3 minutes instead of 10 seconds.
What can be wrong ?
(all generated & compiled using intel iasm for little-endian. add_n and sub_n were need to be compiled with "explicit", otherwise
they were producing the errors)
Regards,
Sergey
C:\gmp-4.2.1\tests\mpz>convert
ERROR, op1 and op2 different in test 3
str = -EQZTQac18MiNRM7Q7V0TbLY8JHINddBPJN5g9C
base = 45
op1 = -100000000000C4D8C00000000000C4EF100000000000C4D8B0
op2 = -100000000000C4D8C00000000000C4EF100000000000C4D8B0
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
C:\gmp-4.2.1\tests\mpz>io
ERROR
op1
= -C2008032303034323434313234333431303233313034333030323132000000000000000000000000360000000000000000000000000000000010100000000000000000
op2 = -3233313334333433323334333033303332333038303032433134313431313031000000000000000000000000000000000000000000000000
base = 5
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
More information about the gmp-discuss
mailing list