Mark Wielaard 0e5738
commit 3b6e36f530120f5e30d8a81d26e04018a8d0784f
Mark Wielaard 0e5738
Author: florian <florian@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
Mark Wielaard 0e5738
Date:   Tue Feb 16 21:14:47 2016 +0000
Mark Wielaard 0e5738
Mark Wielaard 0e5738
    s390: Add machine model z13s
Mark Wielaard 0e5738
    
Mark Wielaard 0e5738
    
Mark Wielaard 0e5738
    git-svn-id: svn://svn.valgrind.org/vex/trunk@3208 8f6e269a-dfd6-0310-a8e1-e2731360e62c
Mark Wielaard 0e5738
Mark Wielaard 0e5738
diff --git a/VEX/pub/libvex.h b/pub/libvex.h
Mark Wielaard 0e5738
index b2bd476..4dd23e6 100644
Mark Wielaard 0e5738
--- a/VEX/pub/libvex.h
Mark Wielaard 0e5738
+++ b/VEX/pub/libvex.h
Mark Wielaard 0e5738
@@ -141,7 +141,8 @@ typedef
Mark Wielaard 0e5738
 #define VEX_S390X_MODEL_ZEC12    10
Mark Wielaard 0e5738
 #define VEX_S390X_MODEL_ZBC12    11
Mark Wielaard 0e5738
 #define VEX_S390X_MODEL_Z13      12
Mark Wielaard 0e5738
-#define VEX_S390X_MODEL_UNKNOWN  13     /* always last in list */
Mark Wielaard 0e5738
+#define VEX_S390X_MODEL_Z13S     13
Mark Wielaard 0e5738
+#define VEX_S390X_MODEL_UNKNOWN  14     /* always last in list */
Mark Wielaard 0e5738
 #define VEX_S390X_MODEL_MASK     0x3F
Mark Wielaard 0e5738
 
Mark Wielaard 0e5738
 #define VEX_HWCAPS_S390X_LDISP (1<<6)   /* Long-displacement facility */
Mark Wielaard 0e5738
commit e6d40c0b4d4e8a7007a6f2fc0c2f0aac50aba274
Mark Wielaard 0e5738
Author: florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Mark Wielaard 0e5738
Date:   Tue Feb 16 21:15:32 2016 +0000
Mark Wielaard 0e5738
Mark Wielaard 0e5738
    s390: Recognise machine model z13s (2965).
Mark Wielaard 0e5738
    
Mark Wielaard 0e5738
    
Mark Wielaard 0e5738
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15789 a5019735-40e9-0310-863c-91ae7b9d1cf9
Mark Wielaard 0e5738
Mark Wielaard 0e5738
diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
Mark Wielaard 0e5738
index cd4606b..ae8b929 100644
Mark Wielaard 0e5738
--- a/coregrind/m_machine.c
Mark Wielaard 0e5738
+++ b/coregrind/m_machine.c
Mark Wielaard 0e5738
@@ -616,6 +616,7 @@ static UInt VG_(get_machine_model)(void)
Mark Wielaard 0e5738
       { "2827", VEX_S390X_MODEL_ZEC12 },
Mark Wielaard 0e5738
       { "2828", VEX_S390X_MODEL_ZBC12 },
Mark Wielaard 0e5738
       { "2964", VEX_S390X_MODEL_Z13 },
Mark Wielaard 0e5738
+      { "2965", VEX_S390X_MODEL_Z13S },
Mark Wielaard 0e5738
    };
Mark Wielaard 0e5738
 
Mark Wielaard 0e5738
    Int    model, n, fh;
Mark Wielaard 0e5738
diff --git a/tests/s390x_features.c b/tests/s390x_features.c
Mark Wielaard 0e5738
index de34a98..bc671c6 100644
Mark Wielaard 0e5738
--- a/tests/s390x_features.c
Mark Wielaard 0e5738
+++ b/tests/s390x_features.c
Mark Wielaard 0e5738
@@ -89,6 +89,7 @@ model_info models[] = {
Mark Wielaard 0e5738
    { "2827", "zEC12"  },
Mark Wielaard 0e5738
    { "2828", "zBC12"  },
Mark Wielaard 0e5738
    { "2964", "z13"    },
Mark Wielaard 0e5738
+   { "2965", "z13s"   },
Mark Wielaard 0e5738
 };
Mark Wielaard 0e5738
 
Mark Wielaard 0e5738