bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28733] RISC-V: Bad errors on fence.i and CSR ISA checking


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/28733] RISC-V: Bad errors on fence.i and CSR ISA checking
Date: Wed, 23 Feb 2022 11:14:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28733

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nelson Chu <nelsonc1225@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=df0a549ebdae74ef9d233243b869d424e6a33c73

commit df0a549ebdae74ef9d233243b869d424e6a33c73
Author: Patrick O'Neill <patrick@rivosinc.com>
Date:   Fri Jan 21 09:22:00 2022 -0800

    RISC-V: PR28733, add missing extension info to 'invalid CSR' error

    Currently we report errors as "invalid CSR 'fscr' for the current ISA"
    when the instruction isn't valid.

    This patch expands that error message to include the missing extension
    information. For example, now the error message would be "invalid CSR
    'fscr' for the current ISA, CSR 'fscr' needs 'f' extension".

    Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>

    gas/
            pr 28733
            * config/tc-riscv.c (riscv_csr_address): Report more details
            when the CSR is invalid.
            * testsuite/gas/riscv/csr-version-1p10.l: Updated detailed errors.
            * testsuite/gas/riscv/csr-version-1p11.l: Likewise.
            * testsuite/gas/riscv/csr-version-1p12.l: Likewise.
            * testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]