Re: [PATCH v4] x86: Check the stack access register for stack access

2025-02-19 Thread H.J. Lu
On Thu, Feb 20, 2025 at 3:11 PM Uros Bizjak wrote: > > On Thu, Feb 20, 2025 at 3:17 AM H.J. Lu wrote: > > > > On Thu, Feb 20, 2025 at 5:37 AM H.J. Lu wrote: > > > > > > On Wed, Feb 19, 2025 at 10:09 PM Uros Bizjak wrote: > > > > > > > ... > > > > > My algorithm keeps a list of registers which c

Re: [PATCH v4] x86: Check the stack access register for stack access

2025-02-19 Thread Uros Bizjak
On Thu, Feb 20, 2025 at 3:17 AM H.J. Lu wrote: > > On Thu, Feb 20, 2025 at 5:37 AM H.J. Lu wrote: > > > > On Wed, Feb 19, 2025 at 10:09 PM Uros Bizjak wrote: > > > > > ... > > > > My algorithm keeps a list of registers which can access the stack > > > > starting with SP and FP. If any registers

[PATCH v4] x86: Check the stack access register for stack access

2025-02-19 Thread H.J. Lu
gt; at /export/gnu/import/git/gitlab/x86-gcc/gcc/config/i386/i386.cc:8486 > 8486 stack_access_data *p = (stack_access_data *) data; > (set (reg/f:DI 20 xmm0 [orig:126 _53 ] [126]) > (reg/f:DI 0 ax [orig:126 _53 ] [126])) > (gdb) > > FOR_EACH_SUBRTX is needed to check for t