ObjFW  Diff

Differences From Artifact [e1f6b5972e]:

To Artifact [721a4a4cb5]:


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
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







-
+
+
+



-
+




-
+
+
+



-
+




-
+
+
+



-
+




-
+
+
+



-
+




-
+
+
+



-
+




-
+
+
+



-
+







 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU supports enhanced 3DNow!
 */
+ (bool)supportsEnhanced3DNow;

/**
 * @brief Returns whether the CPU and OS support SSE.
 * @brief Returns whether the CPU supports SSE.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSE
 * @return Whether the CPU supports SSE
 */
+ (bool)supportsSSE;

/**
 * @brief Returns whether the CPU and OS support SSE2.
 * @brief Returns whether the CPU supports SSE2.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSE2
 * @return Whether the CPU supports SSE2
 */
+ (bool)supportsSSE2;

/**
 * @brief Returns whether the CPU and OS support SSE3.
 * @brief Returns whether the CPU supports SSE3.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSE3
 * @return Whether the CPU supports SSE3
 */
+ (bool)supportsSSE3;

/**
 * @brief Returns whether the CPU and OS support SSSE3.
 * @brief Returns whether the CPU supports SSSE3.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSSE3
 * @return Whether the CPU supports SSSE3
 */
+ (bool)supportsSSSE3;

/**
 * @brief Returns whether the CPU and OS support SSE4.1.
 * @brief Returns whether the CPU supports SSE4.1.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSE4.1
 * @return Whether the CPU supports SSE4.1
 */
+ (bool)supportsSSE41;

/**
 * @brief Returns whether the CPU and OS support SSE4.2.
 * @brief Returns whether the CPU supports SSE4.2.
 *
 * @note This only checks CPU support and assumes OS support!
 *
 * @note This method is only available on AMD64 and x86.
 *
 * @return Whether the CPU and OS support SSE4.2
 * @return Whether the CPU supports SSE4.2
 */
+ (bool)supportsSSE42;

/**
 * @brief Returns whether the CPU and OS support AVX.
 *
 * @note This method is only available on AMD64 and x86.