[PATCH] RISC-V: Support Zvabd version 0.9
Jeff Law
jeffrey.law@oss.qualcomm.com
Sat Sep 12 05:42:53 GMT 2026
On 9/9/26 2:24 AM, Bohan Lei wrote:
> Unfortunately Zvabd was not as frozen as we had expected.
>
> The ARC updated the instruction variants and encodings of Zvabd
> (https://github.com/riscv/riscv-isa-manual/pull/3279), and the latest
> approved version is version 0.9
> (https://github.com/riscv/integer-vector-absolute-difference/releases/tag/v0.9).
> This commit updates support for Zvabd to v0.9.
>
> bfd/ChangeLog:
>
> * elfxx-riscv.c: Change Zvabd version to 0.9.
>
> gas/ChangeLog:
>
> * NEWS: Update.
> * testsuite/gas/riscv/march-help.l: Update testcase.
> * testsuite/gas/riscv/zvabd.d: Ditto.
> * testsuite/gas/riscv/zvabd.s: Ditto.
>
> include/ChangeLog:
>
> * opcode/riscv-opc.h (MATCH_VABS_V): Remove.
> (MASK_VABS_V): Ditto.
> (MATCH_VABD_VV): Use new encoding.
> (MATCH_VABDU_VV): Ditto.
> (MATCH_VABD_VX): Ditto.
> (MASK_VABD_VX): Ditto.
> (MATCH_VWABDA_VV): Ditto.
> (MATCH_VABDU_VX): Ditto.
> (MASK_VABDU_VX): Ditto.
> (MATCH_VWABDAU_VV): Ditto.
> (MATCH_VWABDA_VX): Ditto.
> (MASK_VWABDA_VX): Ditto.
> (MATCH_VWABDAU_VX): Ditto.
> (MASK_VWABDAU_VX): Ditto.
>
> opcodes/ChangeLog:
>
> * riscv-opc.c: Support new encodings and variants of Zvabd
> instructions.
LGTM. I went ahead and pushed this to the repo -- I was going to have
do this myself, so you just saved me a meaningful amount of time. Thanks!
jeff
More information about the Binutils
mailing list