[Gmp-commit] /var/hg/www: 3 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 29 09:23:20 UTC 2020


details:   /var/hg/www/rev/c22ac2c2a91c
changeset: 281:c22ac2c2a91c
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 29 10:19:59 2020 +0100
description:
Mention x18 Apple problem.

details:   /var/hg/www/rev/ca715d2d9b42
changeset: 282:ca715d2d9b42
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 29 10:20:52 2020 +0100
description:
First results for Apple M1.

details:   /var/hg/www/rev/89a1fb9a2eb1
changeset: 283:89a1fb9a2eb1
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 29 10:23:08 2020 +0100
description:
New system Apple M1.

diffstat:

 devel/testsystems.html |  17 ++++++++++++++++-
 gmpbench.html          |  10 +++++++++-
 index.html             |  19 +++++++++++++++----
 3 files changed, 40 insertions(+), 6 deletions(-)

diffs (118 lines):

diff -r cdfd215b23d2 -r 89a1fb9a2eb1 devel/testsystems.html
--- a/devel/testsystems.html	Tue Nov 17 11:36:44 2020 +0100
+++ b/devel/testsystems.html	Sun Nov 29 10:23:08 2020 +0100
@@ -29,7 +29,7 @@
       </td>
       <td style="text-align:center;">
 	<span style="font-size:200%;">GMP test systems </span> <br>
-	<span style="font-size:75%;">Last modified: 2020-11-17 </span>
+	<span style="font-size:75%;">Last modified: 2020-11-21 </span>
       </td>
     </tr>
   </table>
@@ -887,6 +887,21 @@
 	  <td> on
 	  <td> Odroid-N2
 	</tr>
+	<tr style="background-color:#b0d0ff">
+	  <td> m1
+	  <td> armv8a
+	  <td> Apple M1
+	  <td>
+	  <td style="text-align:center;font-size:90%;" colspan=2> 4×3200 + 4×?
+	  <td>
+	  <td>
+	  <td>
+	  <td style="text-align:right; color:#a00000;"> 8
+	  <td>
+	  <td> gnu/linux
+	  <td> on
+	  <td> Mac Mini
+	</tr>
       </tbody>
   </table>
 </blockquote>
diff -r cdfd215b23d2 -r 89a1fb9a2eb1 gmpbench.html
--- a/gmpbench.html	Tue Nov 17 11:36:44 2020 +0100
+++ b/gmpbench.html	Sun Nov 29 10:23:08 2020 +0100
@@ -137,7 +137,7 @@
     <th> <div class="p8">Date<br>measured</div>
 <tbody>
 
-<tr style="background-color:#c0c0c0">			<!-- mati -->
+<tr>			<!-- mati -->
  <td> AMD Ryzen 3700X (Matisse 32MB L3)<td style="text-align:center"> 3600-4400 <td> 64 <td> <div class="p8"> "gcc 8.3.0" -O2 <span class="nobr">-march=znver1</span> </div>
  <td> 92032<sup>T</sup> <td> 78266<sup>T</sup> <td> 15296<sup>T</sup> <td> 9574<sup>T</sup>
  <td> 12671<sup>T</sup> <td> 82.3<sup>T</sup>
@@ -145,6 +145,14 @@
  <td> 2020&#x2011;01&#x2011;31
 </tr>
 
+<tr style="background-color:#c0c0c0">			<!-- m1 -->
+ <td> Apple M1<td style="text-align:center"> 3200 <td> 64 <td> <div class="p8"> cc -O2 <span class="nobr"></span> </div>
+ <td> 90549 <td> 71427 <td> 15463 <td> 10243
+ <td> 9760 <td> 92.8
+ <td> <b>6422</b>  <td>
+ <td> 2020&#x2011;11&#x2011;21
+</tr>
+
 <tr>			<!-- piri -->
  <td> AMD Ryzen 2700X (Pinnacle Ridge 16MB L3)<td style="text-align:center"> 3700-4300 <td> 64 <td> <div class="p8"> "gcc 8.3.0" -O2 <span class="nobr">-march=znver1</span> </div>
  <td> 78989<sup>T,1</sup> <td> 72411<sup>T,1</sup> <td> 13725<sup>T,1</sup> <td> 9021<sup>T,1</sup>
diff -r cdfd215b23d2 -r 89a1fb9a2eb1 index.html
--- a/index.html	Tue Nov 17 11:36:44 2020 +0100
+++ b/index.html	Sun Nov 29 10:23:08 2020 +0100
@@ -34,7 +34,7 @@
       </td>
       <td style="text-align:right;">
 	<a href="https://www.gnu.org"><img src="heckert_gnu.small.png" alt="GNU head" border="0"></a>
-	<br> <span style="font-size:50%;">Last modified: 2020-11-17 </span>
+	<br> <span style="font-size:50%;">Last modified: 2020-11-29 </span>
       </td>
     </tr>
   </table>
@@ -109,7 +109,7 @@
 -->
 
 <div style="background-color:#f0f0f0; font-size:125%;">
-<br><br>
+<br>
 <p>
 The GMP computers are maintained by a single person on a volunteer basis.  The
 ongoing Intel hardware bug storm with
@@ -119,7 +119,7 @@
 <a href="https://en.wikipedia.org/wiki/Microarchitectural_Data_Sampling">MDS</a>,
 the jCC/cache-line bug, Fallout, LVI, Portsmash and the
 <a href="https://www.theregister.co.uk/2017/11/20/intel_flags_firmware_flaws/">ME</a>
-backdoor are making the GMP servers far from as secure as we'd like them to be.
+backdoor is making the GMP servers far from as secure as we'd like them to be.
 We don't have the time to keep up with the bugs nor the financial resources to
 purchase safe(r) AMD server hardware.
 </p>
@@ -136,7 +136,7 @@
 <a href="https://en.wikipedia.org/wiki/Denial-of-service_attack">DoS'ed</a> by
 sloppy/malicious engineering.
 </p>
-<br><br>
+<br>
 </div>
 
 <a name="WHAT"> </a>
@@ -395,6 +395,17 @@
 The current stable release is 6.2.1, released 2020-11-14. <br>
 </p>
 
+<h5>Issues with GMP 6.2.1:</h5>
+<ul>
+  <li> While we added support for Apple's new Arm based computers, our support
+  has a problem.  The problem is that Apple reserves CPU register x18, but
+  GMP's mpn/arm64 assembly code uses that register.  While GMP runs fine in our
+  tests, we expect things to go awry in some execution situation.  (Apple has
+  not been kind enough to specify how they use x18.  Therefore, we don't know
+  what the consequences of using x18 might be.)
+  </li>
+</ul>
+
 <h5>Issues with GMP 6.2.0:</h5>
 <ul>
   <li> MacOS Xcode 11 prior to 11.3 miscompiles GMP, leading to crashes and



More information about the gmp-commit mailing list