Re: [PATCH] middle-end: Fixup constant integers when expanding __builtin_crc [PR118288]

2025-02-17 Thread Jeff Law
On 2/16/25 2:07 PM, Uros Bizjak wrote: Constant integers with MSB set have to be represented as corresponding signed integers. Use gen_int_mode to emit them in the correct way. PR middle-end/118288 gcc/ChangeLog: * builtins.cc (expand_builtin_crc_table_based): Use gen_int_mo

[PATCH] middle-end: Fixup constant integers when expanding __builtin_crc [PR118288]

2025-02-16 Thread Uros Bizjak
Constant integers with MSB set have to be represented as corresponding signed integers. Use gen_int_mode to emit them in the correct way. PR middle-end/118288 gcc/ChangeLog: * builtins.cc (expand_builtin_crc_table_based): Use gen_int_mode to emit constant integers with MSB set. gcc