[RFC PATCH v2] RISC-V: Support Zacas extension.

Jan Beulich jbeulich@suse.com
Thu Jun 1 09:03:34 GMT 2023


On 31.05.2023 18:28, Gianluca Guida wrote:
>  Changes from v1:
>   - Added check for even registers in AMOCAS.D/32 and AMOCAS.Q
>   - Added fail tests for odd registers.

Okay, that's the assembler side testing. How about the disassembler
side? (Note that I'm not a RISC-V maintainer, so my view here may not
count at all.)

> --- /dev/null
> +++ b/gas/testsuite/gas/riscv/zacas-fail-32.d
> @@ -0,0 +1,3 @@
> +#as: -march=rv32ia_zacas
> +#source: zacas-fail.s
> +#error_output: zacas-fail-32.l
> \ No newline at end of file

Nit: You will want to address all instances of this.

Jan


More information about the Binutils mailing list