Debian Codegraph @

thirdparty/sljit/API_CHANGES

raw
1 This file is the short summary of the API changes:
2
3 17.07.2024 - Non-backward compatible
4 Passing float scratch or saved register count
5 to emit_enter / set_context is reworked.
6
7 21.06.2024 - Non-backward compatible
8 Atomic instructions are reworked.
9 Different forms are optional now.
10
11 10.06.2024 - Non-backward compatible
12 The sljit_emit_simd_op2() has a generic
13 second operand.
14
15 20.03.2024 - Non-backward compatible
16 The sljit_p type is renamed to sljit_up.
17
18 26.02.2024 - Non-backward compatible
19 Arguments of sljit_create_compiler() and
20 sljit_generate_code() are changed and
21 sljit_get_exec_allocator_data() is removed.
22 The sljit_get_allocator_data() is renamed
23 to sljit_compiler_get_allocator_data().
24
25 21.02.2024 - Non-backward compatible
26 The sljit_set_put_label() function is renamed
27 to sljit_emit_mov_addr() and sljit_put_label
28 is merged into sljit_jump and removed.
29
30 01.11.2023 - Non-backward compatible
31 The SLJIT_ARG_TYPE_VOID definition is changed
32 to SLJIT_ARG_TYPE_RET_VOID to improve Windows
33 compatibility.
34
35 05.09.2023 - Non-backward compatible
36 Turn SLJIT_IMM from a flag to a single value.
37
38 10.08.2023 - Non-backward compatible
39 Rename SLJIT_INT_REGISTER to SLJIT_GP_REGISTER.
40
41 01.08.2023 - Non-backward compatible
42 A type argument is added to sljit_get_register_index
43 and sljit_get_float_register_index is removed.
44
45 19.07.2023 - Non-backward compatible
46 SLJIT_MEM_UNALIGNED_16/32 options are renamed
47 to SLJIT_MEM_ALIGNED_16/32 and a type argument
48 is added to sljit_get_float_register_index.
49
50 16.02.2022 - Non-backward compatible
51 The sljit_emit_cmov operation is replaced
52 by sljit_emit_select.
53
54 11.02.2022 - Non-backward compatible
55 All floating point comparisons are supported,
56 sljit_cmp_info return value is changed.
57
58 02.02.2022 - Backward compatible
59 All SLJIT_SET_* constants are
60 even numbers.
61
62 27.01.2022 - Non-backward compatible
63 The arguments of sljit_emit_shift_into
64 are changed.
65
66 17.12.2022 - Non-backward compatible
67 Replace sljit_emit_fast_enter and
68 sljit_get_return_address with
69 sljit_emit_op_dst.
70
71 13.12.2022 - Non-backward compatible
72 Replace SLJIT_NOT with SLJIT_XOR.
73
74 10.11.2022 - Non-backward compatible
75 Extract the pre/post update operations from
76 sljit_emit_mem to sljit_emit_mem_update
77 and sljit_emit_fmem to sljit_emit_fmem_update.
78
79 04.11.2022 - Non-backward compatible
80 The SLJIT_32 flag is combined with the type
81 argument of cmov, not the dst_reg.
82
83 16.06.2022 - Non-backward compatible
84 Remove SLJIT_ENTER_CDECL and SLJIT_CALL_CDECL.
85 The default calling mode is cdecl now.
86
87 21.04.2022 - Non-backward compatible
88 Floating point comparison types are renamed.
89
90 01.03.2022 - Non-backward compatible
91 Remove SLJIT_NEG. Instead subtraction from
92 immedate 0 is preferred.
93
94 31.01.2022 - Non-backward compatible
95 The SLJIT_CURRENT_FLAGS_ADD_SUB option is
96 split into SLJIT_CURRENT_FLAGS_ADD and
97 SLJIT_CURRENT_FLAGS_SUB.
98
99 27.02.2022 - Non-backward compatible
100 The SLJIT_F64_ALIGNMENT option is removed.
101
102 17.02.2022 - Non-backward compatible
103 Many floating point operations may destroy flags.
104
105 06.02.2022 - Non-backward compatible
106 The SLJIT_FUNC_OFFSET macro is renamed to SLJIT_FUNC_ADDR.
107 Furthermore a new SLJIT_FUNC_UADDR macro is added which
108 returns with an unsigned address.
109
110 01.02.2022 - Non-backward compatible
111 Rework function argument list descriptor macros used by
112 sljit_emit_enter, sljit_set_context, sljit_emit_call,
113 and sljit_emit_icall functions.
114
115 25.01.2022 - Non-backward compatible
116 Change SLJIT_I32_OP and SLJIT_F32_OP to SLJIT_32.
117
118 24.01.2022 - Non-backward compatible
119 The SLJIT_UNUSED value is replaced by sljit_emit_op2u and
120 sljit_emit_return_void functions.
121
122 27.05.2021 - Non-backward compatible
123 The comparison types with the 32 suffix are removed from the
124 project. The sljit_set_current_flags has a new flag which
125 must be set when the flags are set by a 32 bit operation.
126
127 04.05.2021 - Non-backward compatible
128 The mul overflow comparison type is removed from the project
129 and the normal overflow type should be used instead.
130
131 28.04.2021 - Non-backward compatible
132 The current_flags argument of sljit_set_current_flags must
133 provide information about the instructions which set the CPU
134 status flags.
135
136 16.08.2020 - Non-backward compatible
137 A second parameter has been added to sljit_create_compiler()
138 and sljit_free_code() to pass some data to the executable
139 allocator functions.
140
141 24.01.2020 - Non-backward compatible
142 The SLJIT_MOV instructions does not support SLJIT_UNDEFINED
143 as destination. New prefetch instructions has been added
144 instead.
145
146 20.01.2019 - Non-backward compatible
147 The check_sljit_emit_fast_return function is removed, and
148 this operation is available through check_sljit_emit_op_src.
149
150 16.01.2019 - Backward compatible
151 A new opcode (SLJIT_ENDBR) is added to support
152 Intel Control-flow Enforcement Technology (CET).
153
154 08.01.2018 - Non-backward compatible
155 Fields of sljit_stack are renamed to fit a
156 top-down stack better.
157
158 02.01.2018 - Non-backward compatible
159 Immediate source argument has not been supported
160 for NOT, NEG, CLZ, and fast_return instructions
161 anymore. No CPU supports immedate arguments for
162 these opcodes.
163
164 26.12.2017 - Non-backward compatible
165 The MOVU opcodes are removed because the emulation
166 is inefficient. The sljit_emit_mem() operation is
167 added instead.
168
169 18.10.2017 - Non-backward compatible
170 The SLJIT_CALL0 - SLJIT_CALL3 jump types are
171 replaced by sljit_emit_call and sljit_emit_icall
172 function calls. These functions allows declaring
173 the argument types.
174
175 06.05.2017 - Non-backward compatible
176 Src argument is removed from sljit_emit_op_flags.
177
178 24.04.2017 - Non-backward compatible
179 The sljit_is_fpu_available function is replaced
180 by sljit_has_cpu_feature.
181
182 20.04.2017 - Non-backward compatible
183 x86 specific cmov is changed to a general function
184
185 27.03.2017 - Non-backward compatible
186 JIT stack is changed from bottom-up to top-town.
187
188 15.01.2017 - Non-backward compatible
189 Move with update may modifiy flags, the base register
190 can only be used once and [reg+reg<<shift] addressing
191 mode where shift > 0 is not supported anymore.
192
193 12.01.2017 - Non-backward compatible
194 Introducing a new flag mechanism which provides better
195 compatibility with CPUs without flags. Only two flags
196 remain: zero and variable. The current type of the
197 variable flag is specified by the arithmetic operator.
198 The SLJIT_KEEP_FLAGS is removed.
199
200 29.02.2016 - Non-backward compatible
201 Several types and instructions are renamed to improve
202 readability. In general byte, half, and int are renamed
203 to 8, 16, and 32. Floating point types are also renamed
204 from d and s to f64 and f32.
205
206 [s|u]b -> [s|u]8 (8 bit values)
207 [s|u]h -> [s|u]16 (16 bit values)
208 [s|u]i -> [s|u]32 (32 bit values)
209 d -> f64 (64 bit floating point value)
210 s -> f32 (32 bit floating point value)
211
212 18.05.2015 - Non-backward compatible
213 SLJIT_[I|]L[U|S]DIV is renamed to SLJIT_[I|][U|S]DIVMOD
214
215 29.09.2014 - Non-backward compatible
216 The sljit_create_compiler, sljit_allocate_stack, and
217 sljit_free_stack functions have an allocator_data
218 argument now.
219
220 19.09.2014 - Non-backward compatible
221 Using I, D, S prefixes in conditional and floating
222 point operations. And an L prefix to long multiplication
223 and division (op0 opcodes).
224
225 11.08.2014 - Non-backward compatible
226 A currently unused options parameter is added to sljit_emit_enter
227 and sljit_set_context.
228
229 06.07.2014 - Non-backward compatible
230 SCRATCH registers are renamed to Rx and SAVED registers
231 are renamed to Sx. See the explanation of these registers
232 in sljitLir.h.
233
234 31.05.2014 - Non-backward compatible
235 SLJIT_TEMPORARY_EREGx registers were not renamed to
236 SLJIT_SCRATCH_EREGx when the change was done on 08.11.2012
237
238 05.03.2014 - Backward compatible
239 The sljit_set_target now supports those jumps, which
240 does not created with SLJIT_REWRITABLE_JUMP flag.
241 Reason: sljit_emit_ijump does not support conditional
242 jumps.
243
244 03.03.2014 - Non-backward compatible
245 SLJIT_MOV_UI cannot be combined with SLJIT_INT_OP.
246 Reason: SLJIT_INT_OP flag is not recommended to use
247 directly, and SLJIT_IMOV has no sign bit.
248
249 29.01.2014 - Backward compatible
250 Bits assigned to SLJIT_MEM and SLJIT_IMM flags are changed.
251 Reason: the most common cases are fits into one byte now,
252 and more registers can be supported in the future.
253
254 08.11.2012 - Non-backward compatible
255 SLJIT_TEMPORARY_REGx registers are renamed to SLJIT_SCRATCH_REGx.
256
257 07.11.2012 - Non-backward compatible
258 sljit_emit_cond_value is renamed to sljit_emit_op_flags. An
259 extra source argument is added which will be used in the future.
260
261 05.11.2012 - Backward compatible
262 sljit_emit_cond_value now supports SLJIT_AND and SLJIT_INT_OP
263 flags, which makes this function complete.
264
265 01.11.2012 - Non-backward compatible
266 SLJIT_F* opcodes are renamed to SLJIT_*D to show that
267 they are double precision operators. Furthermore
268 SLJIT_*S single precision opcodes are added.
269
270 01.11.2012 - Non-backward compatible
271 Register arguments of operations with SLJIT_INT_OP flag
272 must be computed by another operation with SLJIT_INT_OP flag.
273 The same way as SLJIT_SINGLE_OP flag works with floating point
274 numbers. See the description of SLJIT_INT_OP.
275
276 01.11.2012 - Backward compatible
277 All operations whose support the SLJIT_INT_OP flag, have an
278 alternate name now, which includes the SLJIT_INT_OP. These
279 names starting with I.
280
281 31.10.2012 - Non-backward compatible
282 Renaming sljit_w to sljit_sw, sljit_i to sljit_si, sljit_h
283 to sljit_sh, and sljit_b to sljit_sb. Reason: their sign
284 bit is part of the type now.
285
286 20.10.2012 - Non-backward compatible
287 Renaming SLJIT_C_FLOAT_NAN to SLJIT_C_FLOAT_UNORDERED.
288 Reason: all architectures call these unordered comparions.