aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ocaml/byterun/prims.c
blob: 15ebf5933ce20226f27f12f041b8a28a246e3988 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
#define CAML_INTERNALS
#include "caml/mlvalues.h"
#include "caml/prims.h"
extern value caml_abs_float();
extern value caml_acos_float();
extern value caml_add_debug_info();
extern value caml_add_float();
extern value caml_alloc_dummy();
extern value caml_alloc_dummy_float();
extern value caml_alloc_dummy_function();
extern value caml_array_append();
extern value caml_array_blit();
extern value caml_array_concat();
extern value caml_array_get();
extern value caml_array_get_addr();
extern value caml_array_get_float();
extern value caml_array_set();
extern value caml_array_set_addr();
extern value caml_array_set_float();
extern value caml_array_sub();
extern value caml_array_unsafe_get();
extern value caml_array_unsafe_get_float();
extern value caml_array_unsafe_set();
extern value caml_array_unsafe_set_addr();
extern value caml_array_unsafe_set_float();
extern value caml_asin_float();
extern value caml_atan2_float();
extern value caml_atan_float();
extern value caml_ba_blit();
extern value caml_ba_change_layout();
extern value caml_ba_create();
extern value caml_ba_dim();
extern value caml_ba_dim_1();
extern value caml_ba_dim_2();
extern value caml_ba_dim_3();
extern value caml_ba_fill();
extern value caml_ba_get_1();
extern value caml_ba_get_2();
extern value caml_ba_get_3();
extern value caml_ba_get_generic();
extern value caml_ba_kind();
extern value caml_ba_layout();
extern value caml_ba_num_dims();
extern value caml_ba_reshape();
extern value caml_ba_set_1();
extern value caml_ba_set_2();
extern value caml_ba_set_3();
extern value caml_ba_set_generic();
extern value caml_ba_slice();
extern value caml_ba_sub();
extern value caml_ba_uint8_get16();
extern value caml_ba_uint8_get32();
extern value caml_ba_uint8_get64();
extern value caml_ba_uint8_set16();
extern value caml_ba_uint8_set32();
extern value caml_ba_uint8_set64();
extern value caml_backtrace_status();
extern value caml_blit_bytes();
extern value caml_blit_string();
extern value caml_bswap16();
extern value caml_bytes_compare();
extern value caml_bytes_equal();
extern value caml_bytes_get();
extern value caml_bytes_get16();
extern value caml_bytes_get32();
extern value caml_bytes_get64();
extern value caml_bytes_greaterequal();
extern value caml_bytes_greaterthan();
extern value caml_bytes_lessequal();
extern value caml_bytes_lessthan();
extern value caml_bytes_notequal();
extern value caml_bytes_of_string();
extern value caml_bytes_set();
extern value caml_bytes_set16();
extern value caml_bytes_set32();
extern value caml_bytes_set64();
extern value caml_ceil_float();
extern value caml_channel_descriptor();
extern value caml_classify_float();
extern value caml_compare();
extern value caml_convert_raw_backtrace();
extern value caml_convert_raw_backtrace_slot();
extern value caml_copysign_float();
extern value caml_cos_float();
extern value caml_cosh_float();
extern value caml_create_bytes();
extern value caml_create_string();
extern value caml_div_float();
extern value caml_dynlink_add_primitive();
extern value caml_dynlink_close_lib();
extern value caml_dynlink_get_current_libs();
extern value caml_dynlink_lookup_symbol();
extern value caml_dynlink_open_lib();
extern value caml_ensure_stack_capacity();
extern value caml_ephe_blit_data();
extern value caml_ephe_blit_key();
extern value caml_ephe_check_data();
extern value caml_ephe_check_key();
extern value caml_ephe_create();
extern value caml_ephe_get_data();
extern value caml_ephe_get_data_copy();
extern value caml_ephe_get_key();
extern value caml_ephe_get_key_copy();
extern value caml_ephe_set_data();
extern value caml_ephe_set_key();
extern value caml_ephe_unset_data();
extern value caml_ephe_unset_key();
extern value caml_eq_float();
extern value caml_equal();
extern value caml_exp_float();
extern value caml_expm1_float();
extern value caml_fill_bytes();
extern value caml_fill_string();
extern value caml_final_register();
extern value caml_final_register_called_without_value();
extern value caml_final_release();
extern value caml_float_compare();
extern value caml_float_of_int();
extern value caml_float_of_string();
extern value caml_floatarray_create();
extern value caml_floatarray_get();
extern value caml_floatarray_set();
extern value caml_floatarray_unsafe_get();
extern value caml_floatarray_unsafe_set();
extern value caml_floor_float();
extern value caml_fmod_float();
extern value caml_format_float();
extern value caml_format_int();
extern value caml_fresh_oo_id();
extern value caml_frexp_float();
extern value caml_gc_compaction();
extern value caml_gc_counters();
extern value caml_gc_full_major();
extern value caml_gc_get();
extern value caml_gc_huge_fallback_count();
extern value caml_gc_major();
extern value caml_gc_major_slice();
extern value caml_gc_minor();
extern value caml_gc_minor_words();
extern value caml_gc_quick_stat();
extern value caml_gc_set();
extern value caml_gc_stat();
extern value caml_ge_float();
extern value caml_get_current_callstack();
extern value caml_get_current_environment();
extern value caml_get_exception_backtrace();
extern value caml_get_exception_raw_backtrace();
extern value caml_get_global_data();
extern value caml_get_major_bucket();
extern value caml_get_major_credit();
extern value caml_get_minor_free();
extern value caml_get_public_method();
extern value caml_get_section_table();
extern value caml_greaterequal();
extern value caml_greaterthan();
extern value caml_gt_float();
extern value caml_hash();
extern value caml_hash_univ_param();
extern value caml_hexstring_of_float();
extern value caml_hypot_float();
extern value caml_input_value();
extern value caml_input_value_from_bytes();
extern value caml_input_value_from_string();
extern value caml_input_value_to_outside_heap();
extern value caml_install_signal_handler();
extern value caml_int32_add();
extern value caml_int32_and();
extern value caml_int32_bits_of_float();
extern value caml_int32_bswap();
extern value caml_int32_compare();
extern value caml_int32_div();
extern value caml_int32_float_of_bits();
extern value caml_int32_format();
extern value caml_int32_mod();
extern value caml_int32_mul();
extern value caml_int32_neg();
extern value caml_int32_of_float();
extern value caml_int32_of_int();
extern value caml_int32_of_string();
extern value caml_int32_or();
extern value caml_int32_shift_left();
extern value caml_int32_shift_right();
extern value caml_int32_shift_right_unsigned();
extern value caml_int32_sub();
extern value caml_int32_to_float();
extern value caml_int32_to_int();
extern value caml_int32_xor();
extern value caml_int64_add();
extern value caml_int64_and();
extern value caml_int64_bits_of_float();
extern value caml_int64_bswap();
extern value caml_int64_compare();
extern value caml_int64_div();
extern value caml_int64_float_of_bits();
extern value caml_int64_format();
extern value caml_int64_mod();
extern value caml_int64_mul();
extern value caml_int64_neg();
extern value caml_int64_of_float();
extern value caml_int64_of_int();
extern value caml_int64_of_int32();
extern value caml_int64_of_nativeint();
extern value caml_int64_of_string();
extern value caml_int64_or();
extern value caml_int64_shift_left();
extern value caml_int64_shift_right();
extern value caml_int64_shift_right_unsigned();
extern value caml_int64_sub();
extern value caml_int64_to_float();
extern value caml_int64_to_int();
extern value caml_int64_to_int32();
extern value caml_int64_to_nativeint();
extern value caml_int64_xor();
extern value caml_int_as_pointer();
extern value caml_int_compare();
extern value caml_int_of_float();
extern value caml_int_of_string();
extern value caml_invoke_traced_function();
extern value caml_lazy_follow_forward();
extern value caml_lazy_make_forward();
extern value caml_ldexp_float();
extern value caml_le_float();
extern value caml_lessequal();
extern value caml_lessthan();
extern value caml_lex_engine();
extern value caml_log10_float();
extern value caml_log1p_float();
extern value caml_log_float();
extern value caml_lt_float();
extern value caml_make_array();
extern value caml_make_float_vect();
extern value caml_make_vect();
extern value caml_marshal_data_size();
extern value caml_md5_chan();
extern value caml_md5_string();
extern value caml_ml_bytes_length();
extern value caml_ml_channel_size();
extern value caml_ml_channel_size_64();
extern value caml_ml_close_channel();
extern value caml_ml_enable_runtime_warnings();
extern value caml_ml_flush();
extern value caml_ml_flush_partial();
extern value caml_ml_input();
extern value caml_ml_input_char();
extern value caml_ml_input_int();
extern value caml_ml_input_scan_line();
extern value caml_ml_open_descriptor_in();
extern value caml_ml_open_descriptor_out();
extern value caml_ml_out_channels_list();
extern value caml_ml_output();
extern value caml_ml_output_bytes();
extern value caml_ml_output_char();
extern value caml_ml_output_int();
extern value caml_ml_output_partial();
extern value caml_ml_pos_in();
extern value caml_ml_pos_in_64();
extern value caml_ml_pos_out();
extern value caml_ml_pos_out_64();
extern value caml_ml_runtime_warnings_enabled();
extern value caml_ml_seek_in();
extern value caml_ml_seek_in_64();
extern value caml_ml_seek_out();
extern value caml_ml_seek_out_64();
extern value caml_ml_set_binary_mode();
extern value caml_ml_set_channel_name();
extern value caml_ml_string_length();
extern value caml_modf_float();
extern value caml_mul_float();
extern value caml_nativeint_add();
extern value caml_nativeint_and();
extern value caml_nativeint_bswap();
extern value caml_nativeint_compare();
extern value caml_nativeint_div();
extern value caml_nativeint_format();
extern value caml_nativeint_mod();
extern value caml_nativeint_mul();
extern value caml_nativeint_neg();
extern value caml_nativeint_of_float();
extern value caml_nativeint_of_int();
extern value caml_nativeint_of_int32();
extern value caml_nativeint_of_string();
extern value caml_nativeint_or();
extern value caml_nativeint_shift_left();
extern value caml_nativeint_shift_right();
extern value caml_nativeint_shift_right_unsigned();
extern value caml_nativeint_sub();
extern value caml_nativeint_to_float();
extern value caml_nativeint_to_int();
extern value caml_nativeint_to_int32();
extern value caml_nativeint_xor();
extern value caml_neg_float();
extern value caml_neq_float();
extern value caml_new_lex_engine();
extern value caml_notequal();
extern value caml_obj_add_offset();
extern value caml_obj_block();
extern value caml_obj_dup();
extern value caml_obj_is_block();
extern value caml_obj_reachable_words();
extern value caml_obj_set_tag();
extern value caml_obj_tag();
extern value caml_obj_truncate();
extern value caml_output_value();
extern value caml_output_value_to_buffer();
extern value caml_output_value_to_bytes();
extern value caml_output_value_to_string();
extern value caml_parse_engine();
extern value caml_power_float();
extern value caml_raw_backtrace_length();
extern value caml_raw_backtrace_next_slot();
extern value caml_raw_backtrace_slot();
extern value caml_realloc_global();
extern value caml_record_backtrace();
extern value caml_register_channel_for_spacetime();
extern value caml_register_code_fragment();
extern value caml_register_named_value();
extern value caml_reify_bytecode();
extern value caml_remove_debug_info();
extern value caml_reset_afl_instrumentation();
extern value caml_restore_raw_backtrace();
extern value caml_runtime_parameters();
extern value caml_runtime_variant();
extern value caml_set_oo_id();
extern value caml_set_parser_trace();
extern value caml_setup_afl();
extern value caml_sin_float();
extern value caml_sinh_float();
extern value caml_spacetime_enabled();
extern value caml_spacetime_only_works_for_native_code();
extern value caml_sqrt_float();
extern value caml_static_alloc();
extern value caml_static_free();
extern value caml_static_release_bytecode();
extern value caml_static_resize();
extern value caml_string_compare();
extern value caml_string_equal();
extern value caml_string_get();
extern value caml_string_get16();
extern value caml_string_get32();
extern value caml_string_get64();
extern value caml_string_greaterequal();
extern value caml_string_greaterthan();
extern value caml_string_lessequal();
extern value caml_string_lessthan();
extern value caml_string_notequal();
extern value caml_string_of_bytes();
extern value caml_string_set();
extern value caml_sub_float();
extern value caml_sys_chdir();
extern value caml_sys_close();
extern value caml_sys_const_backend_type();
extern value caml_sys_const_big_endian();
extern value caml_sys_const_int_size();
extern value caml_sys_const_max_wosize();
extern value caml_sys_const_ostype_cygwin();
extern value caml_sys_const_ostype_unix();
extern value caml_sys_const_ostype_win32();
extern value caml_sys_const_word_size();
extern value caml_sys_exit();
extern value caml_sys_file_exists();
extern value caml_sys_get_argv();
extern value caml_sys_get_config();
extern value caml_sys_getcwd();
extern value caml_sys_getenv();
extern value caml_sys_is_directory();
extern value caml_sys_isatty();
extern value caml_sys_open();
extern value caml_sys_random_seed();
extern value caml_sys_read_directory();
extern value caml_sys_remove();
extern value caml_sys_rename();
extern value caml_sys_system_command();
extern value caml_sys_time();
extern value caml_sys_time_include_children();
extern value caml_sys_unsafe_getenv();
extern value caml_tan_float();
extern value caml_tanh_float();
extern value caml_terminfo_rows();
extern value caml_update_dummy();
extern value caml_weak_blit();
extern value caml_weak_check();
extern value caml_weak_create();
extern value caml_weak_get();
extern value caml_weak_get_copy();
extern value caml_weak_set();
c_primitive caml_builtin_cprim[] = {
	caml_abs_float,
	caml_acos_float,
	caml_add_debug_info,
	caml_add_float,
	caml_alloc_dummy,
	caml_alloc_dummy_float,
	caml_alloc_dummy_function,
	caml_array_append,
	caml_array_blit,
	caml_array_concat,
	caml_array_get,
	caml_array_get_addr,
	caml_array_get_float,
	caml_array_set,
	caml_array_set_addr,
	caml_array_set_float,
	caml_array_sub,
	caml_array_unsafe_get,
	caml_array_unsafe_get_float,
	caml_array_unsafe_set,
	caml_array_unsafe_set_addr,
	caml_array_unsafe_set_float,
	caml_asin_float,
	caml_atan2_float,
	caml_atan_float,
	caml_ba_blit,
	caml_ba_change_layout,
	caml_ba_create,
	caml_ba_dim,
	caml_ba_dim_1,
	caml_ba_dim_2,
	caml_ba_dim_3,
	caml_ba_fill,
	caml_ba_get_1,
	caml_ba_get_2,
	caml_ba_get_3,
	caml_ba_get_generic,
	caml_ba_kind,
	caml_ba_layout,
	caml_ba_num_dims,
	caml_ba_reshape,
	caml_ba_set_1,
	caml_ba_set_2,
	caml_ba_set_3,
	caml_ba_set_generic,
	caml_ba_slice,
	caml_ba_sub,
	caml_ba_uint8_get16,
	caml_ba_uint8_get32,
	caml_ba_uint8_get64,
	caml_ba_uint8_set16,
	caml_ba_uint8_set32,
	caml_ba_uint8_set64,
	caml_backtrace_status,
	caml_blit_bytes,
	caml_blit_string,
	caml_bswap16,
	caml_bytes_compare,
	caml_bytes_equal,
	caml_bytes_get,
	caml_bytes_get16,
	caml_bytes_get32,
	caml_bytes_get64,
	caml_bytes_greaterequal,
	caml_bytes_greaterthan,
	caml_bytes_lessequal,
	caml_bytes_lessthan,
	caml_bytes_notequal,
	caml_bytes_of_string,
	caml_bytes_set,
	caml_bytes_set16,
	caml_bytes_set32,
	caml_bytes_set64,
	caml_ceil_float,
	caml_channel_descriptor,
	caml_classify_float,
	caml_compare,
	caml_convert_raw_backtrace,
	caml_convert_raw_backtrace_slot,
	caml_copysign_float,
	caml_cos_float,
	caml_cosh_float,
	caml_create_bytes,
	caml_create_string,
	caml_div_float,
	caml_dynlink_add_primitive,
	caml_dynlink_close_lib,
	caml_dynlink_get_current_libs,
	caml_dynlink_lookup_symbol,
	caml_dynlink_open_lib,
	caml_ensure_stack_capacity,
	caml_ephe_blit_data,
	caml_ephe_blit_key,
	caml_ephe_check_data,
	caml_ephe_check_key,
	caml_ephe_create,
	caml_ephe_get_data,
	caml_ephe_get_data_copy,
	caml_ephe_get_key,
	caml_ephe_get_key_copy,
	caml_ephe_set_data,
	caml_ephe_set_key,
	caml_ephe_unset_data,
	caml_ephe_unset_key,
	caml_eq_float,
	caml_equal,
	caml_exp_float,
	caml_expm1_float,
	caml_fill_bytes,
	caml_fill_string,
	caml_final_register,
	caml_final_register_called_without_value,
	caml_final_release,
	caml_float_compare,
	caml_float_of_int,
	caml_float_of_string,
	caml_floatarray_create,
	caml_floatarray_get,
	caml_floatarray_set,
	caml_floatarray_unsafe_get,
	caml_floatarray_unsafe_set,
	caml_floor_float,
	caml_fmod_float,
	caml_format_float,
	caml_format_int,
	caml_fresh_oo_id,
	caml_frexp_float,
	caml_gc_compaction,
	caml_gc_counters,
	caml_gc_full_major,
	caml_gc_get,
	caml_gc_huge_fallback_count,
	caml_gc_major,
	caml_gc_major_slice,
	caml_gc_minor,
	caml_gc_minor_words,
	caml_gc_quick_stat,
	caml_gc_set,
	caml_gc_stat,
	caml_ge_float,
	caml_get_current_callstack,
	caml_get_current_environment,
	caml_get_exception_backtrace,
	caml_get_exception_raw_backtrace,
	caml_get_global_data,
	caml_get_major_bucket,
	caml_get_major_credit,
	caml_get_minor_free,
	caml_get_public_method,
	caml_get_section_table,
	caml_greaterequal,
	caml_greaterthan,
	caml_gt_float,
	caml_hash,
	caml_hash_univ_param,
	caml_hexstring_of_float,
	caml_hypot_float,
	caml_input_value,
	caml_input_value_from_bytes,
	caml_input_value_from_string,
	caml_input_value_to_outside_heap,
	caml_install_signal_handler,
	caml_int32_add,
	caml_int32_and,
	caml_int32_bits_of_float,
	caml_int32_bswap,
	caml_int32_compare,
	caml_int32_div,
	caml_int32_float_of_bits,
	caml_int32_format,
	caml_int32_mod,
	caml_int32_mul,
	caml_int32_neg,
	caml_int32_of_float,
	caml_int32_of_int,
	caml_int32_of_string,
	caml_int32_or,
	caml_int32_shift_left,
	caml_int32_shift_right,
	caml_int32_shift_right_unsigned,
	caml_int32_sub,
	caml_int32_to_float,
	caml_int32_to_int,
	caml_int32_xor,
	caml_int64_add,
	caml_int64_and,
	caml_int64_bits_of_float,
	caml_int64_bswap,
	caml_int64_compare,
	caml_int64_div,
	caml_int64_float_of_bits,
	caml_int64_format,
	caml_int64_mod,
	caml_int64_mul,
	caml_int64_neg,
	caml_int64_of_float,
	caml_int64_of_int,
	caml_int64_of_int32,
	caml_int64_of_nativeint,
	caml_int64_of_string,
	caml_int64_or,
	caml_int64_shift_left,
	caml_int64_shift_right,
	caml_int64_shift_right_unsigned,
	caml_int64_sub,
	caml_int64_to_float,
	caml_int64_to_int,
	caml_int64_to_int32,
	caml_int64_to_nativeint,
	caml_int64_xor,
	caml_int_as_pointer,
	caml_int_compare,
	caml_int_of_float,
	caml_int_of_string,
	caml_invoke_traced_function,
	caml_lazy_follow_forward,
	caml_lazy_make_forward,
	caml_ldexp_float,
	caml_le_float,
	caml_lessequal,
	caml_lessthan,
	caml_lex_engine,
	caml_log10_float,
	caml_log1p_float,
	caml_log_float,
	caml_lt_float,
	caml_make_array,
	caml_make_float_vect,
	caml_make_vect,
	caml_marshal_data_size,
	caml_md5_chan,
	caml_md5_string,
	caml_ml_bytes_length,
	caml_ml_channel_size,
	caml_ml_channel_size_64,
	caml_ml_close_channel,
	caml_ml_enable_runtime_warnings,
	caml_ml_flush,
	caml_ml_flush_partial,
	caml_ml_input,
	caml_ml_input_char,
	caml_ml_input_int,
	caml_ml_input_scan_line,
	caml_ml_open_descriptor_in,
	caml_ml_open_descriptor_out,
	caml_ml_out_channels_list,
	caml_ml_output,
	caml_ml_output_bytes,
	caml_ml_output_char,
	caml_ml_output_int,
	caml_ml_output_partial,
	caml_ml_pos_in,
	caml_ml_pos_in_64,
	caml_ml_pos_out,
	caml_ml_pos_out_64,
	caml_ml_runtime_warnings_enabled,
	caml_ml_seek_in,
	caml_ml_seek_in_64,
	caml_ml_seek_out,
	caml_ml_seek_out_64,
	caml_ml_set_binary_mode,
	caml_ml_set_channel_name,
	caml_ml_string_length,
	caml_modf_float,
	caml_mul_float,
	caml_nativeint_add,
	caml_nativeint_and,
	caml_nativeint_bswap,
	caml_nativeint_compare,
	caml_nativeint_div,
	caml_nativeint_format,
	caml_nativeint_mod,
	caml_nativeint_mul,
	caml_nativeint_neg,
	caml_nativeint_of_float,
	caml_nativeint_of_int,
	caml_nativeint_of_int32,
	caml_nativeint_of_string,
	caml_nativeint_or,
	caml_nativeint_shift_left,
	caml_nativeint_shift_right,
	caml_nativeint_shift_right_unsigned,
	caml_nativeint_sub,
	caml_nativeint_to_float,
	caml_nativeint_to_int,
	caml_nativeint_to_int32,
	caml_nativeint_xor,
	caml_neg_float,
	caml_neq_float,
	caml_new_lex_engine,
	caml_notequal,
	caml_obj_add_offset,
	caml_obj_block,
	caml_obj_dup,
	caml_obj_is_block,
	caml_obj_reachable_words,
	caml_obj_set_tag,
	caml_obj_tag,
	caml_obj_truncate,
	caml_output_value,
	caml_output_value_to_buffer,
	caml_output_value_to_bytes,
	caml_output_value_to_string,
	caml_parse_engine,
	caml_power_float,
	caml_raw_backtrace_length,
	caml_raw_backtrace_next_slot,
	caml_raw_backtrace_slot,
	caml_realloc_global,
	caml_record_backtrace,
	caml_register_channel_for_spacetime,
	caml_register_code_fragment,
	caml_register_named_value,
	caml_reify_bytecode,
	caml_remove_debug_info,
	caml_reset_afl_instrumentation,
	caml_restore_raw_backtrace,
	caml_runtime_parameters,
	caml_runtime_variant,
	caml_set_oo_id,
	caml_set_parser_trace,
	caml_setup_afl,
	caml_sin_float,
	caml_sinh_float,
	caml_spacetime_enabled,
	caml_spacetime_only_works_for_native_code,
	caml_sqrt_float,
	caml_static_alloc,
	caml_static_free,
	caml_static_release_bytecode,
	caml_static_resize,
	caml_string_compare,
	caml_string_equal,
	caml_string_get,
	caml_string_get16,
	caml_string_get32,
	caml_string_get64,
	caml_string_greaterequal,
	caml_string_greaterthan,
	caml_string_lessequal,
	caml_string_lessthan,
	caml_string_notequal,
	caml_string_of_bytes,
	caml_string_set,
	caml_sub_float,
	caml_sys_chdir,
	caml_sys_close,
	caml_sys_const_backend_type,
	caml_sys_const_big_endian,
	caml_sys_const_int_size,
	caml_sys_const_max_wosize,
	caml_sys_const_ostype_cygwin,
	caml_sys_const_ostype_unix,
	caml_sys_const_ostype_win32,
	caml_sys_const_word_size,
	caml_sys_exit,
	caml_sys_file_exists,
	caml_sys_get_argv,
	caml_sys_get_config,
	caml_sys_getcwd,
	caml_sys_getenv,
	caml_sys_is_directory,
	caml_sys_isatty,
	caml_sys_open,
	caml_sys_random_seed,
	caml_sys_read_directory,
	caml_sys_remove,
	caml_sys_rename,
	caml_sys_system_command,
	caml_sys_time,
	caml_sys_time_include_children,
	caml_sys_unsafe_getenv,
	caml_tan_float,
	caml_tanh_float,
	caml_terminfo_rows,
	caml_update_dummy,
	caml_weak_blit,
	caml_weak_check,
	caml_weak_create,
	caml_weak_get,
	caml_weak_get_copy,
	caml_weak_set,
	 0 };
