Re: [x86 PATCH] Use xchg for DImode double word rotate by 32 bits with -m32.

2022-06-26 Thread Uros Bizjak via Gcc-patches
On Sun, Jun 26, 2022 at 5:54 PM Roger Sayle wrote: > > > This patch was motivated by the investigation of Linus Torvalds' spill > heavy cryptography kernels in PR 105930. The di3 expander > handles all rotations by an immediate constant for 1..63 bits with the > exception of 32 bits, which FAILs

[x86 PATCH] Use xchg for DImode double word rotate by 32 bits with -m32.

2022-06-26 Thread Roger Sayle
This patch was motivated by the investigation of Linus Torvalds' spill heavy cryptography kernels in PR 105930. The di3 expander handles all rotations by an immediate constant for 1..63 bits with the exception of 32 bits, which FAILs and is then split by the middle-end. This patch makes these 32-