@img/sharp-libvips-dev 1.1.0 → 1.2.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/cplusplus/vips-operators.cpp +39 -0
  2. package/include/archive.h +53 -2
  3. package/include/archive_entry.h +56 -25
  4. package/include/ffi.h +20 -2
  5. package/include/fontconfig/fontconfig.h +1 -1
  6. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  9. package/include/glib-2.0/girepository/gitypes.h +6 -0
  10. package/include/glib-2.0/glib/gbitlock.h +11 -0
  11. package/include/glib-2.0/glib/gdate.h +6 -0
  12. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  13. package/include/glib-2.0/glib/gmain.h +13 -10
  14. package/include/glib-2.0/glib/gmessages.h +4 -1
  15. package/include/glib-2.0/glib/gstring.h +2 -0
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  18. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  19. package/include/harfbuzz/hb-common.h +1 -431
  20. package/include/harfbuzz/hb-deprecated.h +80 -2
  21. package/include/harfbuzz/hb-draw.h +2 -10
  22. package/include/harfbuzz/hb-face.h +1 -1
  23. package/include/harfbuzz/hb-font.h +55 -36
  24. package/include/harfbuzz/hb-paint.h +5 -3
  25. package/include/harfbuzz/hb-script-list.h +484 -0
  26. package/include/harfbuzz/hb-subset.h +22 -2
  27. package/include/harfbuzz/hb-version.h +3 -3
  28. package/include/libheif/heif.h +2 -0
  29. package/include/libheif/heif_version.h +2 -2
  30. package/include/libpng16/png.h +10 -10
  31. package/include/libpng16/pngconf.h +20 -27
  32. package/include/libpng16/pnglibconf.h +1 -1
  33. package/include/libxml2/libxml/HTMLparser.h +2 -2
  34. package/include/libxml2/libxml/parser.h +2 -0
  35. package/include/libxml2/libxml/xmlIO.h +2 -2
  36. package/include/libxml2/libxml/xmlerror.h +1 -1
  37. package/include/libxml2/libxml/xmlversion.h +4 -4
  38. package/include/pixman-1/pixman-version.h +2 -2
  39. package/include/pixman-1/pixman.h +200 -0
  40. package/include/png.h +10 -10
  41. package/include/pngconf.h +20 -27
  42. package/include/pnglibconf.h +1 -1
  43. package/include/vips/VImage8.h +62 -14
  44. package/include/vips/arithmetic.h +34 -34
  45. package/include/vips/basic.h +16 -0
  46. package/include/vips/buf.h +0 -5
  47. package/include/vips/colour.h +6 -7
  48. package/include/vips/connection.h +25 -37
  49. package/include/vips/enumtypes.h +11 -2
  50. package/include/vips/foreign.h +73 -43
  51. package/include/vips/format.h +7 -5
  52. package/include/vips/gate.h +0 -11
  53. package/include/vips/header.h +11 -11
  54. package/include/vips/image.h +8 -3
  55. package/include/vips/interpolate.h +0 -2
  56. package/include/vips/memory.h +4 -0
  57. package/include/vips/mosaicing.h +4 -0
  58. package/include/vips/object.h +14 -18
  59. package/include/vips/operation.h +0 -2
  60. package/include/vips/private.h +50 -2
  61. package/include/vips/region.h +1 -3
  62. package/include/vips/resample.h +2 -0
  63. package/include/vips/semaphore.h +8 -3
  64. package/include/vips/thread.h +1 -24
  65. package/include/vips/threadpool.h +0 -6
  66. package/include/vips/type.h +13 -9
  67. package/include/vips/util.h +17 -98
  68. package/include/vips/vector.h +0 -4
  69. package/include/vips/version.h +8 -8
  70. package/include/vips/vips.h +1 -0
  71. package/package.json +1 -1
  72. package/versions.json +11 -11
  73. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  74. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  75. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  76. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  77. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  78. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  79. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  80. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  81. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  82. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  83. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  84. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  85. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  86. package/include/glib-2.0/glib/gwin32.h +0 -142
  87. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  88. package/include/hwy/ops/tuple-inl.h +0 -125
  89. package/include/orc-0.4/orc/orc-stdint.h +0 -1
  90. package/include/orc-0.4/orc/orc.h +0 -16
  91. package/include/orc-0.4/orc/orcarm.h +0 -879
  92. package/include/orc-0.4/orc/orcbytecode.h +0 -35
  93. package/include/orc-0.4/orc/orcbytecodes.h +0 -255
  94. package/include/orc-0.4/orc/orccode.h +0 -53
  95. package/include/orc-0.4/orc/orccompiler.h +0 -176
  96. package/include/orc-0.4/orc/orcconstant.h +0 -39
  97. package/include/orc-0.4/orc/orccpu.h +0 -21
  98. package/include/orc-0.4/orc/orccpuinsn.h +0 -40
  99. package/include/orc-0.4/orc/orcdebug.h +0 -158
  100. package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
  101. package/include/orc-0.4/orc/orcexecutor.h +0 -135
  102. package/include/orc-0.4/orc/orcfunctions.h +0 -93
  103. package/include/orc-0.4/orc/orcinstruction.h +0 -39
  104. package/include/orc-0.4/orc/orcinternal.h +0 -46
  105. package/include/orc-0.4/orc/orclimits.h +0 -94
  106. package/include/orc-0.4/orc/orcmips.h +0 -229
  107. package/include/orc-0.4/orc/orcmmx.h +0 -79
  108. package/include/orc-0.4/orc/orcneon.h +0 -43
  109. package/include/orc-0.4/orc/orconce.h +0 -166
  110. package/include/orc-0.4/orc/orcopcode.h +0 -63
  111. package/include/orc-0.4/orc/orcparse.h +0 -27
  112. package/include/orc-0.4/orc/orcpowerpc.h +0 -209
  113. package/include/orc-0.4/orc/orcprogram.h +0 -192
  114. package/include/orc-0.4/orc/orcrule.h +0 -52
  115. package/include/orc-0.4/orc/orcsse.h +0 -55
  116. package/include/orc-0.4/orc/orctarget.h +0 -115
  117. package/include/orc-0.4/orc/orcutils.h +0 -238
  118. package/include/orc-0.4/orc/orcvariable.h +0 -81
  119. package/include/orc-0.4/orc/orcx86.h +0 -199
  120. package/include/orc-0.4/orc/orcx86insn.h +0 -672
