[FFmpeg-devel] [PATCH 04/18] lavu/riscv: byte-swap operations

2022-09-12 Thread remi
From: Rémi Denis-Courmont If the target supports the Basic bit-manipulation (Zbb) extension, then the REV8 instruction is available to reverse byte order. Note that this instruction only exists at the "XLEN" register size, so we need to right shift the result down to the data width. If Zbb is n

[FFmpeg-devel] [PATCH 04/18] lavu/riscv: byte-swap operations

2022-09-09 Thread remi
From: Rémi Denis-Courmont If the target supports the Basic bit-manipulation (Zbb) extension, then the REV8 instruction is available to reverse byte order. Note that this instruction only exists at the "XLEN" register size, so we need to right shift the result down to the data width. If Zbb is n