char * caml_names_of_builtin_cprim[] = {
	"caml_abs_float",
	"caml_acos_float",
	"caml_add_debug_info",
	"caml_add_float",
	"caml_alloc_dummy",
	"caml_alloc_dummy_float",
	"caml_alloc_dummy_function",
	"caml_array_append",
	"caml_array_blit",
	"caml_array_concat",
	"caml_array_get",
	"caml_array_get_addr",
	"caml_array_get_float",
	"caml_array_set",
	"caml_array_set_addr",
	"caml_array_set_float",
	"caml_array_sub",
	"caml_array_unsafe_get",
	"caml_array_unsafe_get_float",
	"caml_array_unsafe_set",
	"caml_array_unsafe_set_addr",
	"caml_array_unsafe_set_float",
	"caml_asin_float",
	"caml_atan2_float",
	"caml_atan_float",
	"caml_ba_blit",
	"caml_ba_change_layout",
	"caml_ba_create",
	"caml_ba_dim",
	"caml_ba_dim_1",
	"caml_ba_dim_2",
	"caml_ba_dim_3",
	"caml_ba_fill",
	"caml_ba_get_1",
	"caml_ba_get_2",
	"caml_ba_get_3",
	"caml_ba_get_generic",
	"caml_ba_kind",
	"caml_ba_layout",
	"caml_ba_num_dims",
	"caml_ba_reshape",
	"caml_ba_set_1",
	"caml_ba_set_2",
	"caml_ba_set_3",
	"caml_ba_set_generic",
	"caml_ba_slice",
	"caml_ba_sub",
	"caml_ba_uint8_get16",
	"caml_ba_uint8_get32",
	"caml_ba_uint8_get64",
	"caml_ba_uint8_set16",
	"caml_ba_uint8_set32",
	"caml_ba_uint8_set64",
	"caml_backtrace_status",
	"caml_blit_bytes",
	"caml_blit_string",
	"caml_bswap16",
	"caml_bytes_compare",
	"caml_bytes_equal",
	"caml_bytes_get",
	"caml_bytes_get16",
	"caml_bytes_get32",
	"caml_bytes_get64",
	"caml_bytes_greaterequal",
	"caml_bytes_greaterthan",
	"caml_bytes_lessequal",
	"caml_bytes_lessthan",
	"caml_bytes_notequal",
	"caml_bytes_of_string",
	"caml_bytes_set",
	"caml_bytes_set16",
	"caml_bytes_set32",
	"caml_bytes_set64",
	"caml_ceil_float",
	"caml_channel_descriptor",
	"caml_classify_float",
	"caml_compare",
	"caml_convert_raw_backtrace",
	"caml_convert_raw_backtrace_slot",
	"caml_copysign_float",
	"caml_cos_float",
	"caml_cosh_float",
	"caml_create_bytes",
	"caml_create_string",
	"caml_div_float",
	"caml_dynlink_add_primitive",
	"caml_dynlink_close_lib",
	"caml_dynlink_get_current_libs",
	"caml_dynlink_lookup_symbol",
	"caml_dynlink_open_lib",
	"caml_ensure_stack_capacity",
	"caml_ephe_blit_data",
	"caml_ephe_blit_key",
	"caml_ephe_check_data",
	"caml_ephe_check_key",
	"caml_ephe_create",
	"caml_ephe_get_data",
	"caml_ephe_get_data_copy",
	"caml_ephe_get_key",
	"caml_ephe_get_key_copy",
	"caml_ephe_set_data",
	"caml_ephe_set_key",
	"caml_ephe_unset_data",
	"caml_ephe_unset_key",
	"caml_eq_float",
	"caml_equal",
	"caml_exp_float",
	"caml_expm1_float",
	"caml_fill_bytes",
	"caml_fill_string",
	"caml_final_register",
	"caml_final_register_called_without_value",
	"caml_final_release",
	"caml_float_compare",
	"caml_float_of_int",
	"caml_float_of_string",
	"caml_floatarray_create",
	"caml_floatarray_get",
	"caml_floatarray_set",
	"caml_floatarray_unsafe_get",
	"caml_floatarray_unsafe_set",
	"caml_floor_float",
	"caml_fmod_float",
	"caml_format_float",
	"caml_format_int",
	"caml_fresh_oo_id",
	"caml_frexp_float",
	"caml_gc_compaction",
	"caml_gc_counters",
	"caml_gc_full_major",
	"caml_gc_get",
	"caml_gc_huge_fallback_count",
	"caml_gc_major",
	"caml_gc_major_slice",
	"caml_gc_minor",
	"caml_gc_minor_words",
	"caml_gc_quick_stat",
	"caml_gc_set",
	"caml_gc_stat",
	"caml_ge_float",
	"caml_get_current_callstack",
	"caml_get_current_environment",
	"caml_get_exception_backtrace",
	"caml_get_exception_raw_backtrace",
	"caml_get_global_data",
	"caml_get_major_bucket",
	"caml_get_major_credit",
	"caml_get_minor_free",
	"caml_get_public_method",
	"caml_get_section_table",
	"caml_greaterequal",
	"caml_greaterthan",
	"caml_gt_float",
	"caml_hash",
	"caml_hash_univ_param",
	"caml_hexstring_of_float",
	"caml_hypot_float",
	"caml_input_value",
	"caml_input_value_from_bytes",
	"caml_input_value_from_string",
	"caml_input_value_to_outside_heap",
	"caml_install_signal_handler",
	"caml_int32_add",
	"caml_int32_and",
	"caml_int32_bits_of_float",
	"caml_int32_bswap",
	"caml_int32_compare",
	"caml_int32_div",
	"caml_int32_float_of_bits",
	"caml_int32_format",
	"caml_int32_mod",
	"caml_int32_mul",
	"caml_int32_neg",
	"caml_int32_of_float",
	"caml_int32_of_int",
	"caml_int32_of_string",
	"caml_int32_or",
	"caml_int32_shift_left",
	"caml_int32_shift_right",
	"caml_int32_shift_right_unsigned",
	"caml_int32_sub",
	"caml_int32_to_float",
	"caml_int32_to_int",
	"caml_int32_xor",
	"caml_int64_add",
	"caml_int64_and",
	"caml_int64_bits_of_float",
	"caml_int64_bswap",
	"caml_int64_compare",
	"caml_int64_div",
	"caml_int64_float_of_bits",
	"caml_int64_format",
	"caml_int64_mod",
	"caml_int64_mul",
	"caml_int64_neg",
	"caml_int64_of_float",
	"caml_int64_of_int",
	"caml_int64_of_int32",
	"caml_int64_of_nativeint",
	"caml_int64_of_string",
	"caml_int64_or",
	"caml_int64_shift_left",
	"caml_int64_shift_right",
	"caml_int64_shift_right_unsigned",
	"caml_int64_sub",
	"caml_int64_to_float",
	"caml_int64_to_int",
	"caml_int64_to_int32",
	"caml_int64_to_nativeint",
	"caml_int64_xor",
	"caml_int_as_pointer",
	"caml_int_compare",
	"caml_int_of_float",
	"caml_int_of_string",
	"caml_invoke_traced_function",
	"caml_lazy_follow_forward",
	"caml_lazy_make_forward",
	"caml_ldexp_float",
	"caml_le_float",
	"caml_lessequal",
	"caml_lessthan",
	"caml_lex_engine",
	"caml_log10_float",
	"caml_log1p_float",
	"caml_log_float",
	"caml_lt_float",
	"caml_make_array",
	"caml_make_float_vect",
	"caml_make_vect",
	"caml_marshal_data_size",
	"caml_md5_chan",
	"caml_md5_string",
	"caml_ml_bytes_length",
	"caml_ml_channel_size",
	"caml_ml_channel_size_64",
	"caml_ml_close_channel",
	"caml_ml_enable_runtime_warnings",
	"caml_ml_flush",
	"caml_ml_flush_partial",
	"caml_ml_input",
	"caml_ml_input_char",
	"caml_ml_input_int",
	"caml_ml_input_scan_line",
	"caml_ml_open_descriptor_in",
	"caml_ml_open_descriptor_out",
	"caml_ml_out_channels_list",
	"caml_ml_output",
	"caml_ml_output_bytes",
	"caml_ml_output_char",
	"caml_ml_output_int",
	"caml_ml_output_partial",
	"caml_ml_pos_in",
	"caml_ml_pos_in_64",
	"caml_ml_pos_out",
	"caml_ml_pos_out_64",
	"caml_ml_runtime_warnings_enabled",
	"caml_ml_seek_in",
	"caml_ml_seek_in_64",
	"caml_ml_seek_out",
	"caml_ml_seek_out_64",
	"caml_ml_set_binary_mode",
	"caml_ml_set_channel_name",
	"caml_ml_string_length",
	"caml_modf_float",
	"caml_mul_float",
	"caml_nativeint_add",
	"caml_nativeint_and",
	"caml_nativeint_bswap",
	"caml_nativeint_compare",
	"caml_nativeint_div",
	"caml_nativeint_format",
	"caml_nativeint_mod",
	"caml_nativeint_mul",
	"caml_nativeint_neg",
	"caml_nativeint_of_float",
	"caml_nativeint_of_int",
	"caml_nativeint_of_int32",
	"caml_nativeint_of_string",
	"caml_nativeint_or",
	"caml_nativeint_shift_left",
	"caml_nativeint_shift_right",
	"caml_nativeint_shift_right_unsigned",
	"caml_nativeint_sub",
	"caml_nativeint_to_float",
	"caml_nativeint_to_int",
	"caml_nativeint_to_int32",
	"caml_nativeint_xor",
	"caml_neg_float",
	"caml_neq_float",
	"caml_new_lex_engine",
	"caml_notequal",
	"caml_obj_add_offset",
	"caml_obj_block",
	"caml_obj_dup",
	"caml_obj_is_block",
	"caml_obj_reachable_words",
	"caml_obj_set_tag",
	"caml_obj_tag",
	"caml_obj_truncate",
	"caml_output_value",
	"caml_output_value_to_buffer",
	"caml_output_value_to_bytes",
	"caml_output_value_to_string",
	"caml_parse_engine",
	"caml_power_float",
	"caml_raw_backtrace_length",
	"caml_raw_backtrace_next_slot",
	"caml_raw_backtrace_slot",
	"caml_realloc_global",
	"caml_record_backtrace",
	"caml_register_channel_for_spacetime",
	"caml_register_code_fragment",
	"caml_register_named_value",
	"caml_reify_bytecode",
	"caml_remove_debug_info",
	"caml_reset_afl_instrumentation",
	"caml_restore_raw_backtrace",
	"caml_runtime_parameters",
	"caml_runtime_variant",
	"caml_set_oo_id",
	"caml_set_parser_trace",
	"caml_setup_afl",
	"caml_sin_float",
	"caml_sinh_float",
	"caml_spacetime_enabled",
	"caml_spacetime_only_works_for_native_code",
	"caml_sqrt_float",
	"caml_static_alloc",
	"caml_static_free",
	"caml_static_release_bytecode",
	"caml_static_resize",
	"caml_string_compare",
	"caml_string_equal",
	"caml_string_get",
	"caml_string_get16",
	"caml_string_get32",
	"caml_string_get64",
	"caml_string_greaterequal",
	"caml_string_greaterthan",
	"caml_string_lessequal",
	"caml_string_lessthan",
	"caml_string_notequal",
	"caml_string_of_bytes",
	"caml_string_set",
	"caml_sub_float",
	"caml_sys_chdir",
	"caml_sys_close",
	"caml_sys_const_backend_type",
	"caml_sys_const_big_endian",
	"caml_sys_const_int_size",
	"caml_sys_const_max_wosize",
	"caml_sys_const_ostype_cygwin",
	"caml_sys_const_ostype_unix",
	"caml_sys_const_ostype_win32",
	"caml_sys_const_word_size",
	"caml_sys_exit",
	"caml_sys_file_exists",
	"caml_sys_get_argv",
	"caml_sys_get_config",
	"caml_sys_getcwd",
	"caml_sys_getenv",
	"caml_sys_is_directory",
	"caml_sys_isatty",
	"caml_sys_open",
	"caml_sys_random_seed",
	"caml_sys_read_directory",
	"caml_sys_remove",
	"caml_sys_rename",
	"caml_sys_system_command",
	"caml_sys_time",
	"caml_sys_time_include_children",
	"caml_sys_unsafe_getenv",
	"caml_tan_float",
	"caml_tanh_float",
	"caml_terminfo_rows",
	"caml_update_dummy",
	"caml_weak_blit",
	"caml_weak_check",
	"caml_weak_create",
	"caml_weak_get",
	"caml_weak_get_copy",
	"caml_weak_set",
	 0 };