Small retpoline clean-up.
authorMartin Liska <mliska@suse.cz>
Thu, 18 Jan 2018 13:13:23 +0000 (14:13 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 18 Jan 2018 13:13:23 +0000 (13:13 +0000)
commit82a7bb2dff8f2055e64f14cff0e3e29d0c83c195
tree555366d18b775ecfbcf89ad7f4947dc6dffe56f6
parent5b06990f1aa47b7df2aeb339bc730e4c9c1475c4
Small retpoline clean-up.

2018-01-18  Martin Liska  <mliska@suse.cz>

* config/i386/i386.c (indirect_thunk_name): Document that also
lfence is emitted.
(output_indirect_thunk): Document why both instructions
(pause and lfence) are generated.
2018-01-18  Martin Liska  <mliska@suse.cz>

* gcc.target/i386/indirect-thunk-3.c: Remove duplicate options.
* gcc.target/i386/indirect-thunk-4.c: Likewise.
* gcc.target/i386/indirect-thunk-6.c: Likewise.
* gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
* gcc.target/i386/ret-thunk-10.c: Likewise.
* gcc.target/i386/ret-thunk-11.c: Likewise.
* gcc.target/i386/ret-thunk-12.c: Likewise.
* gcc.target/i386/ret-thunk-15.c: Likewise.
* gcc.target/i386/ret-thunk-9.c: Likewise.

From-SVN: r256846
12 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
gcc/testsuite/gcc.target/i386/indirect-thunk-6.c
gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-4.c
gcc/testsuite/gcc.target/i386/ret-thunk-10.c
gcc/testsuite/gcc.target/i386/ret-thunk-11.c
gcc/testsuite/gcc.target/i386/ret-thunk-12.c
gcc/testsuite/gcc.target/i386/ret-thunk-15.c
gcc/testsuite/gcc.target/i386/ret-thunk-9.c