re PR target/62120 ([ICE] ADDITIONAL_REGISTER_NAMES for [YZ]MMs, regno>8 should be...
authorIlya Tocar <ilya.tocar@intel.com>
Tue, 30 Sep 2014 16:04:15 +0000 (16:04 +0000)
committerIlya Tocar <tocarip@gcc.gnu.org>
Tue, 30 Sep 2014 16:04:15 +0000 (20:04 +0400)
commitcd91371c5f1ed77c2acdde60f194a98df95c241b
tree0cfb5c8f8bfef559be4989cedd0621171ac8c382
parentb355f52ed1a3d6a4a684c9d213d786f3f026de2d
re PR target/62120 ([ICE] ADDITIONAL_REGISTER_NAMES for [YZ]MMs, regno>8 should be disable in 32-bit)

Fix PR 62120.

gcc/
2014-09-30  Ilya Tocar  <ilya.tocar@intel.com>

       PR middle-end/62120
       * varasm.c (decode_reg_name_and_count): Check availability for
       registers from ADDITIONAL_REGISTER_NAMES.

testsuite/
2014-09-30  Ilya Tocar  <ilya.tocar@intel.com>

       PR middle-end/62120
       * gcc.target/i386/avx512f-additional-reg-names.c: Use register valid
       in 32-bit mode.
       * gcc.target/i386/pr62120.c: New.

From-SVN: r215729
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-additional-reg-names.c
gcc/testsuite/gcc.target/i386/pr62120.c [new file with mode: 0644]
gcc/varasm.c