bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/29341] New: RISC-V: -march=rv32imcb fails


From: hpa at zytor dot com
Subject: [Bug gas/29341] New: RISC-V: -march=rv32imcb fails
Date: Fri, 08 Jul 2022 22:39:31 +0000

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

            Bug ID: 29341
           Summary: RISC-V: -march=rv32imcb fails
           Product: binutils
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: hpa at zytor dot com
  Target Milestone: ---

Specifying -march=rv32imcb (or any other combination that includes the "b"
extension) invariably causes the error message:

[hpa@tazenda tmp]$ riscv32-unknown-elf-as -march=rv32imcb -o b-ext.o b-ext.s 
Assembler messages:
Error: cannot find default versions of the ISA extension `b'
b-ext.s:2: Error: unrecognized opcode `clz a0,a0'
... many more ...


Enumerating sub-extensions work:

riscv32-unknown-elf-as -march=rv32imc_zba_zbb_zbc_zbs -o b-ext.o b-ext.s


This is using b-ext.s from gas/testsuite/gas/riscv/b-ext.s as test case.

-- 
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]