lavu/cpu: deprecate RISC-V F, D and zba CPU flags
This commit is contained in:
parent
d1326b6347
commit
e0f9f4d491
@ -2,6 +2,10 @@ The last version increases of all libraries were on 2024-03-07
|
|||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2024-07-30 - xxxxxxxxx - lavu 59.32.100 - cpu.h
|
||||||
|
Deprecate AV_CPU_FLAG_RVF and AV_CPU_FLAG_RVD without replacement.
|
||||||
|
Deprecate AV_CPU_FLAG_RVB_ADDR, subsumed into AV_CPU_FLAG_RVB.
|
||||||
|
|
||||||
2024-07-29 - xxxxxxxxx - lavu 59.31.100 - intreadwrite.h
|
2024-07-29 - xxxxxxxxx - lavu 59.31.100 - intreadwrite.h
|
||||||
Add AV_{R,W}{L,B}{16,32}A and AV_{R,W}B64A.
|
Add AV_{R,W}{L,B}{16,32}A and AV_{R,W}B64A.
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#define AVUTIL_CPU_H
|
#define AVUTIL_CPU_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */
|
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */
|
||||||
|
|
||||||
@ -82,14 +83,18 @@
|
|||||||
|
|
||||||
// RISC-V extensions
|
// RISC-V extensions
|
||||||
#define AV_CPU_FLAG_RVI (1 << 0) ///< I (full GPR bank)
|
#define AV_CPU_FLAG_RVI (1 << 0) ///< I (full GPR bank)
|
||||||
|
#if FF_API_RISCV_FD_ZBA
|
||||||
#define AV_CPU_FLAG_RVF (1 << 1) ///< F (single precision FP)
|
#define AV_CPU_FLAG_RVF (1 << 1) ///< F (single precision FP)
|
||||||
#define AV_CPU_FLAG_RVD (1 << 2) ///< D (double precision FP)
|
#define AV_CPU_FLAG_RVD (1 << 2) ///< D (double precision FP)
|
||||||
|
#endif
|
||||||
#define AV_CPU_FLAG_RVV_I32 (1 << 3) ///< Vectors of 8/16/32-bit int's */
|
#define AV_CPU_FLAG_RVV_I32 (1 << 3) ///< Vectors of 8/16/32-bit int's */
|
||||||
#define AV_CPU_FLAG_RVV_F32 (1 << 4) ///< Vectors of float's */
|
#define AV_CPU_FLAG_RVV_F32 (1 << 4) ///< Vectors of float's */
|
||||||
#define AV_CPU_FLAG_RVV_I64 (1 << 5) ///< Vectors of 64-bit int's */
|
#define AV_CPU_FLAG_RVV_I64 (1 << 5) ///< Vectors of 64-bit int's */
|
||||||
#define AV_CPU_FLAG_RVV_F64 (1 << 6) ///< Vectors of double's
|
#define AV_CPU_FLAG_RVV_F64 (1 << 6) ///< Vectors of double's
|
||||||
#define AV_CPU_FLAG_RVB_BASIC (1 << 7) ///< Basic bit-manipulations
|
#define AV_CPU_FLAG_RVB_BASIC (1 << 7) ///< Basic bit-manipulations
|
||||||
|
#if FF_API_RISCV_FD_ZBA
|
||||||
#define AV_CPU_FLAG_RVB_ADDR (1 << 8) ///< Address bit-manipulations
|
#define AV_CPU_FLAG_RVB_ADDR (1 << 8) ///< Address bit-manipulations
|
||||||
|
#endif
|
||||||
#define AV_CPU_FLAG_RV_ZVBB (1 << 9) ///< Vector basic bit-manipulations
|
#define AV_CPU_FLAG_RV_ZVBB (1 << 9) ///< Vector basic bit-manipulations
|
||||||
#define AV_CPU_FLAG_RV_MISALIGNED (1 <<10) ///< Fast misaligned accesses
|
#define AV_CPU_FLAG_RV_MISALIGNED (1 <<10) ///< Fast misaligned accesses
|
||||||
#define AV_CPU_FLAG_RVB (1 <<11) ///< B (bit manipulations)
|
#define AV_CPU_FLAG_RVB (1 <<11) ///< B (bit manipulations)
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_MAJOR 59
|
#define LIBAVUTIL_VERSION_MAJOR 59
|
||||||
#define LIBAVUTIL_VERSION_MINOR 31
|
#define LIBAVUTIL_VERSION_MINOR 32
|
||||||
#define LIBAVUTIL_VERSION_MICRO 100
|
#define LIBAVUTIL_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
||||||
@ -113,6 +113,7 @@
|
|||||||
#define FF_API_VULKAN_CONTIGUOUS_MEMORY (LIBAVUTIL_VERSION_MAJOR < 60)
|
#define FF_API_VULKAN_CONTIGUOUS_MEMORY (LIBAVUTIL_VERSION_MAJOR < 60)
|
||||||
#define FF_API_H274_FILM_GRAIN_VCS (LIBAVUTIL_VERSION_MAJOR < 60)
|
#define FF_API_H274_FILM_GRAIN_VCS (LIBAVUTIL_VERSION_MAJOR < 60)
|
||||||
#define FF_API_MOD_UINTP2 (LIBAVUTIL_VERSION_MAJOR < 60)
|
#define FF_API_MOD_UINTP2 (LIBAVUTIL_VERSION_MAJOR < 60)
|
||||||
|
#define FF_API_RISCV_FD_ZBA (LIBAVUTIL_VERSION_MAJOR < 60)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user