@@ -1,35 +0,0 @@
1
-
2
- #ifndef _ORC_BYTECODE_H_
3
- #define _ORC_BYTECODE_H_
4
-
5
- #include <orc/orc.h>
6
- #include <orc/orcbytecodes.h>
7
-
8
- ORC_BEGIN_DECLS
9
-
10
- typedef struct _OrcBytecode OrcBytecode;
11
-
12
- struct _OrcBytecode {
13
- /*< private >*/
14
- orc_uint8 *bytecode;
15
- int length;
16
- int alloc_len;
17
- };
18
-
19
-
20
- #ifdef ORC_ENABLE_UNSTABLE_API
21
-
22
- ORC_API OrcBytecode * orc_bytecode_new (void);
23
-
24
- ORC_API void orc_bytecode_free (OrcBytecode *bytecode);
25
-
26
- ORC_API OrcBytecode * orc_bytecode_from_program (OrcProgram *p);
27
-
28
- ORC_API int orc_bytecode_parse_function (OrcProgram *program, const orc_uint8 *bytecode);
29
-
30
- #endif
31
-
32
- ORC_END_DECLS
33
-
34
- #endif
35
-
@@ -1,255 +0,0 @@
1
-
2
- /* autogenerated by generate-bytecode */
3
-
4
- #include <math.h>
5
- #include <orc/orc.h>
6
-
7
- typedef enum {
8
- ORC_BC_END,
9
- ORC_BC_BEGIN_FUNCTION,
10
- ORC_BC_END_FUNCTION,
11
- ORC_BC_SET_CONSTANT_N,
12
- ORC_BC_SET_N_MULTIPLE,
13
- ORC_BC_SET_N_MINIMUM,
14
- ORC_BC_SET_N_MAXIMUM,
15
- ORC_BC_SET_2D,
16
- ORC_BC_SET_CONSTANT_M,
17
- ORC_BC_SET_NAME,
18
- ORC_BC_SET_BACKUP_FUNCTION,
19
- ORC_BC_ADD_DESTINATION,
20
- ORC_BC_ADD_SOURCE,
21
- ORC_BC_ADD_ACCUMULATOR,
22
- ORC_BC_ADD_CONSTANT,
23
- ORC_BC_ADD_CONSTANT_INT64,
24
- ORC_BC_ADD_PARAMETER,
25
- ORC_BC_ADD_PARAMETER_FLOAT,
26
- ORC_BC_ADD_PARAMETER_INT64,
27
- ORC_BC_ADD_PARAMETER_DOUBLE,
28
- ORC_BC_ADD_TEMPORARY,
29
- ORC_BC_INSTRUCTION_FLAGS,
30
- ORC_BC_RESERVED_22,
31
- ORC_BC_RESERVED_23,
32
- ORC_BC_RESERVED_24,
33
- ORC_BC_RESERVED_25,
34
- ORC_BC_RESERVED_26,
35
- ORC_BC_RESERVED_27,
36
- ORC_BC_RESERVED_28,
37
- ORC_BC_RESERVED_29,
38
- ORC_BC_RESERVED_30,
39
- ORC_BC_RESERVED_31,
40
- ORC_BC_absb,
41
- ORC_BC_addb,
42
- ORC_BC_addssb,
43
- ORC_BC_addusb,
44
- ORC_BC_andb,
45
- ORC_BC_andnb,
46
- ORC_BC_avgsb,
47
- ORC_BC_avgub,
48
- /* 40 */
49
- ORC_BC_cmpeqb,
50
- ORC_BC_cmpgtsb,
51
- ORC_BC_copyb,
52
- ORC_BC_loadb,
53
- ORC_BC_loadoffb,
54
- ORC_BC_loadupdb,
55
- ORC_BC_loadupib,
56
- ORC_BC_loadpb,
57
- ORC_BC_ldresnearb,
58
- ORC_BC_ldresnearl,
59
- /* 50 */
60
- ORC_BC_ldreslinb,
61
- ORC_BC_ldreslinl,
62
- ORC_BC_maxsb,
63
- ORC_BC_maxub,
64
- ORC_BC_minsb,
65
- ORC_BC_minub,
66
- ORC_BC_mullb,
67
- ORC_BC_mulhsb,
68
- ORC_BC_mulhub,
69
- ORC_BC_orb,
70
- /* 60 */
71
- ORC_BC_shlb,
72
- ORC_BC_shrsb,
73
- ORC_BC_shrub,
74
- ORC_BC_signb,
75
- ORC_BC_storeb,
76
- ORC_BC_subb,
77
- ORC_BC_subssb,
78
- ORC_BC_subusb,
79
- ORC_BC_xorb,
80
- ORC_BC_absw,
81
- /* 70 */
82
- ORC_BC_addw,
83
- ORC_BC_addssw,
84
- ORC_BC_addusw,
85
- ORC_BC_andw,
86
- ORC_BC_andnw,
87
- ORC_BC_avgsw,
88
- ORC_BC_avguw,
89
- ORC_BC_cmpeqw,
90
- ORC_BC_cmpgtsw,
91
- ORC_BC_copyw,
92
- /* 80 */
93
- ORC_BC_div255w,
94
- ORC_BC_divluw,
95
- ORC_BC_loadw,
96
- ORC_BC_loadoffw,
97
- ORC_BC_loadpw,
98
- ORC_BC_maxsw,
99
- ORC_BC_maxuw,
100
- ORC_BC_minsw,
101
- ORC_BC_minuw,
102
- ORC_BC_mullw,
103
- /* 90 */
104
- ORC_BC_mulhsw,
105
- ORC_BC_mulhuw,
106
- ORC_BC_orw,
107
- ORC_BC_shlw,
108
- ORC_BC_shrsw,
109
- ORC_BC_shruw,
110
- ORC_BC_signw,
111
- ORC_BC_storew,
112
- ORC_BC_subw,
113
- ORC_BC_subssw,
114
- /* 100 */
115
- ORC_BC_subusw,
116
- ORC_BC_xorw,
117
- ORC_BC_absl,
118
- ORC_BC_addl,
119
- ORC_BC_addssl,
120
- ORC_BC_addusl,
121
- ORC_BC_andl,
122
- ORC_BC_andnl,
123
- ORC_BC_avgsl,
124
- ORC_BC_avgul,
125
- /* 110 */
126
- ORC_BC_cmpeql,
127
- ORC_BC_cmpgtsl,
128
- ORC_BC_copyl,
129
- ORC_BC_loadl,
130
- ORC_BC_loadoffl,
131
- ORC_BC_loadpl,
132
- ORC_BC_maxsl,
133
- ORC_BC_maxul,
134
- ORC_BC_minsl,
135
- ORC_BC_minul,
136
- /* 120 */
137
- ORC_BC_mulll,
138
- ORC_BC_mulhsl,
139
- ORC_BC_mulhul,
140
- ORC_BC_orl,
141
- ORC_BC_shll,
142
- ORC_BC_shrsl,
143
- ORC_BC_shrul,
144
- ORC_BC_signl,
145
- ORC_BC_storel,
146
- ORC_BC_subl,
147
- /* 130 */
148
- ORC_BC_subssl,
149
- ORC_BC_subusl,
150
- ORC_BC_xorl,
151
- ORC_BC_loadq,
152
- ORC_BC_loadpq,
153
- ORC_BC_storeq,
154
- ORC_BC_splatw3q,
155
- ORC_BC_copyq,
156
- ORC_BC_cmpeqq,
157
- ORC_BC_cmpgtsq,
158
- /* 140 */
159
- ORC_BC_andq,
160
- ORC_BC_andnq,
161
- ORC_BC_orq,
162
- ORC_BC_xorq,
163
- ORC_BC_addq,
164
- ORC_BC_subq,
165
- ORC_BC_shlq,
166
- ORC_BC_shrsq,
167
- ORC_BC_shruq,
168
- ORC_BC_convsbw,
169
- /* 150 */
170
- ORC_BC_convubw,
171
- ORC_BC_splatbw,
172
- ORC_BC_splatbl,
173
- ORC_BC_convswl,
174
- ORC_BC_convuwl,
175
- ORC_BC_convslq,
176
- ORC_BC_convulq,
177
- ORC_BC_convwb,
178
- ORC_BC_convhwb,
179
- ORC_BC_convssswb,
180
- /* 160 */
181
- ORC_BC_convsuswb,
182
- ORC_BC_convusswb,
183
- ORC_BC_convuuswb,
184
- ORC_BC_convlw,
185
- ORC_BC_convhlw,
186
- ORC_BC_convssslw,
187
- ORC_BC_convsuslw,
188
- ORC_BC_convusslw,
189
- ORC_BC_convuuslw,
190
- ORC_BC_convql,
191
- /* 170 */
192
- ORC_BC_convsssql,
193
- ORC_BC_convsusql,
194
- ORC_BC_convussql,
195
- ORC_BC_convuusql,
196
- ORC_BC_mulsbw,
197
- ORC_BC_mulubw,
198
- ORC_BC_mulswl,
199
- ORC_BC_muluwl,
200
- ORC_BC_mulslq,
201
- ORC_BC_mululq,
202
- /* 180 */
203
- ORC_BC_accw,
204
- ORC_BC_accl,
205
- ORC_BC_accsadubl,
206
- ORC_BC_swapw,
207
- ORC_BC_swapl,
208
- ORC_BC_swapwl,
209
- ORC_BC_swapq,
210
- ORC_BC_swaplq,
211
- ORC_BC_select0wb,
212
- ORC_BC_select1wb,
213
- /* 190 */
214
- ORC_BC_select0lw,
215
- ORC_BC_select1lw,
216
- ORC_BC_select0ql,
217
- ORC_BC_select1ql,
218
- ORC_BC_mergelq,
219
- ORC_BC_mergewl,
220
- ORC_BC_mergebw,
221
- ORC_BC_splitql,
222
- ORC_BC_splitlw,
223
- ORC_BC_splitwb,
224
- /* 200 */
225
- ORC_BC_addf,
226
- ORC_BC_subf,
227
- ORC_BC_mulf,
228
- ORC_BC_divf,
229
- ORC_BC_sqrtf,
230
- ORC_BC_maxf,
231
- ORC_BC_minf,
232
- ORC_BC_cmpeqf,
233
- ORC_BC_cmpltf,
234
- ORC_BC_cmplef,
235
- /* 210 */
236
- ORC_BC_convfl,
237
- ORC_BC_convlf,
238
- ORC_BC_addd,
239
- ORC_BC_subd,
240
- ORC_BC_muld,
241
- ORC_BC_divd,
242
- ORC_BC_sqrtd,
243
- ORC_BC_maxd,
244
- ORC_BC_mind,
245
- ORC_BC_cmpeqd,
246
- /* 220 */
247
- ORC_BC_cmpltd,
248
- ORC_BC_cmpled,
249
- ORC_BC_convdl,
250
- ORC_BC_convld,
251
- ORC_BC_convfd,
252
- ORC_BC_convdf,
253
- /* 226 */
254
- ORC_BC_LAST
255
- } OrcBytecodes;
@@ -1,53 +0,0 @@
1
-
2
- #ifndef _ORC_CODE_H_
3
- #define _ORC_CODE_H_
4
-
5
- #include <orc/orc.h>
6
- #include <orc/orclimits.h>
7
- #include <orc/orcexecutor.h>
8
- #include <orc/orcinstruction.h>
9
-
10
- ORC_BEGIN_DECLS
11
-
12
- typedef struct _OrcCodeVariable OrcCodeVariable;
13
-
14
-
15
- struct _OrcCodeVariable {
16
- /*< private >*/
17
- int vartype;
18
- int size;
19
- orc_union64 value;
20
- };
21
-
22
- struct _OrcCode {
23
- /*< public >*/
24
- OrcExecutorFunc exec;
25
-
26
- /*< private >*/
27
- OrcCompileResult result;
28
- char *name;
29
-
30
- /* for execution */
31
- unsigned char *code;
32
- int code_size;
33
- void *chunk;
34
-
35
- /* for emulation */
36
- int n_insns;
37
- OrcInstruction *insns;
38
- OrcCodeVariable *vars;
39
- int is_2d;
40
- int constant_n;
41
- int constant_m;
42
- };
43
-
44
-
45
- ORC_API void orc_code_allocate_codemem (OrcCode *code, int size);
46
-
47
- ORC_API OrcCode * orc_code_new (void);
48
- ORC_API void orc_code_free (OrcCode *code);
49
-
50
- ORC_END_DECLS
51
-
52
- #endif
53
-
@@ -1,176 +0,0 @@
1
-
2
- #ifndef _ORC_COMPILER_H_
3
- #define _ORC_COMPILER_H_
4
-
5
- #include <orc/orc.h>
6
- #include <orc/orclimits.h>
7
- #include <orc/orcexecutor.h>
8
- #include <orc/orccode.h>
9
- #include <orc/orctarget.h>
10
- #include <orc/orcinstruction.h>
11
- #include <orc/orcvariable.h>
12
- #include <orc/orcconstant.h>
13
-
14
- ORC_BEGIN_DECLS
15
-
16
- typedef struct _OrcFixup OrcFixup;
17
-
18
-
19
- #define ORC_ENABLE_ASM_CODE
20
- #ifdef ORC_ENABLE_ASM_CODE
21
- #define ORC_ASM_CODE(compiler,...) orc_compiler_append_code(compiler, __VA_ARGS__)
22
- #else
23
- #define ORC_ASM_CODE(compiler,...)
24
- #endif
25
-
26
-
27
- #define ORC_COMPILER_ERROR(compiler, ...) do { \
28
- compiler->error = TRUE; \
29
- compiler->result = ORC_COMPILE_RESULT_UNKNOWN_PARSE; \
30
- orc_debug_print(ORC_DEBUG_WARNING, __FILE__, ORC_FUNCTION, __LINE__, __VA_ARGS__); \
31
- } while (0)
32
-
33
- #if 0
34
- /* FIXME in orcutils.h since it's needed in orccode.h */
35
- typedef enum {
36
- ORC_COMPILE_RESULT_OK = 0,
37
-
38
- ORC_COMPILE_RESULT_UNKNOWN_COMPILE = 0x100,
39
- ORC_COMPILE_RESULT_MISSING_RULE = 0x101,
40
-
41
- ORC_COMPILE_RESULT_UNKNOWN_PARSE = 0x200,
42
- ORC_COMPILE_RESULT_PARSE = 0x201,
43
- ORC_COMPILE_RESULT_VARIABLE = 0x202
44
-
45
- } OrcCompileResult;
46
- #endif
47
-
48
- #define ORC_COMPILE_RESULT_IS_SUCCESSFUL(x) ((x) < 0x100)
49
- #define ORC_COMPILE_RESULT_IS_FATAL(x) ((x) >= 0x200)
50
-
51
- /**
52
- * OrcFixup:
53
- *
54
- * The OrcFixup structure has no public members
55
- */
56
- struct _OrcFixup {
57
- /*< private >*/
58
- unsigned char *ptr;
59
- int type;
60
- int label;
61
- };
62
-
63
- /**
64
- * OrcCompiler:
65
- *
66
- * The OrcCompiler structure has no public members
67
- */
68
- struct _OrcCompiler {
69
- /*< private >*/
70
- OrcProgram *program;
71
- OrcTarget *target;
72
-
73
- unsigned int target_flags;
74
-
75
- OrcInstruction insns[ORC_N_INSNS];
76
- int n_insns;
77
-
78
- OrcVariable vars[ORC_N_COMPILER_VARIABLES];
79
- int n_temp_vars;
80
- int n_dup_vars;
81
-
82
- unsigned char *code;
83
- unsigned char *codeptr;
84
-
85
- OrcConstant constants[ORC_N_CONSTANTS];
86
- int n_constants;
87
-
88
- OrcFixup fixups[ORC_N_FIXUPS];
89
- int n_fixups;
90
- unsigned char *labels[ORC_N_LABELS];
91
- int labels_int[ORC_N_LABELS];
92
- int n_labels;
93
-
94
- int error;
95
- char *error_msg;
96
- OrcCompileResult result;
97
-
98
- int valid_regs[ORC_N_REGS];
99
- int save_regs[ORC_N_REGS];
100
- int used_regs[ORC_N_REGS];
101
- int alloc_regs[ORC_N_REGS];
102
-
103
- int loop_shift;
104
- int long_jumps;
105
- int use_frame_pointer;
106
-
107
- char *asm_code;
108
- int asm_code_len;
109
-
110
- int is_64bit;
111
- int tmpreg;
112
- int tmpreg2;
113
- int exec_reg;
114
- int gp_tmpreg;
115
-
116
- int insn_index;
117
- int unroll_index;
118
- int need_mask_regs;
119
- int unroll_shift;
120
-
121
- int alloc_loop_counter;
122
- int allow_gp_on_stack;
123
- int loop_counter;
124
- int size_region;
125
- int has_iterator_opcode;
126
-
127
- int offset;
128
- int min_temp_reg;
129
- int max_used_temp_reg;
130
-
131
- int insn_shift; /* used when emitting rules */
132
- int max_var_size; /* size of largest var */
133
- int load_params;
134
-
135
- void *output_insns;
136
- int n_output_insns;
137
- int n_output_insns_alloc;
138
- };
139
-
140
-
141
- ORC_API int orc_compiler_label_new (OrcCompiler *compiler);
142
-
143
- ORC_API int orc_compiler_get_constant (OrcCompiler *compiler, int size, int value);
144
-
145
- ORC_API int orc_compiler_get_constant_long (OrcCompiler *compiler, orc_uint32 a,
146
- orc_uint32 b, orc_uint32 c, orc_uint32 d);
147
-
148
- ORC_API int orc_compiler_try_get_constant_long (OrcCompiler *compiler, orc_uint32 a,
149
- orc_uint32 b, orc_uint32 c, orc_uint32 d);
150
-
151
- ORC_API int orc_compiler_get_temp_constant (OrcCompiler *compiler, int size, int value);
152
-
153
- ORC_API int orc_compiler_get_temp_reg (OrcCompiler *compiler);
154
-
155
- ORC_API int orc_compiler_get_constant_reg (OrcCompiler *compiler);
156
-
157
- ORC_API void orc_compiler_error (OrcCompiler *compiler, const char *fmt, ...);
158
-
159
- ORC_API void orc_compiler_append_code (OrcCompiler *p, const char *fmt, ...) ORC_GNU_PRINTF(2,3);
160
-
161
- #ifdef ORC_ENABLE_UNSTABLE_API
162
-
163
- ORC_API int orc_compiler_flag_check (const char *flag);
164
-
165
- /* FIXME: remove, these were never actually exported as public symbols, so unusable */
166
- extern int _orc_compiler_flag_backup;
167
- extern int _orc_compiler_flag_emulate;
168
- extern int _orc_compiler_flag_debug;
169
- extern int _orc_compiler_flag_randomize;
170
-
171
- #endif
172
-
173
- ORC_END_DECLS
174
-
175
- #endif
176
-
@@ -1,39 +0,0 @@
1
-
2
- #ifndef _ORC_CONSTANT_H_
3
- #define _ORC_CONSTANT_H_
4
-
5
- #include <orc/orcutils.h>
6
- #include <orc/orclimits.h>
7
-
8
- ORC_BEGIN_DECLS
9
-
10
-
11
- enum {
12
- ORC_CONST_ZERO,
13
- ORC_CONST_SPLAT_B,
14
- ORC_CONST_SPLAT_W,
15
- ORC_CONST_SPLAT_L,
16
- ORC_CONST_FULL
17
- };
18
-
19
- /**
20
- * OrcConstant:
21
- *
22
- * The OrcConstant structure has no public members
23
- */
24
- struct _OrcConstant {
25
- /*< private >*/
26
- int type;
27
- int alloc_reg;
28
- unsigned int value;
29
- unsigned int full_value[4];
30
- int use_count;
31
- int is_long;
32
- int label;
33
- };
34
-
35
-
36
- ORC_END_DECLS
37
-
38
- #endif
39
-
@@ -1,21 +0,0 @@
1
-
2
- #ifndef _ORC_CPU_H_
3
- #define _ORC_CPU_H_
4
-
5
- #include <orc/orc.h>
6
- #include <orc/orclimits.h>
7
-
8
- ORC_BEGIN_DECLS
9
-
10
-
11
- ORC_API void orc_get_data_cache_sizes (int *level1, int *level2, int *level3);
12
-
13
- ORC_API void orc_get_cpu_family_model_stepping (int *family, int *model, int *stepping);
14
-
15
- ORC_API const char * orc_get_cpu_name (void);
16
-
17
-
18
- ORC_END_DECLS
19
-
20
- #endif
21
-
@@ -1,40 +0,0 @@
1
-
2
- #ifndef _ORC_ORC_CPUINSN_H_
3
- #define _ORC_ORC_CPUINSN_H_
4
-
5
- #ifdef ORC_ENABLE_UNSTABLE_API
6
-
7
- typedef struct _OrcSysInsn OrcSysInsn;
8
- typedef struct _OrcSysOpcode OrcSysOpcode;
9
-
10
- struct _OrcSysInsn {
11
- int opcode;
12
- int dest_reg;
13
- int src1_reg;
14
- int src2_reg;
15
-
16
- int immediate;
17
-
18
- int mem_reg;
19
- int memoffset;
20
- int indexreg;
21
- int shift;
22
- int size;
23
- };
24
-
25
- struct _OrcSysOpcode {
26
- char name[16];
27
- int type;
28
- int flags;
29
- orc_uint8 prefix;
30
- orc_uint32 code;
31
- int code2;
32
- };
33
-
34
-
35
- #define ORC_SYS_OPCODE_FLAG_FIXED (1<<0)
36
-
37
- #endif
38
-
39
- #endif
40
-