diff options
author | Igor Tsimbalist <igor.v.tsimbalist@intel.com> | 2017-11-27 12:54:17 +0100 |
---|---|---|
committer | Igor Tsimbalist <itsimbal@gcc.gnu.org> | 2017-11-27 12:54:17 +0100 |
commit | 39335d1486c5f39182bd0cca6af52a49386319cb (patch) | |
tree | 3409928bed4c483d33634a4bace037146a604b81 /gcc/loop-unroll.c | |
parent | be025a2d99772df9ccea1b8b0aba5833bd8fc32c (diff) | |
download | gcc-39335d1486c5f39182bd0cca6af52a49386319cb.zip gcc-39335d1486c5f39182bd0cca6af52a49386319cb.tar.gz gcc-39335d1486c5f39182bd0cca6af52a49386319cb.tar.bz2 |
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
Diffstat (limited to 'gcc/loop-unroll.c')
0 files changed, 0 insertions, 0 deletions