Re: [x86_64 PATCH] Allow any immediate constant in *cmp_doubleword splitter.

2022-08-06 Thread Uros Bizjak via Gcc-patches
On Fri, Aug 5, 2022 at 3:14 PM Roger Sayle wrote: > > > This patch tweaks i386.md's *cmp_doubleword splitter's predicate to > allow general_operand, not just x86_64_hilo_general_operand, to improve > code generation. As a general rule, i386.md's _doubleword splitters should > be post-reload split

[x86_64 PATCH] Allow any immediate constant in *cmp_doubleword splitter.

2022-08-05 Thread Roger Sayle
This patch tweaks i386.md's *cmp_doubleword splitter's predicate to allow general_operand, not just x86_64_hilo_general_operand, to improve code generation. As a general rule, i386.md's _doubleword splitters should be post-reload splitters that require integer immediate operands to be x86_64_hilo