This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add a few RTL predicates
On Friday 11 June 2004 01:14, Richard Henderson wrote:
> On Fri, Jun 11, 2004 at 12:08:33AM +0200, Steven Bosscher wrote:
> > The redefinition of INSN_P is a marginal speed-up.
>
> Measurably? It doesn't look like a speed up...
Nothing convincing on machines I've tried it on, but the assembly
looks slightly better (left is without, right is with patch):
movzwq (%rdi), %rax | movzwl (%rdi), %eax
cmpl $7, rtx_class(,%rax,4) | subl $43, %eax
sete %al | cmpw $2, %ax
> setbe %al
movzbl %al, %eax movzbl %al, %eax
Gr.
Steven