-
Notifications
You must be signed in to change notification settings - Fork 6
/
facility.c
4683 lines (4019 loc) · 198 KB
/
facility.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* FACILITY.C (C) Copyright "Fish" (David B. Trout), 2018-2019 */
/* (C) and others 2013-2021 */
/* Facility bit functions */
/* */
/* Released under "The Q Public License Version 1" */
/* (http://www.hercules-390.org/herclic.html) as modifications to */
/* Hercules. */
#include "hstdinc.h"
#define _FACILITY_C_
#define _HENGINE_DLL_
#include "hercules.h"
#include "opcode.h" // Need DEF_INST
/*-------------------------------------------------------------------*/
/* Architecture bit-masks */
/*-------------------------------------------------------------------*/
#ifndef _NONE
#define _NONE 0x00 /* NO architectures or disabled */
#define _S370 0x80 /* S/370 architecture */
#define _E390 0x40 /* ESA/390 architecture */
#define _Z900 0x20 /* z/Arch architecture */
#define _Z390 (_E390|_Z900) /* BOTH ESA/390 and z/Arch */
#define _MALL (_S370|_Z390) /* All architectures */
#endif
/*-------------------------------------------------------------------*/
/* ARCH_DEP Architecture bit-masks */
/*-------------------------------------------------------------------*/
#undef NONE
#undef S370
#undef E390
#undef Z900
#undef Z390
#undef MALL
#if __GEN_ARCH == 370 /* (building for S/370?) */
#define S370 _S370 /* S/370 only */
#define E390 _NONE /* ESA/390 only */
#define Z900 _NONE /* z/Arch only */
#elif __GEN_ARCH == 390 /* (building for S/390?) */
#define S370 _NONE /* S/370 only */
#define E390 _E390 /* ESA/390 only */
#define Z900 _NONE /* z/Arch only */
#elif __GEN_ARCH == 900 /* (building for z/Arch?) */
#define S370 _NONE /* S/370 only */
#define E390 _NONE /* ESA/390 only */
#define Z900 _Z900 /* z/Arch only */
#endif
#define NONE _NONE /* NO architectures or disabled */
#define Z390 (E390|Z900) /* BOTH ESA/390 and z/Arch */
#define MALL (S370|Z390) /* All architectures */
/*-------------------------------------------------------------------*/
/* (HERC_370_EXTENSION pseudo-facility support) */
/*-------------------------------------------------------------------*/
#undef Z39X /* E390 + Z900 + optionally S370 */
#undef Z90X /* Z900 + optionally S370 */
#if defined( FEATURE_370_EXTENSION )
#define Z39X (Z390|S370) /* E390 + Z900 + optionally S370 */
#define Z90X (Z900|S370) /* Z900 + optionally S370 */
#else
#define Z39X (Z390|NONE) /* E390 + Z900 */
#define Z90X (Z900|NONE) /* Z900 */
#endif
/*-------------------------------------------------------------------*/
/* Temporary ARCH_DEP Facility Table */
/*-------------------------------------------------------------------*/
/* The facility names used in the below FT macro invocations are, */
/* when prefixed with 'STFL_', the facility bit number as #defined */
/* in header stfl.h (e.g. FT( 044_PFPO, ..) ==> STFL_044_PFPO 44). */
/* */
/* Also note that the entries in the below table do NOT have to be */
/* in any facility bit sequence as it is always seached serially. */
/* However, it is greatly preferred that it be kept in sequence. */
/* */
/* Sup (Supported) means the facility is supported by Hercules for */
/* the given architectures. Def (Default) indicates the facility */
/* defaults to enabled for the specified architectures. The Req */
/* (Required) field indicates the facility is a REQUIRED facility */
/* for the architecture and enabling or disabling is NOT allowed. */
/* */
/* ALL known facilities should ALWAYS be defined in the below table */
/* REGARDLESS of whether or not it has been implemented yet within */
/* Hercules. If the facility is not implemented in Hercules yet, */
/* (i.e. no code has been written to support it yet), then simply */
/* specify "NONE" in all three Sup/Def/Req columns. Once support */
/* for the facility has been coded, then just update the columns */
/* as appropriate so the guest can start using them. */
/*-------------------------------------------------------------------*/
/* */
/* *** CRITICAL! *** */
/* */
/* All of the below FT macro invokations should be wrapped with an */
/* #if defined( FEATURE_nnn... ) statement WITHOUT the underscore! */
/* */
/* This is because the below tables are ARCH_DEP tables which are */
/* compiled differently depending on the architecture is currently */
/* being built. */
/* */
/*-------------------------------------------------------------------*/
static FACTAB ARCH_DEP( facs_tab )[] = /* Arch-DEPENDENT table */
{
/*-------------------------------------------------------------------*/
/* Sup Def Req Short Name... */
/*-------------------------------------------------------------------*/
#if defined( FEATURE_000_N3_INSTR_FACILITY )
FT( Z39X, Z390, NONE, 000_N3_INSTR )
#endif
/*-------------------------------------------------------------------*/
/* PROGRAMMING NOTE */
/* */
/* Please note the below use of underscore _FEATURE test. This is */
/* the ONLY facility that uses the underscore _FEATURE test instead */
/* of the normal ARCH_DEP non-underscore FEATURE test. */
/* */
/* THIS IS VERY IMPORTANT since the feat390.h header doesn't #define */
/* "FEATURE_001_ZARCH_INSTALLED_FACILITY" by default (to allow the */
/* building of versions of Hercules WITHOUT z/Architecture support, */
/* i.e. with ONLY ESA/390 support). */
/* */
/* We don't want to lie and tell ESA/390 mode that z/Architecture */
/* is installed when it really isn't, but we also need to tell the */
/* truth too, and tell ESA/390 mode that z/Architecture IS in fact */
/* installed if it really is (when OPTION_900_MODE is specified). */
/* */
/* By using the underscore _FEATURE test we handle BOTH situations. */
/*-------------------------------------------------------------------*/
#if defined( _FEATURE_001_ZARCH_INSTALLED_FACILITY )
FT( _Z390, _Z390, _Z390, 001_ZARCH_INSTALLED )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_002_ZARCH_ACTIVE_FACILITY )
FT( Z900, Z900, Z900, 002_ZARCH_ACTIVE )
#endif
#if defined( FEATURE_003_DAT_ENHANCE_FACILITY_1 )
FT( Z900, Z900, NONE, 003_DAT_ENHANCE_1 )
#endif
#if defined( FEATURE_004_IDTE_SC_SEGTAB_FACILITY )
FT( NONE, NONE, NONE, 004_IDTE_SC_SEGTAB )
#endif
#if defined( FEATURE_005_IDTE_SC_REGTAB_FACILITY )
FT( NONE, NONE, NONE, 005_IDTE_SC_REGTAB )
#endif
#if defined( FEATURE_006_ASN_LX_REUSE_FACILITY )
FT( Z900, Z900, NONE, 006_ASN_LX_REUSE )
#endif
#if defined( FEATURE_007_STFL_EXTENDED_FACILITY )
FT( Z390, Z390, NONE, 007_STFL_EXTENDED )
#endif
#if defined( FEATURE_008_ENHANCED_DAT_FACILITY_1 )
FT( Z900, Z900, NONE, 008_EDAT_1 )
#endif
#if defined( FEATURE_009_SENSE_RUN_STATUS_FACILITY )
FT( Z900, Z900, NONE, 009_SENSE_RUN_STATUS )
#endif
#if defined( FEATURE_010_CONDITIONAL_SSKE_FACILITY )
FT( Z900, Z900, NONE, 010_CONDITIONAL_SSKE )
#endif
#if defined( FEATURE_011_CONFIG_TOPOLOGY_FACILITY )
FT( Z900, Z900, NONE, 011_CONFIG_TOPOLOGY )
#endif
FT( NONE, NONE, NONE, 012_IBM_INTERNAL )
#if defined( FEATURE_013_IPTE_RANGE_FACILITY )
FT( Z900, Z900, NONE, 013_IPTE_RANGE )
#endif
#if defined( FEATURE_014_NONQ_KEY_SET_FACILITY )
FT( Z900, Z900, NONE, 014_NONQ_KEY_SET )
#endif
FT( NONE, NONE, NONE, 015_IBM_INTERNAL )
#if defined( FEATURE_016_EXT_TRANSL_FACILITY_2 )
FT( Z39X, Z390, NONE, 016_EXT_TRANSL_2 )
#endif
#if defined( FEATURE_017_MSA_FACILITY )
FT( Z39X, Z390, NONE, 017_MSA )
#endif
#if defined( FEATURE_018_LONG_DISPL_INST_FACILITY )
FT( Z90X, Z900, Z900, 018_LONG_DISPL_INST )
#endif
#if defined( FEATURE_019_LONG_DISPL_HPERF_FACILITY )
FT( Z900, Z900, NONE, 019_LONG_DISPL_HPERF )
#endif
#if defined( FEATURE_020_HFP_MULT_ADD_SUB_FACILITY )
FT( Z39X, Z390, NONE, 020_HFP_MULT_ADD_SUB )
#endif
#if defined( FEATURE_021_EXTENDED_IMMED_FACILITY )
FT( Z90X, Z900, NONE, 021_EXTENDED_IMMED )
#endif
#if defined( FEATURE_022_EXT_TRANSL_FACILITY_3 )
FT( Z90X, Z900, NONE, 022_EXT_TRANSL_3 )
#endif
#if defined( FEATURE_023_HFP_UNNORM_EXT_FACILITY )
FT( Z90X, Z900, NONE, 023_HFP_UNNORM_EXT )
#endif
#if defined( FEATURE_024_ETF2_ENHANCEMENT_FACILITY )
FT( Z390, Z390, NONE, 024_ETF2_ENHANCEMENT )
#endif
#if defined( FEATURE_025_STORE_CLOCK_FAST_FACILITY )
FT( Z900, Z900, NONE, 025_STORE_CLOCK_FAST )
#endif
#if defined( FEATURE_026_PARSING_ENHANCE_FACILITY )
FT( Z90X, Z900, NONE, 026_PARSING_ENHANCE )
#endif
#if defined( FEATURE_027_MVCOS_FACILITY )
FT( Z900, Z900, NONE, 027_MVCOS )
#endif
#if defined( FEATURE_028_TOD_CLOCK_STEER_FACILITY )
FT( Z900, Z900, NONE, 028_TOD_CLOCK_STEER )
#endif
FT( NONE, NONE, NONE, 029_UNDEFINED )
#if defined( FEATURE_030_ETF3_ENHANCEMENT_FACILITY )
FT( Z900, Z900, NONE, 030_ETF3_ENHANCEMENT )
#endif
#if defined( FEATURE_031_EXTRACT_CPU_TIME_FACILITY )
FT( Z900, Z900, NONE, 031_EXTRACT_CPU_TIME )
#endif
#if defined( FEATURE_032_CSS_FACILITY )
FT( Z90X, Z900, NONE, 032_CSSF )
#endif
#if defined( FEATURE_033_CSS_FACILITY_2 )
FT( Z900, Z900, NONE, 033_CSSF2 )
#endif
#if defined( FEATURE_034_GEN_INST_EXTN_FACILITY )
FT( Z90X, Z900, NONE, 034_GEN_INST_EXTN )
#endif
#if defined( FEATURE_035_EXECUTE_EXTN_FACILITY )
FT( Z90X, Z900, NONE, 035_EXECUTE_EXTN )
#endif
#if defined( FEATURE_036_ENH_MONITOR_FACILITY )
FT( Z900, Z900, NONE, 036_ENH_MONITOR )
#endif
#if defined( FEATURE_037_FP_EXTENSION_FACILITY )
FT( Z90X, Z900, NONE, 037_FP_EXTENSION )
#endif
#if defined( FEATURE_038_OP_CMPSC_FACILITY )
FT( NONE, NONE, NONE, 038_OP_CMPSC )
#endif
FT( NONE, NONE, NONE, 039_IBM_INTERNAL )
#if defined( FEATURE_040_LOAD_PROG_PARAM_FACILITY )
FT( Z900, Z900, NONE, 040_LOAD_PROG_PARAM )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_041_FPS_ENHANCEMENT_FACILITY )
FT( Z90X, Z900, NONE, 041_FPS_ENHANCEMENT )
#if defined( FEATURE_041_DFP_ROUNDING_FACILITY )
FT( Z90X, Z900, NONE, 041_DFP_ROUNDING )
#endif
#if defined( FEATURE_041_FPR_GR_TRANSFER_FACILITY )
FT( Z90X, Z900, NONE, 041_FPR_GR_TRANSFER )
#endif
#if defined( FEATURE_041_FPS_SIGN_HANDLING_FACILITY )
FT( Z90X, Z900, NONE, 041_FPS_SIGN_HANDLING )
#endif
#if defined( FEATURE_041_IEEE_EXCEPT_SIM_FACILITY )
FT( Z90X, Z900, NONE, 041_IEEE_EXCEPT_SIM )
#endif
#endif /* defined( FEATURE_041_FPS_ENHANCEMENT_FACILITY ) */
/*-------------------------------------------------------------------*/
#if defined( FEATURE_042_DFP_FACILITY )
FT( Z90X, Z900, NONE, 042_DFP )
#endif
#if defined( FEATURE_043_DFP_HPERF_FACILITY )
FT( Z90X, Z900, NONE, 043_DFP_HPERF )
#endif
#if defined( FEATURE_044_PFPO_FACILITY )
FT( Z90X, Z900, NONE, 044_PFPO )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_045_DISTINCT_OPERANDS_FACILITY )
FT( Z90X, Z900, NONE, 045_DISTINCT_OPERANDS )
#endif
#if defined( FEATURE_045_FAST_BCR_SERIAL_FACILITY )
FT( Z90X, Z900, NONE, 045_FAST_BCR_SERIAL )
#endif
#if defined( FEATURE_045_HIGH_WORD_FACILITY )
FT( Z90X, Z900, NONE, 045_HIGH_WORD )
#endif
#if defined( FEATURE_045_INTERLOCKED_ACCESS_FACILITY_1 )
FT( Z90X, Z900, NONE, 045_INTERLOCKED_ACCESS_1 )
#endif
#if defined( FEATURE_045_LOAD_STORE_ON_COND_FACILITY_1 )
FT( Z90X, Z900, NONE, 045_LOAD_STORE_ON_COND_1 )
#endif
#if defined( FEATURE_045_POPULATION_COUNT_FACILITY )
FT( Z90X, Z900, NONE, 045_POPULATION_COUNT )
#endif
/*-------------------------------------------------------------------*/
FT( NONE, NONE, NONE, 046_IBM_INTERNAL )
#if defined( FEATURE_047_CMPSC_ENH_FACILITY )
FT( Z900, Z900, NONE, 047_CMPSC_ENH )
#endif
#if defined( FEATURE_048_DFP_ZONE_CONV_FACILITY )
FT( Z900, Z900, NONE, 048_DFP_ZONE_CONV )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_049_EXECUTION_HINT_FACILITY )
FT( Z900, Z900, NONE, 049_EXECUTION_HINT )
#endif
#if defined( FEATURE_049_LOAD_AND_TRAP_FACILITY )
FT( Z900, Z900, NONE, 049_LOAD_AND_TRAP )
#endif
#if defined( FEATURE_049_PROCESSOR_ASSIST_FACILITY )
FT( Z900, Z900, NONE, 049_PROCESSOR_ASSIST )
#endif
#if defined( FEATURE_049_MISC_INSTR_EXT_FACILITY_1 )
FT( Z900, Z900, NONE, 049_MISC_INSTR_EXT_1 )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_050_CONSTR_TRANSACT_FACILITY )
FT( Z900, Z900, NONE, 050_CONSTR_TRANSACT )
#endif
#if defined( FEATURE_051_LOCAL_TLB_CLEARING_FACILITY )
FT( Z900, Z900, NONE, 051_LOCAL_TLB_CLEARING )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_052_INTERLOCKED_ACCESS_FACILITY_2 )
#if IAF2_ATOMICS_UNAVAILABLE == CAN_IAF2
FT( NONE, NONE, NONE, 052_INTERLOCKED_ACCESS_2 )
#else
FT( Z390, Z390, NONE, 052_INTERLOCKED_ACCESS_2 )
#endif
#endif /* defined( FEATURE_052_INTERLOCKED_ACCESS_FACILITY_2 ) */
/*-------------------------------------------------------------------*/
#if defined( FEATURE_053_LOAD_STORE_ON_COND_FACILITY_2 )
FT( Z900, Z900, NONE, 053_LOAD_STORE_ON_COND_2 )
#endif
#if defined( FEATURE_053_LOAD_ZERO_RIGHTMOST_FACILITY )
FT( Z900, Z900, NONE, 053_LOAD_ZERO_RIGHTMOST )
#endif
/*-------------------------------------------------------------------*/
#if defined( FEATURE_054_EE_CMPSC_FACILITY )
FT( NONE, NONE, NONE, 054_EE_CMPSC )
#endif
FT( NONE, NONE, NONE, 055_IBM_INTERNAL )
FT( NONE, NONE, NONE, 056_UNDEFINED )
#if defined( FEATURE_057_MSA_EXTENSION_FACILITY_5 )
FT( NONE, NONE, NONE, 057_MSA_EXTENSION_5 )
#endif
#if defined( FEATURE_058_MISC_INSTR_EXT_FACILITY_2 )
FT( Z900, Z900, NONE, 058_MISC_INSTR_EXT_2 )
#endif
FT( NONE, NONE, NONE, 059_IBM_INTERNAL )
FT( NONE, NONE, NONE, 060_IBM_INTERNAL )
#if defined( FEATURE_061_MISC_INSTR_EXT_FACILITY_3 )
FT( Z900, Z900, NONE, 061_MISC_INSTR_EXT_3 )
#endif
FT( NONE, NONE, NONE, 062_IBM_INTERNAL )
FT( NONE, NONE, NONE, 063_IBM_INTERNAL )
FT( NONE, NONE, NONE, 064_IBM_INTERNAL )
FT( NONE, NONE, NONE, 065_IBM_INTERNAL )
#if defined( FEATURE_066_RES_REF_BITS_MULT_FACILITY )
FT( Z900, Z900, NONE, 066_RES_REF_BITS_MULT )
#endif
#if defined( FEATURE_067_CPU_MEAS_COUNTER_FACILITY )
FT( NONE, NONE, NONE, 067_CPU_MEAS_COUNTER )
#endif
#if defined( FEATURE_068_CPU_MEAS_SAMPLNG_FACILITY )
FT( NONE, NONE, NONE, 068_CPU_MEAS_SAMPLNG )
#endif
FT( NONE, NONE, NONE, 069_IBM_INTERNAL )
FT( NONE, NONE, NONE, 070_IBM_INTERNAL )
FT( NONE, NONE, NONE, 071_IBM_INTERNAL )
FT( NONE, NONE, NONE, 072_IBM_INTERNAL )
#if defined( FEATURE_073_TRANSACT_EXEC_FACILITY )
FT( Z900, Z900, NONE, 073_TRANSACT_EXEC )
#endif
#if defined( FEATURE_074_STORE_HYPER_INFO_FACILITY )
FT( Z900, NONE, NONE, 074_STORE_HYPER_INFO ) // (defaults to OFF/disabled)
#endif
#if defined( FEATURE_075_ACC_EX_FS_INDIC_FACILITY )
FT( Z900, Z900, NONE, 075_ACC_EX_FS_INDIC )
#endif
#if defined( FEATURE_076_MSA_EXTENSION_FACILITY_3 )
FT( Z90X, Z900, NONE, 076_MSA_EXTENSION_3 )
#endif
#if defined( FEATURE_077_MSA_EXTENSION_FACILITY_4 )
FT( Z90X, Z900, NONE, 077_MSA_EXTENSION_4 )
#endif
#if defined( FEATURE_078_ENHANCED_DAT_FACILITY_2 )
FT( NONE, NONE, NONE, 078_EDAT_2 )
#endif
FT( NONE, NONE, NONE, 079_UNDEFINED )
#if defined( FEATURE_080_DFP_PACK_CONV_FACILITY )
FT( Z900, Z900, NONE, 080_DFP_PACK_CONV )
#endif
#if defined( FEATURE_081_PPA_IN_ORDER_FACILITY )
FT( Z900, Z900, NONE, 081_PPA_IN_ORDER )
#endif
FT( NONE, NONE, NONE, 082_IBM_INTERNAL )
FT( NONE, NONE, NONE, 083_UNDEFINED )
FT( NONE, NONE, NONE, 084_UNDEFINED )
FT( NONE, NONE, NONE, 085_UNDEFINED )
FT( NONE, NONE, NONE, 086_UNDEFINED )
FT( NONE, NONE, NONE, 087_UNDEFINED )
FT( NONE, NONE, NONE, 088_UNDEFINED )
FT( NONE, NONE, NONE, 089_UNDEFINED )
FT( NONE, NONE, NONE, 090_UNDEFINED )
FT( NONE, NONE, NONE, 091_UNDEFINED )
FT( NONE, NONE, NONE, 092_UNDEFINED )
FT( NONE, NONE, NONE, 093_UNDEFINED )
FT( NONE, NONE, NONE, 094_UNDEFINED )
FT( NONE, NONE, NONE, 095_UNDEFINED )
FT( NONE, NONE, NONE, 096_UNDEFINED )
FT( NONE, NONE, NONE, 097_UNDEFINED )
FT( NONE, NONE, NONE, 098_UNDEFINED )
FT( NONE, NONE, NONE, 099_UNDEFINED )
FT( NONE, NONE, NONE, 100_UNDEFINED )
FT( NONE, NONE, NONE, 101_UNDEFINED )
FT( NONE, NONE, NONE, 102_UNDEFINED )
FT( NONE, NONE, NONE, 103_UNDEFINED )
FT( NONE, NONE, NONE, 104_UNDEFINED )
FT( NONE, NONE, NONE, 105_UNDEFINED )
FT( NONE, NONE, NONE, 106_UNDEFINED )
FT( NONE, NONE, NONE, 107_UNDEFINED )
FT( NONE, NONE, NONE, 108_UNDEFINED )
FT( NONE, NONE, NONE, 109_UNDEFINED )
FT( NONE, NONE, NONE, 110_UNDEFINED )
FT( NONE, NONE, NONE, 111_UNDEFINED )
FT( NONE, NONE, NONE, 112_UNDEFINED )
FT( NONE, NONE, NONE, 113_UNDEFINED )
FT( NONE, NONE, NONE, 114_UNDEFINED )
FT( NONE, NONE, NONE, 115_UNDEFINED )
FT( NONE, NONE, NONE, 116_UNDEFINED )
FT( NONE, NONE, NONE, 117_UNDEFINED )
FT( NONE, NONE, NONE, 118_UNDEFINED )
FT( NONE, NONE, NONE, 119_UNDEFINED )
FT( NONE, NONE, NONE, 120_UNDEFINED )
FT( NONE, NONE, NONE, 121_UNDEFINED )
FT( NONE, NONE, NONE, 122_UNDEFINED )
FT( NONE, NONE, NONE, 123_UNDEFINED )
FT( NONE, NONE, NONE, 124_UNDEFINED )
FT( NONE, NONE, NONE, 125_UNDEFINED )
FT( NONE, NONE, NONE, 126_UNDEFINED )
FT( NONE, NONE, NONE, 127_UNDEFINED )
FT( NONE, NONE, NONE, 128_IBM_INTERNAL )
#if defined( FEATURE_129_ZVECTOR_FACILITY )
FT( NONE, NONE, NONE, 129_ZVECTOR )
#endif
#if defined( FEATURE_130_INSTR_EXEC_PROT_FACILITY )
FT( NONE, NONE, NONE, 130_INSTR_EXEC_PROT )
#endif
#if defined( FEATURE_131_ENH_SUPP_ON_PROT_2_FACILITY )
FT( NONE, NONE, NONE, 131_ENH_SUPP_ON_PROT_2 )
#endif
#if defined( FEATURE_131_SIDE_EFFECT_ACCESS_FACILITY )
FT( NONE, NONE, NONE, 131_SIDE_EFFECT_ACCESS )
#endif
FT( NONE, NONE, NONE, 132_UNDEFINED )
#if defined( FEATURE_133_GUARDED_STORAGE_FACILITY )
FT( NONE, NONE, NONE, 133_GUARDED_STORAGE )
#endif
#if defined( FEATURE_134_ZVECTOR_PACK_DEC_FACILITY )
FT( NONE, NONE, NONE, 134_ZVECTOR_PACK_DEC )
#endif
#if defined( FEATURE_135_ZVECTOR_ENH_FACILITY_1 )
FT( NONE, NONE, NONE, 135_ZVECTOR_ENH_1 )
#endif
FT( NONE, NONE, NONE, 136_UNDEFINED )
FT( NONE, NONE, NONE, 137_UNDEFINED )
#if defined( FEATURE_138_CONFIG_ZARCH_MODE_FACILITY )
FT( NONE, NONE, NONE, 138_CONFIG_ZARCH_MODE )
#endif
#if defined( FEATURE_139_MULTIPLE_EPOCH_FACILITY )
FT( NONE, NONE, NONE, 139_MULTIPLE_EPOCH )
#endif
FT( NONE, NONE, NONE, 140_IBM_INTERNAL )
FT( NONE, NONE, NONE, 141_IBM_INTERNAL )
#if defined( FEATURE_142_ST_CPU_COUNTER_MULT_FACILITY )
FT( NONE, NONE, NONE, 142_ST_CPU_COUNTER_MULT )
#endif
FT( NONE, NONE, NONE, 143_UNDEFINED )
#if defined( FEATURE_144_TEST_PEND_EXTERNAL_FACILITY )
FT( NONE, NONE, NONE, 144_TEST_PEND_EXTERNAL )
#endif
#if defined( FEATURE_145_INS_REF_BITS_MULT_FACILITY )
FT( Z900, Z900, NONE, 145_INS_REF_BITS_MULT )
#endif
#if defined( FEATURE_146_MSA_EXTENSION_FACILITY_8 )
FT( NONE, NONE, NONE, 146_MSA_EXTENSION_8 )
#endif
FT( NONE, NONE, NONE, 147_IBM_RESERVED )
#if defined( FEATURE_148_VECTOR_ENH_FACILITY_2 )
FT( NONE, NONE, NONE, 148_VECTOR_ENH_2 )
#endif
#if defined( FEATURE_149_MOVEPAGE_SETKEY_FACILITY )
FT( NONE, NONE, NONE, 149_MOVEPAGE_SETKEY )
#endif
#if defined( FEATURE_150_ENH_SORT_FACILITY )
FT( NONE, NONE, NONE, 150_ENH_SORT )
#endif
#if defined( FEATURE_151_DEFLATE_CONV_FACILITY )
FT( NONE, NONE, NONE, 151_DEFLATE_CONV )
#endif
#if defined( FEATURE_152_VECT_PACKDEC_ENH_FACILITY )
FT( NONE, NONE, NONE, 152_VECT_PACKDEC_ENH )
#endif
FT( NONE, NONE, NONE, 153_IBM_INTERNAL )
FT( NONE, NONE, NONE, 154_UNDEFINED )
#if defined( FEATURE_155_MSA_EXTENSION_FACILITY_9 )
FT( NONE, NONE, NONE, 155_MSA_EXTENSION_9 )
#endif
FT( NONE, NONE, NONE, 156_IBM_INTERNAL )
FT( NONE, NONE, NONE, 157_UNDEFINED )
#if defined( FEATURE_158_ULTRAV_CALL_FACILITY )
FT( NONE, NONE, NONE, 158_ULTRAV_CALL )
#endif
FT( NONE, NONE, NONE, 159_UNDEFINED )
FT( NONE, NONE, NONE, 160_UNDEFINED )
#if defined( FEATURE_161_SEC_EXE_UNPK_FACILITY )
FT( NONE, NONE, NONE, 161_SEC_EXE_UNPK )
#endif
FT( NONE, NONE, NONE, 162_UNDEFINED )
FT( NONE, NONE, NONE, 163_UNDEFINED )
FT( NONE, NONE, NONE, 164_UNDEFINED )
#if defined( FEATURE_165_NNET_ASSIST_FACILITY )
FT( NONE, NONE, NONE, 165_NNET_ASSIST )
#endif
FT( NONE, NONE, NONE, 166_UNDEFINED )
FT( NONE, NONE, NONE, 167_UNDEFINED )
#if defined( FEATURE_168_ESA390_COMPAT_MODE_FACILITY )
FT( NONE, NONE, NONE, 168_ESA390_COMPAT_MODE )
#endif
#if defined( FEATURE_169_SKEY_REMOVAL_FACILITY )
FT( NONE, NONE, NONE, 169_SKEY_REMOVAL )
#endif
FT( NONE, NONE, NONE, 170_UNDEFINED )
FT( NONE, NONE, NONE, 171_UNDEFINED )
FT( NONE, NONE, NONE, 172_UNDEFINED )
FT( NONE, NONE, NONE, 173_UNDEFINED )
FT( NONE, NONE, NONE, 174_UNDEFINED )
FT( NONE, NONE, NONE, 175_UNDEFINED )
FT( NONE, NONE, NONE, 176_UNDEFINED )
FT( NONE, NONE, NONE, 177_UNDEFINED )
FT( NONE, NONE, NONE, 178_UNDEFINED )
FT( NONE, NONE, NONE, 179_UNDEFINED )
FT( NONE, NONE, NONE, 180_UNDEFINED )
FT( NONE, NONE, NONE, 181_UNDEFINED )
FT( NONE, NONE, NONE, 182_UNDEFINED )
FT( NONE, NONE, NONE, 183_UNDEFINED )
FT( NONE, NONE, NONE, 184_UNDEFINED )
FT( NONE, NONE, NONE, 185_UNDEFINED )
FT( NONE, NONE, NONE, 186_UNDEFINED )
FT( NONE, NONE, NONE, 187_UNDEFINED )
FT( NONE, NONE, NONE, 188_UNDEFINED )
FT( NONE, NONE, NONE, 189_UNDEFINED )
FT( NONE, NONE, NONE, 190_UNDEFINED )
FT( NONE, NONE, NONE, 191_UNDEFINED )
#if defined( FEATURE_192_VECT_PACKDEC_ENH_2_FACILITY )
FT( NONE, NONE, NONE, 192_VECT_PACKDEC_ENH_2 )
#endif
#if defined( FEATURE_193_BEAR_ENH_FACILITY )
FT( Z900, Z900, NONE, 193_BEAR_ENH )
#endif
#if defined( FEATURE_194_RESET_DAT_PROT_FACILITY )
FT( NONE, NONE, NONE, 194_RESET_DAT_PROT )
#endif
FT( NONE, NONE, NONE, 195_UNDEFINED )
#if defined( FEATURE_196_PROC_ACT_FACILITY)
FT( NONE, NONE, NONE, 196_PROC_ACT )
#endif
#if defined( FEATURE_197_PROC_ACT_EXT_1_FACILITY)
FT( NONE, NONE, NONE, 197_PROC_ACT_EXT_1 )
#endif
FT( NONE, NONE, NONE, 198_UNDEFINED )
FT( NONE, NONE, NONE, 199_UNDEFINED )
FT( NONE, NONE, NONE, 200_UNDEFINED )
/*-------------------------------------------------------------------*/
/* Hercules Facility bits */
/*-------------------------------------------------------------------*/
/* The below facility bits are HERCULES SPECIFIC and not part of the */
/* architecture. They are placed here for the convenience of being */
/* able to use the Virtual Architecture Level facility (i.e. the */
/* FACILITY_CHECK and FACILITY_ENABLED macros). */
/* */
/* Note that Hercules's facility bits start at the first bit of the */
/* first byte of the first double-word (DW) immediately following */
/* the IBM defined bits, and are inaccessible to the guest. Both of */
/* the STFLE and SIE instruction functions only reference/use the */
/* STFL_IBM_BY_SIZE value in their code thus preventing guest access */
/* to Hercules's facility bits. Only the facility command functions */
/* can access the Hercules facility bits and only Hercules itself */
/* uses them internally. */
/*-------------------------------------------------------------------*/
/* */
/* Sup (Supported) means the facility is supported by Hercules for */
/* the given architectures. Def (Default) indicates the facility */
/* defaults to enabled for the specified architectures. The Req */
/* (Required) field indicates the facility is a REQUIRED facility */
/* for the architecture and enabling/disabling it isn't allowed. */
/* */
/*-------------------------------------------------------------------*/
/* Sup Def Req Short Name... */
/*-------------------------------------------------------------------*/
#if defined( FEATURE_370_EXTENSION )
FT( S370, NONE, NONE, HERC_370_EXTENSION )
#endif
FT( MALL, MALL, NONE, HERC_DETECT_PGMINTLOOP )
#if defined( FEATURE_HERCULES_DIAGCALLS )
#if defined( FEATURE_HOST_RESOURCE_ACCESS_FACILITY )
FT( MALL, NONE, NONE, HERC_HOST_RESOURCE_ACCESS )
#endif
#endif
#if defined( FEATURE_INTERVAL_TIMER )
FT( MALL, MALL, Z390, HERC_INTERVAL_TIMER )
#endif
#if defined( FEATURE_HYPERVISOR )
FT( MALL, MALL, NONE, HERC_LOGICAL_PARTITION )
#endif
FT( MALL, MALL, Z900, HERC_MOVE_INVERSE )
#if defined( FEATURE_MSA_EXTENSION_FACILITY_1 )
FT( Z39X, Z390, NONE, HERC_MSA_EXTENSION_1 )
#endif
#if defined( FEATURE_MSA_EXTENSION_FACILITY_2 )
FT( Z39X, Z390, NONE, HERC_MSA_EXTENSION_2 )
#endif
#if defined( FEATURE_HERCULES_DIAGCALLS )
FT( MALL, NONE, NONE, HERC_PROBSTATE_DIAGF08 )
#endif
FT( Z390, NONE, NONE, HERC_QDIO_ASSIST )
#if defined( FEATURE_QDIO_TDD )
FT( Z390, NONE, NONE, HERC_QDIO_TDD )
#endif
#if defined( FEATURE_QDIO_THININT )
FT( Z390, Z390, NONE, HERC_QDIO_THININT )
#endif
#if defined( FEATURE_QEBSM )
FT( Z390, Z390, NONE, HERC_QEBSM )
#endif
#if defined( FEATURE_HERCULES_DIAGCALLS )
FT( MALL, NONE, NONE, HERC_SIGP_SETARCH_S370 )
#endif
#if defined( FEATURE_SVS )
FT( Z390, Z390, NONE, HERC_SVS )
#endif
#if defined( FEATURE_EMULATE_VM )
FT( MALL, NONE, NONE, HERC_VIRTUAL_MACHINE )
#endif
#if defined( FEATURE_TCPIP_EXTENSION )
FT( MALL, NONE, NONE, HERC_TCPIP_EXTENSION )
FT( MALL, NONE, NONE, HERC_TCPIP_PROB_STATE )
#endif
#if defined( FEATURE_ZVM_ESSA )
FT( Z900, NONE, NONE, HERC_ZVM_ESSA ) // z/VM ESSA Extract and Set Storage Attributes
// (defaults to OFF/disabled)
#endif
};
/*-------------------------------------------------------------------*/
/* Facility Not Enabled Program Check function */
/*-------------------------------------------------------------------*/
/* The following intruction function is used to force an immediate */
/* Operation Exception Program Check interruption for instructions */
/* pertaining to a disabled facility. When a facility is disabled, */
/* the opcode table for instructions associated with that facility */
/* is updated to point all of its instructions to this function. */
/* This relieves each individual instruction from having to always */
/* perform a FACILITY_CHECK macro to manually check if the facility */
/* is enabled or not each time it is executed, thereby allowing it */
/* to be more efficient (execute faster) since if the facility is */
/* disabled the instruction function is never even called. Instead, */
/* the below instruction function is directly called instead. */
/*-------------------------------------------------------------------*/
static DEF_INST( facility_not_enabled ) {
ARCH_DEP( operation_exception )( inst, regs ); }
/*-------------------------------------------------------------------*/
/* (delineates ARCH_DEP from non-arch_dep) */
/*-------------------------------------------------------------------*/
#if !defined( _GEN_ARCH )
// _ARCH_NUM_0 has been built.
// Now build the other architectures...
#if defined( _ARCH_NUM_1 )
#define _GEN_ARCH _ARCH_NUM_1
#include "facility.c"
#endif
#if defined( _ARCH_NUM_2 )
#undef _GEN_ARCH
#define _GEN_ARCH _ARCH_NUM_2
#include "facility.c"
#endif
/*-------------------------------------------------------------------*/
/* (delineates ARCH_DEP from non-arch_dep) */
/*-------------------------------------------------------------------*/
/*-------------------------------------------------------------------*/
/* Facility Bit Modification Check Functions forward references */
/*-------------------------------------------------------------------*/
static bool mod000 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod002 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod003 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod004 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod005 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod007 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod008 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod010 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod014 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod018 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod019 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod025 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod028 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod037 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod040 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod042 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod043 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod045 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod048 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod049 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod050 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod051 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod061 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod066 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod067 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod068 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod073 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod076 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod077 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod078 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod080 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod081 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod129 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod134 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod135 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod139 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod142 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod145 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod146 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod148 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod149 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod152 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod155 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod165 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod168 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod169 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod192 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod194 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod196 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool mod197 ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
static bool modtcp ( bool enable, int bitno, int archnum, const char* action, const char* actioning, const char* opp_actioning, const char* target_facname );
/*-------------------------------------------------------------------*/
/* Facility Opcode Table Update Functions forward references */
/*-------------------------------------------------------------------*/
static void instr0 ( int arch, bool enable );
static void instr3 ( int arch, bool enable );
static void instr6 ( int arch, bool enable );
static void instr7 ( int arch, bool enable );
static void instr8 ( int arch, bool enable );
static void instr11 ( int arch, bool enable );
static void instr16 ( int arch, bool enable );
static void instr17 ( int arch, bool enable );
static void instr18 ( int arch, bool enable );
static void instr20 ( int arch, bool enable );
static void instr21 ( int arch, bool enable );
static void instr22 ( int arch, bool enable );
static void instr23 ( int arch, bool enable );
static void instr25 ( int arch, bool enable );
static void instr26 ( int arch, bool enable );
static void instr27 ( int arch, bool enable );
static void instr28 ( int arch, bool enable );
static void instr31 ( int arch, bool enable );
static void instr32 ( int arch, bool enable );
static void instr34 ( int arch, bool enable );
static void instr35 ( int arch, bool enable );
static void instr37 ( int arch, bool enable );
static void instr40 ( int arch, bool enable );
static void instr41 ( int arch, bool enable );
static void instr42 ( int arch, bool enable );
static void instr44 ( int arch, bool enable );
static void instr45 ( int arch, bool enable );
static void instr48 ( int arch, bool enable );
static void instr49 ( int arch, bool enable );
static void instr50 ( int arch, bool enable );
static void instr53 ( int arch, bool enable );
static void instr57 ( int arch, bool enable );
static void instr58 ( int arch, bool enable );
static void instr61 ( int arch, bool enable );
static void instr66 ( int arch, bool enable );
static void instr67 ( int arch, bool enable );
static void instr68 ( int arch, bool enable );
static void instr73 ( int arch, bool enable );
static void instr74 ( int arch, bool enable );
static void instr76 ( int arch, bool enable );
static void instr77 ( int arch, bool enable );
static void instr78 ( int arch, bool enable );
static void instr80 ( int arch, bool enable );
static void instr129 ( int arch, bool enable );
static void instr133 ( int arch, bool enable );
static void instr134 ( int arch, bool enable );
static void instr142 ( int arch, bool enable );
static void instr144 ( int arch, bool enable );
static void instr145 ( int arch, bool enable );
static void instr146 ( int arch, bool enable );
static void instr148 ( int arch, bool enable );
static void instr150 ( int arch, bool enable );
static void instr151 ( int arch, bool enable );
static void instr155 ( int arch, bool enable );
static void instr165 ( int arch, bool enable );
static void instr192 ( int arch, bool enable );
static void instr193 ( int arch, bool enable );
static void instr194 ( int arch, bool enable );
static void instr196 ( int arch, bool enable );
static void hercmvcin ( int arch, bool enable );
static void hercsvs ( int arch, bool enable );
static void herc37X ( int arch, bool enable );
static void herctcp ( int arch, bool enable );
static void hercessa ( int arch, bool enable );
/*-------------------------------------------------------------------*/
/* The ACTUAL facilities table, initialized by init_facilities_lists */
/*-------------------------------------------------------------------*/