On Fri, Jan 31, 2025 at 8:44 PM Uros Bizjak wrote:
>
> On Fri, Jan 31, 2025 at 12:09 PM H.J. Lu wrote:
> >
> > -mindirect-branch-register requires indirect call and jump via register.
> > For -mindirect-branch-register, expanding indirect call via register and
> > update call patterns and peephol
On Fri, Jan 31, 2025 at 12:09 PM H.J. Lu wrote:
>
> -mindirect-branch-register requires indirect call and jump via register.
> For -mindirect-branch-register, expanding indirect call via register and
> update call patterns and peepholes to disable indirect call via memory.
I think the approach is
-mindirect-branch-register requires indirect call and jump via register.
For -mindirect-branch-register, expanding indirect call via register and
update call patterns and peepholes to disable indirect call via memory.
gcc/
PR target/115673
* config/i386/i386-expand.cc (ix86_expand