1 /* FEAT370.H    (c) Copyright Jan Jaeger, 2000-2009                  */
2 /*              S/370 feature definitions                            */
3 
4 /*-------------------------------------------------------------------*/
5 /* This file defines the architectural features which are included   */
6 /* at compilation time for S/370 mode                                */
7 /*-------------------------------------------------------------------*/
8 
9 #if defined(OPTION_370_MODE)
10 #define _ARCH_370_NAME "S/370"
11 
12 /* This file MUST NOT contain #undef statements */
13 #define FEATURE_2K_STORAGE_KEYS
14 #define FEATURE_BASIC_STORAGE_KEYS
15 #define FEATURE_EXTENDED_STORAGE_KEYS
16 #define FEATURE_BCMODE
17 #define FEATURE_DUAL_ADDRESS_SPACE
18 #define FEATURE_EMULATE_VM
19 #define FEATURE_HERCULES_DIAGCALLS
20 #define FEATURE_HEXADECIMAL_FLOATING_POINT
21 #define FEATURE_PER
22 #define FEATURE_INTERVAL_TIMER
23 #define FEATURE_SEGMENT_PROTECTION
24 #define FEATURE_S370_CHANNEL
25 #define FEATURE_CHANNEL_SWITCHING
26 #define FEATURE_S370E_EXTENDED_ADDRESSING
27 #define FEATURE_TEST_BLOCK
28 #define FEATURE_ECPSVM
29 #define FEATURE_VM_BLOCKIO
30 
31 /* The following ESA/390 features can be retrofitted to S/370 and
32    may be activated if desired by uncommenting the appropriate
33    define statements below and performing a complete rebuild */
34 //#define FEATURE_BASIC_FP_EXTENSIONS
35 //#define FEATURE_BINARY_FLOATING_POINT
36 //#define FEATURE_CHECKSUM_INSTRUCTION
37 //#define FEATURE_COMPARE_AND_MOVE_EXTENDED
38 //#define FEATURE_COMPRESSION
39 //#define FEATURE_EXTENDED_TRANSLATION
40 //#define FEATURE_EXTENDED_TRANSLATION_FACILITY_2
41 //#define FEATURE_HFP_EXTENSIONS
42 //#define FEATURE_HFP_MULTIPLY_ADD_SUBTRACT
43 //#define FEATURE_HFP_UNNORMALIZED_EXTENSION
44 //#define FEATURE_IMMEDIATE_AND_RELATIVE
45 //#define FEATURE_SQUARE_ROOT
46 //#define FEATURE_STRING_INSTRUCTION
47 
48 /* The following ESAME features can be retrofitted to S/370 and
49    may be activated if desired by uncommenting the appropriate
50    define statements below and performing a complete rebuild */
51 //#define FEATURE_ESAME_N3_ESA390
52 //#define FEATURE_ETF2_ENHANCEMENT
53 //#define FEATURE_ETF3_ENHANCEMENT
54 //#define FEATURE_EXECUTE_EXTENSIONS_FACILITY
55 //#define FEATURE_EXTENDED_IMMEDIATE
56 //#define FEATURE_EXTENDED_TRANSLATION_FACILITY_3
57 //#define FEATURE_FLOATING_POINT_EXTENSION_FACILITY
58 //#define FEATURE_GENERAL_INSTRUCTIONS_EXTENSION_FACILITY
59 //#define FEATURE_LONG_DISPLACEMENT
60 //#define FEATURE_MESSAGE_SECURITY_ASSIST
61 //#define FEATURE_MESSAGE_SECURITY_ASSIST_EXTENSION_1
62 //#define FEATURE_MESSAGE_SECURITY_ASSIST_EXTENSION_2
63 //#define FEATURE_MESSAGE_SECURITY_ASSIST_EXTENSION_3
64 //#define FEATURE_MESSAGE_SECURITY_ASSIST_EXTENSION_4
65 //#define FEATURE_PARSING_ENHANCEMENT_FACILITY
66 
67 #endif /*defined(OPTION_370_MODE)*/
68 /* end of FEAT370.H */
69