Re: [PATCH] RISC-V: Clean up the pr106602.c testcase

2023-04-17 Thread Palmer Dabbelt
On Tue, 11 Apr 2023 14:01:06 PDT (-0700), gcc-patches@gcc.gnu.org wrote: On 4/11/23 13:03, Palmer Dabbelt wrote: The test case that was added is rv64i-specific, as there's better ways to generate this code on rv32i (where the long/int cast is a NOP) and on rv64i_zba (where we have word shifts)

Re: [PATCH] RISC-V: Clean up the pr106602.c testcase

2023-04-11 Thread Jeff Law via Gcc-patches
On 4/11/23 13:03, Palmer Dabbelt wrote: The test case that was added is rv64i-specific, as there's better ways to generate this code on rv32i (where the long/int cast is a NOP) and on rv64i_zba (where we have word shifts). This renames the original test case and adds two more for those target

[PATCH] RISC-V: Clean up the pr106602.c testcase

2023-04-11 Thread Palmer Dabbelt
The test case that was added is rv64i-specific, as there's better ways to generate this code on rv32i (where the long/int cast is a NOP) and on rv64i_zba (where we have word shifts). This renames the original test case and adds two more for those targets. gcc/testsuite/ChangeLog: PR targe