[Bug target/120714] RISC-V: incorrect frame pointer CFA address for stack-clash protection loops

2025-06-30 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120714 Raphael M Zinsly changed: What|Removed |Added CC||rzinsly at ventanamicro dot com ---

[Bug middle-end/111126] Not always using czero.eqz

2024-03-11 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26 --- Comment #3 from Raphael M Zinsly --- Created attachment 57671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57671&action=edit proposed patch This is the same patch I posted in PR114277, it fixes this bug as well.

[Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x

2024-03-11 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #3 from Raphael M Zinsly --- Created attachment 57670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57670&action=edit proposed patch I created this patch using the approach Jeff mentioned, I tested and it fixes this bug.

[Bug target/108038] GCC generates poor code for select of consecutive constants on riscv-64

2022-12-14 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108038 --- Comment #1 from Raphael M Zinsly --- (In reply to Jeffrey A. Law from comment #0) > testGT: > sgt a0,a0,a1# 25[c=4 l=4] *sgt_didi > xoria0,a0,1 # 27[c=4 l=4] xordi3/1 > addia0,a0,2 # 16