https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110696
Bug ID: 110696 Summary: RISC-V: -march doesn't imply correctly Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: juzhe.zhong at rivai dot ai Target Milestone: --- test: #include "riscv_vector.h" void foo () {vint32m1_t v;} 1. -march=rv64gcv_zvl4096: .attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zifencei2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl1024b1p0_zvl128b1p0_zvl2048b1p0_zvl32b1p0_zvl4096b1p0_zvl64b1p0" Missing: zvl256b and zvl512b 2. -march=rv64gcv_zvl8192: .attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zifencei2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl2048b1p0_zvl32b1p0_zvl4096b1p0_zvl64b1p0_zvl8192b1p0" Missing: zvl256b and zvl512b and zvl1024b