Re: [x86 SSE PATCH] PR target/115751: Avoid force_reg in ix86_expand_ternlog.

2024-07-04 Thread Hongtao Liu
On Fri, Jul 5, 2024 at 8:06 AM Hongtao Liu wrote: > > On Fri, Jul 5, 2024 at 2:54 AM Roger Sayle wrote: > > > > > > This patch fixes a problem with splitting of complex AVX512 ternlog > > instructions on x86_64. A recent change allows the ternlog pattern > > to have multiple mem-like operands pr

Re: [x86 SSE PATCH] PR target/115751: Avoid force_reg in ix86_expand_ternlog.

2024-07-04 Thread Hongtao Liu
On Fri, Jul 5, 2024 at 2:54 AM Roger Sayle wrote: > > > This patch fixes a problem with splitting of complex AVX512 ternlog > instructions on x86_64. A recent change allows the ternlog pattern > to have multiple mem-like operands prior to reload, by emitting any > "reloads" as necessary during sp

[x86 SSE PATCH] PR target/115751: Avoid force_reg in ix86_expand_ternlog.

2024-07-04 Thread Roger Sayle
This patch fixes a problem with splitting of complex AVX512 ternlog instructions on x86_64. A recent change allows the ternlog pattern to have multiple mem-like operands prior to reload, by emitting any "reloads" as necessary during split1, before register allocation. The issue is that this code