[Bug target/119267] RISC-V: gcc generates vsetivli with wrong LMUL with extended assembly

2025-03-13 Thread mperotti at iis dot ee.ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119267 --- Comment #2 from Matteo Perotti --- (In reply to Andrew Pinski from comment #1) > You can't use vsetivli this way. That is you can't set it via inline-asm. > > MAybe this should be documented. 1) Do you mean that it's not allowed to use vse

[Bug target/119267] New: RISC-V: gcc generates vsetvli with wrong LMUL with extended assembly

2025-03-13 Thread mperotti at iis dot ee.ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119267 Bug ID: 119267 Summary: RISC-V: gcc generates vsetvli with wrong LMUL with extended assembly Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal