re PR target/51931 (No support for MIPS16 long branches)
gcc/testsuite/ PR target/51931 * gcc.c-torture/compile/20001226-1.c: Add nomips16 attribute. * g++.dg/opt/longbranch1.C: Likewise. From-SVN: r183389
This commit is contained in:
parent
14f85436a3
commit
643e447b3e
@ -1,3 +1,9 @@
|
|||||||
|
2012-01-22 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
|
PR target/51931
|
||||||
|
* gcc.c-torture/compile/20001226-1.c: Add nomips16 attribute.
|
||||||
|
* g++.dg/opt/longbranch1.C: Likewise.
|
||||||
|
|
||||||
2012-01-22 Richard Sandiford <rdsandiford@googlemail.com>
|
2012-01-22 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* g++.old-deja/g++.pt/ptrmem6.C: xfail a test for ARM and MIPS
|
* g++.old-deja/g++.pt/ptrmem6.C: xfail a test for ARM and MIPS
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
|
muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
|
||||||
muchcode; muchcode; muchcode; muchcode; muchcode; muchcode
|
muchcode; muchcode; muchcode; muchcode; muchcode; muchcode
|
||||||
|
|
||||||
|
#ifdef __mips
|
||||||
|
/* See PR 51931. */
|
||||||
|
__attribute__((nomips16))
|
||||||
|
#endif
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,10 @@
|
|||||||
#define C1024(x,y) C256(x,y) C256(x+16,y) C256(x+32,y) C256(x+48,y)
|
#define C1024(x,y) C256(x,y) C256(x+16,y) C256(x+32,y) C256(x+48,y)
|
||||||
#define C4096(x,y) C1024(x,y) C1024(x,y+16) C1024(x,y+32) C1024(x,y+48)
|
#define C4096(x,y) C1024(x,y) C1024(x,y+16) C1024(x,y+32) C1024(x,y+48)
|
||||||
|
|
||||||
|
#ifdef __mips
|
||||||
|
/* See PR 51931. */
|
||||||
|
__attribute__((nomips16))
|
||||||
|
#endif
|
||||||
unsigned foo(int x[64], int y[64])
|
unsigned foo(int x[64], int y[64])
|
||||||
{
|
{
|
||||||
C4096(x,y);
|
C4096(x,y);
|
||||||
|
Loading…
Reference in New Issue
Block a user