re PR target/80569 (i686: "shrx" instruction generated in 16-bit mode)
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 23 Jul 2017 10:28:26 +0000 (12:28 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 23 Jul 2017 10:28:26 +0000 (12:28 +0200)
commitf36dda3b640088390c182eae1a44f07d1041eb27
treed3edad4ade9231b06e6ec6b2f60db020220c4d08
parent4a15d84228ee29d55cd011094f82c8d4fa9a5a76
re PR target/80569 (i686: "shrx" instruction generated in 16-bit mode)

PR target/80569
* config/i386/i386.c (ix86_option_override_internal): Disable
BMI, BMI2 and TBM instructions for -m16.

testsuite/ChangeLog:

PR target/80569
* gcc.target/i386/pr80569.c: New test.

From-SVN: r250459
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr80569.c [new file with mode: 0644]