Re: [x86 PATCH] PR target/91681: zero_extendditi2 pattern for more optimizations.

2022-06-05 Thread Uros Bizjak via Gcc-patches
gt; * gcc.target/i386/pr91681-2.c: Likewise. > * gcc.target/i386/pr91681-3.c: Likewise, but for ia32. > > > Thanks again, > Roger > -- > > > -Original Message- > > From: Uros Bizjak > > Sent: 03 June 2022 11:08 > > To: Roger Sayle

RE: [x86 PATCH] PR target/91681: zero_extendditi2 pattern for more optimizations.

2022-06-05 Thread Roger Sayle
inal Message- > From: Uros Bizjak > Sent: 03 June 2022 11:08 > To: Roger Sayle > Cc: GCC Patches > Subject: Re: [x86 PATCH] PR target/91681: zero_extendditi2 pattern for more > optimizations. > > On Fri, Jun 3, 2022 at 11:49 AM Roger Sayle > wrote: > > >

Re: [x86 PATCH] PR target/91681: zero_extendditi2 pattern for more optimizations.

2022-06-03 Thread Uros Bizjak via Gcc-patches
On Fri, Jun 3, 2022 at 12:08 PM Uros Bizjak wrote: > > On Fri, Jun 3, 2022 at 11:49 AM Roger Sayle > wrote: > > > > > > Technically, PR target/91681 has already been resolved; we now recognize the > > highpart multiplication at the tree-level, we no longer use the stack, and > > we currently gen

Re: [x86 PATCH] PR target/91681: zero_extendditi2 pattern for more optimizations.

2022-06-03 Thread Uros Bizjak via Gcc-patches
On Fri, Jun 3, 2022 at 11:49 AM Roger Sayle wrote: > > > Technically, PR target/91681 has already been resolved; we now recognize the > highpart multiplication at the tree-level, we no longer use the stack, and > we currently generate the same number of instructions as LLVM. However, it > is stil

[x86 PATCH] PR target/91681: zero_extendditi2 pattern for more optimizations.

2022-06-03 Thread Roger Sayle
Technically, PR target/91681 has already been resolved; we now recognize the highpart multiplication at the tree-level, we no longer use the stack, and we currently generate the same number of instructions as LLVM. However, it is still possible to do better, the current x86_64 code to generate a