Move definition of facility bits to libvex_s390x_common.h so we
can use them in m_machine.c. Rename LSCOND facility to LSC.
git-svn-id: svn://svn.valgrind.org/vex/trunk@2585 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/pub/libvex_s390x_common.h b/pub/libvex_s390x_common.h
index 332cca5..0a8f442 100644
--- a/pub/libvex_s390x_common.h
+++ b/pub/libvex_s390x_common.h
@@ -75,6 +75,36 @@
/*--------------------------------------------------------------*/
+/*--- Facility bits ---*/
+/*--------------------------------------------------------------*/
+
+/* The value of the macro is the number of the facility bit as per POP. */
+#define S390_FAC_MSA 17 // message-security-assist
+#define S390_FAC_LDISP 18 // long displacement
+#define S390_FAC_HFPMAS 20 // HFP multiply-and-add-subtract
+#define S390_FAC_EIMM 21 // extended immediate
+#define S390_FAC_HFPUNX 23 // HFP unnormalized extension
+#define S390_FAC_ETF2 24 // ETF2-enhancement
+#define S390_FAC_STCKF 25 // store clock fast insn
+#define S390_FAC_PENH 26 // parsing-enhancement
+#define S390_FAC_ETF3 30 // ETF3-enhancement
+#define S390_FAC_XCPUT 31 // extract-CPU-time
+#define S390_FAC_GIE 34 // general insn extension
+#define S390_FAC_EXEXT 35 // execute extension
+#define S390_FAC_FPEXT 37 // floating-point extension
+#define S390_FAC_FPSE 41 // floating-point support enhancement
+#define S390_FAC_DFP 42 // decimal floating point
+#define S390_FAC_PFPO 44 // perform floating point operation insn
+#define S390_FAC_HIGHW 45 // high-word extension
+#define S390_FAC_LSC 45 // load/store on condition
+#define S390_FAC_DFPZC 48 // DFP zoned-conversion
+#define S390_FAC_MISC 49 // miscellaneous insn
+#define S390_FAC_CTREXE 50 // constrained transactional execution
+#define S390_FAC_TREXE 73 // transactional execution
+#define S390_FAC_MSA4 77 // message-security-assist 4
+
+
+/*--------------------------------------------------------------*/
/*--- Miscellaneous ---*/
/*--------------------------------------------------------------*/