diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-07-28 17:17:24 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-07-28 17:17:24 +0000 |
commit | 95736ac3703a0f7695e870045e0433f48907814f (patch) | |
tree | 68b92a71e4d2e807708e677f5624fd7c4547e232 /src/amd | |
parent | b88cba227b46c8674736893f9a2859ceab586e0e (diff) | |
download | mpfr-95736ac3703a0f7695e870045e0433f48907814f.tar.gz |
modified the default tuning parameters so they are within the bounds of the
ARITH-20 paper "Short Division of Long Integers"
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7758 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/k8/mparam.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/amd/k8/mparam.h b/src/amd/k8/mparam.h index aa4827bbc..b9bba3ed0 100644 --- a/src/amd/k8/mparam.h +++ b/src/amd/k8/mparam.h @@ -67,17 +67,17 @@ 831,832,832,832,832,832,832,832,831,832,832,832,831,832,831,832, \ 831,832,832,832,831,832,832,832,832,832,831,832,832,832,832,832, \ 831,832,832,832,831,832,832,832,832,832,832,832,832,832,832,831 \ - + #define MPFR_SQRHIGH_TAB \ -1,0,0,0,0,-1,-1,-1,-1,-1,7,7,8,9,9,11, \ 11,11,11,11,13,13,14,15,17,17,18,17,17,17,18,18, \ - 17,17,19,19,20,21,20,23,24,21,24,23,24,25,24,25, \ - 28,27,28,29,29,31,28,29,34,34,34,34,34,34,40,34, \ + 18,18,19,19,20,21,21,23,24,22,24,23,24,25,25,25, \ + 28,27,28,29,29,31,29,29,34,34,34,34,34,34,40,34, \ 34,40,40,40,42,42,40,40,40,40,40,42,42,48,46,48, \ - 42,46,48,48,46,50,46,49,54,54,56,46,54,48,56,48, \ - 50,50,50,52,52,56,56,58,54,56,58,64,56,64,58,64, \ - 58,64,66,58,68,68,62,72,68,66,66,72,64,72,68,72, \ - 72,80,66,72,72,72,72,80,80,84,80,80,80,80,80,80, \ + 42,46,48,48,46,50,46,49,54,54,56,47,54,48,56,49, \ + 50,50,51,52,52,56,56,58,54,56,58,64,56,64,58,64, \ + 58,64,66,59,68,68,62,72,68,66,66,72,64,72,68,72, \ + 72,80,67,72,72,72,72,80,80,84,80,80,80,80,80,80, \ 80,80,80,80,84,84,92,80,84,84,92,84,96,92,92,96, \ 92,96,92,96,96,92,96,96,100,104,96,96,96,100,96,96, \ 96,96,112,96,96,96,96,96,100,100,96,112,112,112,112,112, \ @@ -133,48 +133,48 @@ 560,584,728,560,728,560,584,728,560,608,728,728,560,560,696,728, \ 727,608,584,727,608,728,728,728,728,760,728,727,696,727,696,655, \ 728,759,759,760,696,728,759,726,760,632,759,760,757,760,695,727 \ - + #define MPFR_DIVHIGH_TAB \ - 0,1,2,3,2,5,6,7,8,9,10,11,12,13,14,15, \ + 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, \ 14,15,18,19,18,14,18,18,22,18,19,20,18,18,20,20, \ 22,22,23,22,26,26,23,26,24,30,28,28,28,28,30,30, \ 32,34,32,34,32,33,32,37,32,37,32,37,32,39,34,35, \ - 39,34,34,39,39,37,39,39,39,39,37,39,39,45,39,46, \ - 47,45,48,43,52,44,50,50,48,46,46,46,52,56,47,56, \ - 52,60,60,56,56,64,61,60,56,64,54,63,56,64,64,60, \ + 39,34,35,39,39,37,39,39,39,39,39,39,40,45,41,46, \ + 47,45,48,43,52,44,50,50,48,46,47,47,52,56,49,56, \ + 52,60,60,56,56,64,61,60,56,64,55,63,56,64,64,60, \ 64,64,64,63,64,60,64,64,64,64,64,64,64,68,78,66, \ - 68,69,78,74,78,67,67,74,78,74,74,78,79,78,78,79, \ - 78,78,78,78,78,78,78,78,88,78,78,92,87,88,88,88, \ + 68,69,78,74,78,68,69,74,78,74,74,78,79,78,78,79, \ + 78,78,78,78,78,78,78,78,88,78,79,92,87,88,88,88, \ 96,92,95,91,92,94,95,96,92,96,92,96,92,112,96,112, \ 112,96,94,112,112,112,112,112,112,112,112,112,112,112,112,112, \ 128,112,112,128,112,112,112,128,112,112,112,128,112,112,128,112, \ 112,112,128,112,112,120,128,128,128,128,128,128,128,128,128,128, \ 128,128,120,128,128,128,128,128,120,128,128,128,128,128,128,128, \ - 128,128,128,128,128,128,126,128,128,128,128,127,128,128,128,128, \ + 128,128,128,128,128,128,126,128,128,128,128,127,128,128,129,129, \ 148,148,144,143,140,141,140,148,148,141,136,148,148,157,156,148, \ 160,160,160,156,156,156,156,148,148,160,144,160,160,160,156,160, \ - 156,157,160,156,156,156,148,156,155,156,156,156,156,160,160,156, \ - 156,160,160,158,160,156,160,158,159,160,160,160,158,160,176,160, \ - 160,184,180,184,184,186,184,184,184,184,186,184,184,184,184,184, \ + 156,157,160,156,156,156,149,156,155,156,156,156,156,160,160,156, \ + 156,160,160,158,160,156,160,158,159,160,160,160,160,160,176,161, \ + 162,184,180,184,184,186,184,184,184,184,186,184,184,184,184,184, \ 185,184,184,186,192,184,185,186,184,184,183,183,184,184,186,184, \ 192,184,208,184,224,186,208,186,209,192,208,184,207,208,224,210, \ - 207,185,186,192,224,208,208,224,224,216,207,208,207,224,208,208, \ + 207,186,187,192,224,208,208,224,224,216,207,208,207,224,208,208, \ 224,216,216,208,224,216,224,224,216,224,224,224,224,224,224,224, \ 224,221,234,224,232,224,224,232,224,224,224,232,224,225,224,224, \ 224,224,224,224,224,224,224,224,224,256,224,256,224,232,224,224, \ - 224,224,224,232,224,222,224,256,222,224,224,224,224,224,224,224, \ - 224,256,232,256,240,233,240,232,248,234,233,256,240,256,256,256, \ + 224,224,224,232,224,222,224,256,222,224,224,224,224,224,225,225, \ + 226,256,232,256,240,233,240,232,248,234,233,256,240,256,256,256, \ 256,248,248,256,256,248,256,256,256,248,256,256,256,256,256,256, \ 256,256,256,256,256,256,248,256,248,256,248,248,256,256,256,256, \ - 256,256,280,256,256,296,280,280,256,256,296,280,280,256,256,256, \ + 256,256,280,256,256,296,280,280,256,256,296,280,280,256,257,257, \ 296,296,280,296,280,296,296,296,280,280,312,296,280,296,312,312, \ 312,312,312,312,312,312,312,312,312,296,296,312,296,296,312,312, \ 312,296,312,312,296,311,312,312,312,312,312,312,312,312,312,296, \ 296,312,312,296,312,312,312,312,312,312,312,296,296,312,312,312, \ 312,312,312,312,312,312,312,312,296,312,312,312,312,312,312,312, \ 312,312,312,312,311,311,312,312,312,312,312,312,312,311,312,312, \ - 312,312,312,312,312,312,312,312,312,312,312,312,312,312,312,312, \ - 320,320,319,320,320,320,320,360,372,320,360,320,319,320,320,320, \ + 312,312,312,312,312,312,312,312,312,312,312,312,312,312,313,313, \ + 320,320,319,320,320,320,320,360,372,320,360,320,320,320,321,321, \ 368,344,368,368,369,372,368,370,372,368,352,352,360,370,376,360, \ 360,360,360,368,360,368,372,360,370,368,368,367,368,368,360,372, \ 368,368,370,372,372,372,370,368,368,368,368,368,368,368,369,372, \ @@ -190,13 +190,13 @@ 448,440,448,448,448,448,448,448,448,448,448,440,445,448,448,448, \ 448,439,433,448,496,448,448,440,448,440,440,448,448,496,480,448, \ 448,448,448,468,448,496,448,448,448,468,448,496,448,467,448,448, \ - 448,496,496,496,448,448,468,496,448,448,468,448,480,496,480,448, \ + 448,496,496,496,448,448,468,496,448,448,468,448,480,496,480,449, \ 468,512,496,496,512,496,496,480,496,512,496,512,496,512,496,512, \ 512,480,495,496,496,496,480,496,512,496,480,480,512,497,512,496, \ 512,512,496,496,496,512,496,496,512,512,512,496,480,560,496,496, \ 496,496,512,512,512,496,496,512,512,496,496,496,496,480,560,560, \ 512,496,496,560,576,496,496,560,560,496,560,512,496,560,560,560, \ - 560,496,512,560,560,496,512,496,496,576,560,512,512,512,496,560, \ + 560,496,512,560,560,496,512,496,496,576,560,512,512,512,497,560, \ 512,560,512,512,560,512,560,512,576,512,576,575,560,560,592,512, \ 560,512,576,567,512,592,592,560,592,576,592,560,592,576,560,624 \ |