Re: [PATCH] Replace invariant ternlog operands

2023-08-03 Thread Hongtao Liu via Gcc-patches
On Fri, Aug 4, 2023 at 1:30 AM Alexander Monakov wrote: > > > On Thu, 27 Jul 2023, Liu, Hongtao via Gcc-patches wrote: > > > > +;; If the first and the second operands of ternlog are invariant and ;; > > > +the third operand is memory ;; then we should add load third operand > > > +from memory to

RE: [PATCH] Replace invariant ternlog operands

2023-08-03 Thread Alexander Monakov
On Thu, 27 Jul 2023, Liu, Hongtao via Gcc-patches wrote: > > +;; If the first and the second operands of ternlog are invariant and ;; > > +the third operand is memory ;; then we should add load third operand > > +from memory to register and ;; replace first and second operands with > > +this

RE: [PATCH] Replace invariant ternlog operands

2023-07-26 Thread Liu, Hongtao via Gcc-patches
> -Original Message- > From: Yan Simonaytes > Sent: Wednesday, July 26, 2023 2:11 AM > To: gcc-patches@gcc.gnu.org > Cc: Liu, Hongtao ; Uros Bizjak ; > Yan Simonaytes > Subject: [PATCH] Replace invariant ternlog operands > > Sometimes GCC generates ternlog with three operands, but