Re: [PATCH v2] RISC-V: Enable overlap-by-pieces in case of fast unaliged access

2022-05-24 Thread Palmer Dabbelt
On Tue, 24 May 2022 18:36:27 PDT (-0700), Vineet Gupta wrote: On 5/24/22 18:32, Palmer Dabbelt wrote: Ping, IMO this needs to be (re)considered for trunk. This goes really nicely with riscv_slow_unaligned_access_p==false, to elide the unrolled tail copies for trailer word/sword/byte accesses.

Re: [PATCH v2] RISC-V: Enable overlap-by-pieces in case of fast unaliged access

2022-05-24 Thread Vineet Gupta
On 5/24/22 18:32, Palmer Dabbelt wrote: Ping, IMO this needs to be (re)considered for trunk. This goes really nicely with riscv_slow_unaligned_access_p==false, to elide the unrolled tail copies for trailer word/sword/byte accesses. @Kito, @Palmer ? Just from codegen pov this seems to be a no

Re: [PATCH v2] RISC-V: Enable overlap-by-pieces in case of fast unaliged access

2022-05-24 Thread Palmer Dabbelt
On Tue, 24 May 2022 17:55:24 PDT (-0700), Vineet Gupta wrote: On 7/22/21 15:41, Christoph Muellner via Gcc-patches wrote: This patch enables the overlap-by-pieces feature of the by-pieces infrastructure for inlining builtins in case the target has set riscv_slow_unaligned_access_p to false. A

Re: [PATCH v2] RISC-V: Enable overlap-by-pieces in case of fast unaliged access

2022-05-24 Thread Vineet Gupta
On 7/22/21 15:41, Christoph Muellner via Gcc-patches wrote: This patch enables the overlap-by-pieces feature of the by-pieces infrastructure for inlining builtins in case the target has set riscv_slow_unaligned_access_p to false. An example to demonstrate the effect for targets with fast unal

[PATCH v2] RISC-V: Enable overlap-by-pieces in case of fast unaliged access

2021-07-22 Thread Christoph Muellner via Gcc-patches
This patch enables the overlap-by-pieces feature of the by-pieces infrastructure for inlining builtins in case the target has set riscv_slow_unaligned_access_p to false. An example to demonstrate the effect for targets with fast unaligned access (target's that have slow_unaligned_access set to fal