revert: re PR target/70738 (Add -mgeneral-regs-only option)
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 22 May 2016 17:20:10 +0000 (19:20 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 22 May 2016 17:20:10 +0000 (19:20 +0200)
commit41a6c071413f59fb54484202b565b93afe75684a
tree79de3076a968de2196eaf488054b9afdde954a9c
parentaf120161421cdc935ff98a0e5038775f22a1ca90
revert: re PR target/70738 (Add -mgeneral-regs-only option)

Revert:

gcc/

PR target/70738
* common/config/i386/i386-common.c
(OPTION_MASK_ISA_GENERAL_REGS_ONLY_UNSET): New.
(ix86_handle_option): Disable MPX, MMX, SSE and x87 instructions
for -mgeneral-regs-only.
* config/i386/i386.c (ix86_option_override_internal): Don't
enable x87 instructions if only the general registers are
allowed.
* config/i386/i386.opt: Add -mgeneral-regs-only.
* doc/invoke.texi: Document -mgeneral-regs-only.

gcc/testsuite/

PR target/70738
* gcc.target/i386/pr70738-1.c: Likewise.
* gcc.target/i386/pr70738-2.c: Likewise.
* gcc.target/i386/pr70738-3.c: Likewise.
* gcc.target/i386/pr70738-4.c: Likewise.
* gcc.target/i386/pr70738-5.c: Likewise.
* gcc.target/i386/pr70738-6.c: Likewise.
* gcc.target/i386/pr70738-7.c: Likewise.
* gcc.target/i386/pr70738-8.c: Likewise.
* gcc.target/i386/pr70738-9.c: Likewise.

From-SVN: r236570
15 files changed:
gcc/ChangeLog
gcc/common/config/i386/i386-common.c
gcc/config/i386/i386.c
gcc/config/i386/i386.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70738-1.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-2.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-3.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-4.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-5.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-6.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-7.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-8.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70738-9.c [deleted file]