-
- Downloads
Fix code generation for buildtin_longjmp with CET.
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. From-SVN: r255164
Showing
- gcc/ChangeLog 5 additions, 0 deletionsgcc/ChangeLog
- gcc/config/i386/i386.md 63 additions, 18 deletionsgcc/config/i386/i386.md
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/i386/cet-sjlj-1.c 1 addition, 1 deletiongcc/testsuite/gcc.target/i386/cet-sjlj-1.c
- gcc/testsuite/gcc.target/i386/cet-sjlj-4.c 1 addition, 1 deletiongcc/testsuite/gcc.target/i386/cet-sjlj-4.c
Loading
Please register or sign in to comment