T3/T3 mul_2 and addmul_2
David Miller
davem at davemloft.net
Fri Mar 8 06:33:51 CET 2013
From: Torbjorn Granlund <tg at gmplib.org>
Date: Thu, 07 Mar 2013 20:58:51 +0100
> I'm reasonably sure this is correct.
Needs some work still:
davem at patience:~/src/GMP/HG/build-sparc64-ultrasparct4/tests/devel$ ./try -s1-10 mpn_addmul_2
pagesize is 0x2000 bytes
s[0] 0xfffff80100048000 to 0xfffff8010004a000 (0x2000 bytes)
s[1] 0xfffff8010008c000 to 0xfffff8010008e000 (0x2000 bytes)
s[2] 0xfffff801000d0000 to 0xfffff801000d2000 (0x2000 bytes)
s[3] 0xfffff8010052e000 to 0xfffff80100530000 (0x2000 bytes)
s[4] 0xfffff80100572000 to 0xfffff80100574000 (0x2000 bytes)
ref d[0] 0xfffff801005b6000 to 0xfffff801005b8000 (0x2000 bytes)
ref d[1] 0xfffff801005fa000 to 0xfffff801005fc000 (0x2000 bytes)
fun d[0] 0xfffff8010063e000 to 0xfffff80100640000 (0x2000 bytes)
fun d[1] 0xfffff80100682000 to 0xfffff80100684000 (0x2000 bytes)
mpn_addmul_2 102400
Different d[0] data results, low diff at 2, high diff at 2
size 2
d[0].size 3
multiplier_N=0xB64AF88F9B2F3EE4C7229AA3B37E73C7
d[0] low, align 0, size 3
s[0] low, align 0, no overlap
s[0]=0xD0B9EA86DF481B49342901FD39A1B644
s[1] low, align 0, no overlap
s[1]=0xFA9BA4139FED3FCED95DE2FA0FB371FF
d[0]=0xFA9BA4139FED3FCED95DE2FA0FB371FF
Ref refmpn_addmul_2
retval=0x94A14D22DF4D8E4B
d[0]=0xC8A650BA6C23C00A8287584950207257E5B5950AC2C0ACDB
located 0xfffff801005b6000
s[0] located 0xfffff80100048000
s[1] located 0xfffff8010008c000
Fun mpn_addmul_2
retval=0x94A14D22DF4D8E4B
d[0]=0xC8A650BA6C23C0098287584950207257E5B5950AC2C0ACDB
located 0xfffff8010063e000
s[0] located 0xfffff80100048000
s[1] located 0xfffff8010008c000
Aborted
davem at patience:~/src/GMP/HG/build-sparc64-ultrasparct4/tests/devel$ ./try -s1-10 mpn_mul_2
pagesize is 0x2000 bytes
s[0] 0xfffff80100048000 to 0xfffff8010004a000 (0x2000 bytes)
s[1] 0xfffff8010008c000 to 0xfffff8010008e000 (0x2000 bytes)
s[2] 0xfffff801000d0000 to 0xfffff801000d2000 (0x2000 bytes)
s[3] 0xfffff8010052e000 to 0xfffff80100530000 (0x2000 bytes)
s[4] 0xfffff80100572000 to 0xfffff80100574000 (0x2000 bytes)
ref d[0] 0xfffff801005b6000 to 0xfffff801005b8000 (0x2000 bytes)
ref d[1] 0xfffff801005fa000 to 0xfffff801005fc000 (0x2000 bytes)
fun d[0] 0xfffff8010063e000 to 0xfffff80100640000 (0x2000 bytes)
fun d[1] 0xfffff80100682000 to 0xfffff80100684000 (0x2000 bytes)
mpn_mul_2 204800
Different d[0] data results, low diff at 2, high diff at 2
size 2
d[0].size 3
multiplier_N=0xB64AF88F9B2F3EE4C7229AA3B37E73C7
d[0] low, align 0, size 3
s[0] low, align 0, no overlap
s[0]=0xD0B9EA86DF481B49342901FD39A1B644
s[1] low, align 0, no overlap
s[1]=0xFA9BA4139FED3FCED95DE2FA0FB371FF
Ref refmpn_mul_2
retval=0x94A14D22DF4D8E4B
d[0]=0xC8A650BA6C23C00987EBB435B03332890C57B210B30D3ADC
located 0xfffff801005b6000
s[0] located 0xfffff80100048000
s[1] located 0xfffff8010008c000
Fun mpn_mul_2
retval=0x94A14D22DF4D8E4B
d[0]=0xC8A650BA6C23C00887EBB435B03332890C57B210B30D3ADC
located 0xfffff8010063e000
s[0] located 0xfffff80100048000
s[1] located 0xfffff8010008c000
Aborted
davem at patience:~/src/GMP/HG/build-sparc64-ultrasparct4/tests/devel$
More information about the gmp-devel
mailing list