MIPS16/GCC: Emit bounds checking as RTL in `casesi'
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 14 Jun 2017 23:26:40 +0000 (23:26 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Wed, 14 Jun 2017 23:26:40 +0000 (23:26 +0000)
commit3466430f382b6adc2363721056b9abde3acd790a
treee6cdacfffb0e4b8b67ce1c67ba25a40f0e722b26
parentcdd17d6e9956853892e4c097cc33afc2156df69e
MIPS16/GCC: Emit bounds checking as RTL in `casesi'

gcc/
* config/mips/mips.md (MIPS16_T_REGNUM): Remove constant.
(casesi): Emit bounds checking as RTL.
(casesi_internal_mips16_<mode>): Remove bounds checking.

gcc/testsuite/
* gcc.target/mips/data-sym-jump.c: Adjust for whitespace changes.
* gcc.target/mips/pr51513-1.c: New test.
* gcc.target/mips/pr51513-2.c: New test.

From-SVN: r249207
gcc/ChangeLog
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/data-sym-jump.c
gcc/testsuite/gcc.target/mips/pr51513-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/pr51513-2.c [new file with mode: 0644]