i386.opt (mmitigate-rop): Mark as deprecated.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 15 Aug 2018 21:07:08 +0000 (23:07 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 15 Aug 2018 21:07:08 +0000 (23:07 +0200)
commit9fe138fd34837a91334740e9a62f4f7c79428ae8
treecadb6c44fa2f79a7de491f403881f245d7216b61
parent245fbaaadfb4af170b63056c0254e61201e8834f
i386.opt (mmitigate-rop): Mark as deprecated.

* config/i386/i386.opt (mmitigate-rop): Mark as deprecated.
* doc/invoke.texi (mmitigate-rop): Remove.
* config/i386/i386.c: Do not include "regrename.h".
(ix86_rop_should_change_byte_p, reg_encoded_number)
(ix86_get_modrm_for_rop, set_rop_modrm_reg_bits, ix86_mitigate_rop):
Remove.
(ix86_reorg): Remove call to ix86_mitigate_rop.
* config/i386/i386.md (attr "modrm_class"): Remove.
(cmp<mode>_ccno_1, mov<mode>_xor, movstrict<mode>_xor)
(x86_mov<mode>cc_0_m1. x86_mov<mode>cc_0_m1_se)
(x86_mov<mode>cc_0_m1_neg): Remove modrm_class attribute override.

testsuite/Changelog:

* gcc.target/i386/rop1.c: Remove.
* gcc.target/i386/pr83554 (dg-options): Remove -mmitigate-rop.

From-SVN: r263572
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i386/i386.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr83554.c
gcc/testsuite/gcc.target/i386/rop1.c [deleted file]