Re: [PATCH 2/2 v2] RISC-V: Constant synthesis of inverted halves

2024-09-05 Thread Jeff Law
On 9/5/24 1:50 PM, Raphael Moreira Zinsly wrote: Changes since v1: - Fix synthesis-15.c. -- >8 -- Improve handling of constants where the high half can be constructed by inverting the lower half. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_build_integer): Detect constants

[PATCH 2/2 v2] RISC-V: Constant synthesis of inverted halves

2024-09-05 Thread Raphael Moreira Zinsly
Changes since v1: - Fix synthesis-15.c. -- >8 -- Improve handling of constants where the high half can be constructed by inverting the lower half. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_build_integer): Detect constants were the higher half is the lower half inverte