r225540 - in /trunk/gcc/testsuite: ChangeLog gc...
abennett@gcc.gnu.org
abennett@gcc.gnu.org
Wed Jul 8 09:40:00 GMT 2015
Author: abennett
Date: Wed Jul 8 09:40:35 2015
New Revision: 225540
URL: https://gcc.gnu.org/viewcvs?rev=225540&root=gcc&view=rev
Log:
MIPS: Fix failing branch range checks for micromips.
The current branch range tests assume that the MIPS branch instructions
have a 16 bit branch offset which is shifted by 2. Unfortunately for microMIPS
this offset is shifted by 1 which reduces the branch range and caused the
branch-*.c tests to fail.
testsuite/
* gcc.target/mips/branch-2.c: Change NOMIPS16 to NOCOMPRESSION.
* gcc.target/mips/branch-3.c: Ditto
* gcc.target/mips/branch-4.c: Ditto.
* gcc.target/mips/branch-5.c: Ditto.
* gcc.target/mips/branch-6.c: Ditto.
* gcc.target/mips/branch-7.c: Ditto.
* gcc.target/mips/branch-8.c: Ditto.
* gcc.target/mips/branch-9.c: Ditto.
* gcc.target/mips/branch-10.c: Ditto.
* gcc.target/mips/branch-11.c: Ditto.
* gcc.target/mips/branch-12.c: Ditto.
* gcc.target/mips/branch-13.c: Ditto.
* gcc.target/mips/umips-branch-5.c: New file.
* gcc.target/mips/umips-branch-6.c: New file.
* gcc.target/mips/umips-branch-7.c: New file.
* gcc.target/mips/umips-branch-8.c: New file.
* gcc.target/mips/umips-branch-9.c: New file.
* gcc.target/mips/umips-branch-10.c: New file.
* gcc.target/mips/umips-branch-11.c: New file.
* gcc.target/mips/umips-branch-12.c: New file.
* gcc.target/mips/umips-branch-13.c: New file.
* gcc.target/mips/umips-branch-14.c: New file.
* gcc.target/mips/umips-branch-15.c: New file.
* gcc.target/mips/umips-branch-16.c: New file.
* gcc.target/mips/branch-helper.h (OCCUPY_0x10000): New define.
(OCCUPY_0xfffc): New define.
Added:
trunk/gcc/testsuite/gcc.target/mips/umips-branch-10.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-11.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-12.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-13.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-14.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-15.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-16.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-5.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-6.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-7.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-8.c
trunk/gcc/testsuite/gcc.target/mips/umips-branch-9.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/mips/branch-10.c
trunk/gcc/testsuite/gcc.target/mips/branch-11.c
trunk/gcc/testsuite/gcc.target/mips/branch-12.c
trunk/gcc/testsuite/gcc.target/mips/branch-13.c
trunk/gcc/testsuite/gcc.target/mips/branch-2.c
trunk/gcc/testsuite/gcc.target/mips/branch-3.c
trunk/gcc/testsuite/gcc.target/mips/branch-4.c
trunk/gcc/testsuite/gcc.target/mips/branch-5.c
trunk/gcc/testsuite/gcc.target/mips/branch-6.c
trunk/gcc/testsuite/gcc.target/mips/branch-7.c
trunk/gcc/testsuite/gcc.target/mips/branch-8.c
trunk/gcc/testsuite/gcc.target/mips/branch-9.c
trunk/gcc/testsuite/gcc.target/mips/branch-helper.h
More information about the Gcc-cvs
mailing list