diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-26 12:02:24 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-26 12:02:24 +0000 |
commit | 156965d00f805dff963eddb3e79a24dede2b23a2 (patch) | |
tree | 8e8257027824e41a7d39b0c2647d12ea50b0e9e3 /mparam_h.in | |
parent | 9164d6d1a96a3754a18d4b8ce9adb42344f82d71 (diff) | |
download | mpfr-156965d00f805dff963eddb3e79a24dede2b23a2.tar.gz |
added default thresholds for Core 2
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4702 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mparam_h.in')
-rw-r--r-- | mparam_h.in | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/mparam_h.in b/mparam_h.in index 2d3de1f14..033e35800 100644 --- a/mparam_h.in +++ b/mparam_h.in @@ -99,6 +99,147 @@ MA 02110-1301, USA. */ #define MPFR_EXP_THRESHOLD 23744 /**************************** + * Threshold for Core 2 * + ****************************/ +#elif defined (__core2) + +#define MPFR_MULHIGH_TAB \ + -1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76, \ + 80,80,84,84,76,76,80,80,84,84,76,76,80,80,81,81, \ + 88,88,80,80,84,96,88,88,92,89,96,84,88,88,92,92, \ + 96,96,88,100,92,92,96,96,97,97,92,104,96,96,97,97, \ + 101,101,96,96,100,100,104,104,99,99,100,100,104,104,123,117, \ + 117,117,122,122,123,119,120,120,117,117,122,122,123,123,128,120, \ + 129,129,122,122,123,123,128,128,129,129,146,146,135,147,128,128, \ + 129,153,134,134,135,135,140,140,141,141,146,146,147,147,140,140, \ + 141,141,146,150,147,147,152,152,153,153,146,146,147,147,152,152, \ + 154,159,150,165,156,156,162,162,158,153,164,159,165,165,171,171, \ + 177,167,168,168,164,164,170,175,171,171,172,172,173,173,169,169, \ + 170,165,171,176,177,177,158,158,159,169,165,165,166,166,167,167, \ + 168,168,169,174,200,225,176,201,177,212,213,213,224,189,215,210, \ + 191,203,192,174,175,211,212,200,177,225,196,196,221,239,240,234, \ + 235,235,236,212,213,225,208,208,209,209,210,216,235,235,236,236, \ + 249,225,220,244,215,227,228,246,223,223,224,224,225,249,244,256, \ + 251,227,252,222,235,223,224,248,249,225,268,268,251,239,240,252, \ + 249,249,236,250,237,237,259,259,225,260,261,261,283,234,235,249, \ + 264,271,272,237,273,273,246,246,261,261,262,248,249,284,264,271, \ + 272,251,273,252,260,260,261,268,269,262,270,270,257,271,272,272, \ + 273,266,267,274,296,296,297,276,277,270,271,278,300,300,273,308, \ + 297,297,282,282,291,283,284,284,285,285,294,278,287,295,272,296, \ + 297,297,298,298,299,307,308,300,309,309,278,286,295,295,288,288, \ + 297,273,306,306,307,307,308,308,309,309,294,302,303,287,288,288, \ + 297,297,290,290,307,307,308,308,309,309,286,286,287,295,296,296, \ + 347,347,294,294,358,304,305,359,360,306,307,298,299,308,309,309, \ + 346,364,365,365,366,366,304,304,359,377,378,378,379,370,371,380, \ + 381,381,364,382,383,383,384,384,376,358,395,377,396,369,379,370, \ + 362,398,363,363,364,400,401,365,366,402,403,403,404,404,405,414, \ + 409,419,420,410,381,391,382,402,413,383,384,384,395,435,386,366, \ + 387,387,398,398,409,389,400,400,401,401,402,402,383,413,414,414, \ + 425,435,456,456,387,417,438,438,419,419,420,400,401,391,472,402, \ + 453,453,474,384,445,395,396,396,397,397,398,418,419,419,420,420, \ + 398,398,399,432,433,411,412,412,413,413,414,414,437,437,438,438, \ + 450,428,440,473,474,419,420,464,465,465,477,510,423,467,468,468, \ + 425,414,492,470,471,471,472,450,418,473,474,441,453,431,432,432, \ + 433,455,456,434,435,446,447,458,437,470,427,460,461,461,462,462, \ + 449,437,438,438,451,463,464,440,453,441,442,466,467,527,492,492, \ + 505,469,470,506,507,507,472,472,473,485,486,474,451,487,488,488, \ + 489,501,490,490,491,467,504,504,481,481,470,470,471,471,472,472, \ + 473,473,474,510,523,523,524,524,525,477,490,490,491,527,528,492, \ + 528,528,477,503,491,504,505,492,493,506,507,507,495,495,496,509, \ + 510,510,524,524,499,525,474,513,501,514,528,515,516,490,517,517, \ + 518,492,519,519,520,520,521,508,509,483,523,497,498,524,473,486, \ + 500,526,527,527,528,528,490,490,517,491,596,479,519,636,494,520, \ + 599,501,600,600,489,503,504,602,603,505,492,632,633,493,494,592, \ + 607,523,524,510,525,525,526,526,527,639,528,500,501,599,600,572, \ + 517,489,630,630,631,603,604,632,591,633,522,522,635,635,636,608, \ + 595,595,638,526,527,625,598,528,599,599,600,600,601,601,602,602, \ + 599,629,600,600,616,526,617,632,633,633,634,634,635,620,621,621, \ + 637,667,638,668,669,624,625,640,671,641,672,672,643,643,644,644, \ + 645,645,661,661,662,707,663,633,664,664,665,665,666,666,667,667, \ + 668,668,669,669,670,670,671,671,672,672,673,703,704,704,705,705, \ + 705,673,674,706,707,691,708,676,677,677,678,662,663,711,696,696, \ + 665,697,698,666,667,715,716,636,669,669,638,702,703,639,704,672, \ + 705,705,706,738,643,707,708,708,741,693,710,694,679,679,744,744, \ + 777,633,634,682,779,699,700,700,701,669,670,782,751,751,736,704 \ + +#define MPFR_SQRHIGH_TAB \ + -1,0,0,0,0,0,0,0,0,0,6,6,7,8,8,8, \ + 0,9,10,10,11,11,13,12,13,13,14,14,15,15,16,16, \ + 17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24, \ + 25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32, \ + 33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40, \ + 41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48, \ + 49,49,50,50,51,51,52,52,53,53,54,54,55,55,56,56, \ + 57,57,58,58,59,59,60,60,61,61,62,62,63,63,64,64, \ + 65,65,66,66,67,67,68,68,69,72,70,70,71,71,72,72, \ + 73,73,74,74,75,75,76,76,83,86,78,78,79,79,80,80, \ + 81,81,82,82,83,83,84,84,85,85,86,86,87,87,88,88, \ + 89,89,90,90,91,91,92,92,93,93,94,94,95,95,96,96, \ + 97,97,98,98,99,99,100,100,101,101,102,102,103,103,104,104, \ + 105,105,106,106,107,107,108,108,109,109,110,110,111,111,112,112, \ + 113,113,114,114,115,115,116,116,117,117,118,118,119,119,120,120, \ + 121,121,122,154,123,151,152,156,149,149,150,146,147,143,144,128, \ + 129,129,130,130,131,131,132,132,133,133,134,134,135,135,136,136, \ + 137,137,138,138,139,139,140,140,141,141,142,142,143,143,144,144, \ + 145,145,146,146,147,147,148,148,149,149,150,150,151,151,152,152, \ + 153,153,154,154,155,155,156,156,157,157,158,158,159,159,160,160, \ + 161,161,162,162,163,163,164,164,165,165,166,166,167,167,168,168, \ + 169,169,170,170,171,171,172,172,173,173,186,186,187,175,176,188, \ + 189,189,178,184,185,191,192,192,181,181,182,182,183,183,184,184, \ + 185,185,186,186,187,187,188,188,189,189,190,190,191,191,192,192, \ + 193,193,194,194,195,195,196,224,225,197,233,212,199,234,235,228, \ + 229,243,230,223,231,238,204,246,247,205,206,248,249,242,243,229, \ + 251,209,210,210,260,260,261,212,255,213,249,249,243,264,265,265, \ + 266,266,267,218,219,219,220,220,221,221,222,222,223,223,224,224, \ + 225,225,226,226,227,227,228,228,229,229,230,230,231,231,232,232, \ + 233,233,234,234,235,235,236,236,237,237,238,238,239,239,240,240, \ + 241,241,242,242,243,243,244,244,245,245,246,246,247,247,248,248, \ + 249,249,250,250,251,267,252,284,261,269,254,254,255,255,256,256, \ + 257,257,258,258,259,259,260,260,261,261,262,262,263,263,264,264, \ + 265,265,266,266,267,267,268,268,269,269,270,270,271,271,272,272, \ + 273,273,274,274,275,275,276,276,277,277,278,278,279,279,280,280, \ + 281,281,282,282,283,283,284,284,285,285,286,286,287,314,315,288, \ + 289,289,290,290,291,291,292,292,293,293,294,294,295,345,326,326, \ + 327,327,318,328,319,319,320,320,321,311,312,312,313,313,314,334, \ + 345,325,326,326,327,327,338,338,339,339,340,340,341,341,342,312, \ + 313,313,314,314,315,315,316,316,317,317,318,318,319,319,320,320, \ + 321,321,333,322,323,323,324,324,325,325,326,326,327,327,328,328, \ + 329,329,330,330,331,331,332,332,333,333,334,334,335,335,336,336, \ + 337,337,338,338,339,339,340,340,341,341,342,342,343,343,344,344, \ + 345,345,346,346,347,347,348,348,349,349,350,350,351,351,352,352, \ + 353,353,354,354,355,355,356,356,357,429,442,358,359,359,360,360, \ + 361,433,434,398,411,411,436,436,437,437,366,366,367,463,368,368, \ + 369,369,370,454,455,371,372,456,373,373,374,374,375,375,376,376, \ + 377,377,378,378,379,379,380,380,381,381,382,382,383,383,384,384, \ + 385,385,386,386,387,387,388,388,389,389,390,390,391,391,392,392, \ + 393,432,407,472,395,395,396,396,397,397,398,463,438,438,465,400, \ + 401,401,402,402,403,403,404,456,457,405,406,406,407,446,408,408, \ + 409,409,410,410,411,411,412,412,413,413,414,414,415,415,416,416, \ + 417,417,418,460,461,419,420,420,463,421,422,422,423,423,424,424, \ + 425,425,426,426,427,427,428,428,429,429,430,430,431,431,432,432, \ + 433,433,434,434,435,435,436,436,437,437,438,438,439,439,440,440, \ + 441,441,442,442,443,443,444,444,445,445,446,446,447,447,448,448, \ + 449,449,450,450,451,526,527,527,528,453,454,454,455,455,456,456, \ + 457,457,458,458,459,549,460,520,491,536,522,462,463,493,479,464, \ + 465,465,466,466,467,557,558,468,469,469,470,470,471,471,472,472, \ + 473,473,474,474,475,505,506,506,507,477,553,553,554,509,510,510, \ + 513,481,546,514,515,483,548,484,485,485,486,486,487,535,488,488, \ + 489,489,490,490,491,491,492,492,573,541,542,526,527,559,544,528, \ + 529,545,546,546,547,563,548,548,549,565,566,566,567,567,568,552, \ + 537,537,506,506,507,555,556,572,573,573,542,558,543,511,512,560 \ + +#define MPFR_MUL_THRESHOLD 5 /* limbs */ +#define MPFR_EXP_2_THRESHOLD 718 /* bits */ +#define MPFR_EXP_THRESHOLD 6816 /* bits */ + +/**************************** * Threshold for AMD 64 * ****************************/ #elif defined (__amd64) |