On Sun, Nov 26, 2017 at 10:56 PM, Tsimbalist, Igor V
<igor.v.tsimbal...@intel.com> wrote:
> According to the description of  inssp instruction from Intel CET it adusts
> the shadow stack pointer (ssp) only by value in the range of [0..255]. As a
> number of adjustment could be greater than 255 there should be a loop
> generated to adjust ssp.
>
> gcc/
>
>                 * config/i386/i386.md: Add a loop with incssp.
>                 * testsuite/gcc.target/i386/cet-sjlj-1.c: Fix test.
>                 * testsuite/gcc.target/i386/cet-sjlj-4.c: Likewise.

LGTM.

Thanks,
Uros.

Reply via email to