[Gmp-commit] /var/hg/gmp: (__gmpn_cpuvec_init): Adapt to bt1/bt2 changes. Ma...

mercurial at gmplib.org mercurial at gmplib.org
Sun Jun 4 14:03:53 UTC 2017


details:   /var/hg/gmp/rev/2b6370d4302a
changeset: 17427:2b6370d4302a
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Jun 04 16:03:44 2017 +0200
description:
(__gmpn_cpuvec_init): Adapt to bt1/bt2 changes.  Make zen path correspond to non-fat path.

diffstat:

 mpn/x86_64/fat/fat.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 330407782736 -r 2b6370d4302a mpn/x86_64/fat/fat.c
--- a/mpn/x86_64/fat/fat.c	Sun Jun 04 03:06:58 2017 +0200
+++ b/mpn/x86_64/fat/fat.c	Sun Jun 04 16:03:44 2017 +0200
@@ -411,10 +411,16 @@
 	  break;
 
 	case 0x14:		/* bobcat */
+	  CPUVEC_SETUP_k8;
+	  CPUVEC_SETUP_k10;
+	  CPUVEC_SETUP_bt1;
+	  break;
+
 	case 0x16:		/* jaguar */
 	  CPUVEC_SETUP_k8;
 	  CPUVEC_SETUP_k10;
-	  CPUVEC_SETUP_bobcat;
+	  CPUVEC_SETUP_bt1;
+	  CPUVEC_SETUP_bt2;
 	  break;
 
 	case 0x15:	    /* bulldozer, piledriver, steamroller, excavator */
@@ -424,8 +430,6 @@
 	  break;
 
 	case 0x17:	    /* zen */
-	  CPUVEC_SETUP_k8;
-	  CPUVEC_SETUP_k10;
 	  CPUVEC_SETUP_zen;
 	  break;
 	}


More information about the gmp-commit mailing list