https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121582

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-09-09
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
Confirmed.

This isn't a Ascalon specific issue, but happens whenever we enable the
zvfbfwma extension while using the -mrvv-vector-bits=zvl option.  For example:

linux:~$ gcc -S -O2 -march=rv64gcv_zvfbfwma -mrvv-vector-bits=zvl pr121582.i
pr121582.i: In function 'foo':
pr121582.i:3:22: error: unrecognizable insn:
    3 | void foo() { v -= w; }
      |                      ^
(insn 19 18 20 2 (set (reg:RVVMF2BF 149 [ _3 ])
        (if_then_else:RVVMF2BF (unspec:RVVMF32BI [
                    (const_vector:RVVMF32BI [
                            (const_int 1 [0x1])
                            (const_int 0 [0]) repeated x3
                        ])
                    (const_int 1 [0x1])
                    (const_int 0 [0])
                    (const_int 2 [0x2])
                    (const_int 0 [0])
                    (reg:SI 66 vl)
                    (reg:SI 67 vtype)
                ] UNSPEC_VPREDICATE)
            (vec_duplicate:RVVMF2BF (reg:BF 160 [ _8 ]))
            (reg:RVVMF2BF 149 [ _3 ]))) "pr121582.i":3:16 -1
     (nil))
during RTL pass: vregs

Reply via email to