Re: [x86_PATCH] New *ashl_doubleword_highpart define_insn_and_split.

2023-06-25 Thread Uros Bizjak via Gcc-patches
On Sat, Jun 24, 2023 at 8:04 PM Roger Sayle wrote: > > > This patch contains a pair of (related) optimizations in i386.md that > allow us to generate better code for the example below (this is a step > towards fixing a bugzilla PR, but I've forgotten the number). > > __int128 foo64(__int128 x, lon

[x86_PATCH] New *ashl_doubleword_highpart define_insn_and_split.

2023-06-24 Thread Roger Sayle
This patch contains a pair of (related) optimizations in i386.md that allow us to generate better code for the example below (this is a step towards fixing a bugzilla PR, but I've forgotten the number). __int128 foo64(__int128 x, long long y) { __int128 t = (__int128)y << 64; return x ^ t; }