Re: [PATCH] [APX PPX] Support Intel APX PPX

2023-11-20 Thread Hongtao Liu
On Tue, Nov 21, 2023 at 1:45 PM Hongyu Wang wrote: > > > I think you just need to add an extra (unspec [(const_int 0)] > > UNSPEC_PPX) to origin push_di pattern, then no need for particular > > handling of dwarf and cfa stuffs. > > Ditto for popp and push2p and pop2p. > > Yes, such change also wor

Re: [PATCH] [APX PPX] Support Intel APX PPX

2023-11-20 Thread Hongyu Wang
> I think you just need to add an extra (unspec [(const_int 0)] > UNSPEC_PPX) to origin push_di pattern, then no need for particular > handling of dwarf and cfa stuffs. > Ditto for popp and push2p and pop2p. Yes, such change also worked and no cfa adjustment required then, thanks for the suggestio

Re: [PATCH] [APX PPX] Support Intel APX PPX

2023-11-19 Thread Hongtao Liu
On Fri, Nov 17, 2023 at 3:26 PM Hongyu Wang wrote: > > Intel APX PPX feature has been released in [1]. > > PPX stands for Push-Pop Acceleration. PUSH/PUSH2 and its corresponding POP > can be marked with a 1-bit hint to indicate that the POP reads the > value written by the PUSH from the stack. The