Commit 5f595f16 by Richard Sandiford Committed by Richard Sandiford

re PR target/51729 (dspr2-MULT.c and dspr2-MULTU.c fail for MIPS)

gcc/testsuite/
	PR target/51729
	* gcc.target/mips/dspr2-MULT.c: Remove -ffixed-hi -ffixed-lo.
	XFAIL.
	* gcc.target/mips/dspr2-MULTU.c: Likewise.

From-SVN: r182793
parent e3763a5b
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com> 2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
PR target/51729
* gcc.target/mips/dspr2-MULT.c: Remove -ffixed-hi -ffixed-lo.
XFAIL.
* gcc.target/mips/dspr2-MULTU.c: Likewise.
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS. * gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS.
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com> 2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
......
/* Test MIPS32 DSP REV 2 MULT instruction. Tune for a CPU that has /* Test MIPS32 DSP REV 2 MULT instruction. Tune for a CPU that has
pipelined mult. */ pipelined mult. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo -mtune=74kc" } */ /* { dg-options "-mgp32 -mdspr2 -O2 -mtune=74kc" } */
/* See PR target/51729 for the reason behind the XFAILs. */
/* { dg-final { scan-assembler "\tmult\t" } } */ /* { dg-final { scan-assembler "\tmult\t" } } */
/* { dg-final { scan-assembler "ac1" } } */ /* { dg-final { scan-assembler "ac1" { xfail *-*-* } } } */
/* { dg-final { scan-assembler "ac2" } } */ /* { dg-final { scan-assembler "ac2" { xfail *-*-* } } } */
typedef long long a64; typedef long long a64;
......
/* Test MIPS32 DSP REV 2 MULTU instruction. Tune for a CPU that has /* Test MIPS32 DSP REV 2 MULTU instruction. Tune for a CPU that has
pipelined multu. */ pipelined multu. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo -mtune=74kc" } */ /* { dg-options "-mgp32 -mdspr2 -O2 -mtune=74kc" } */
/* See PR target/51729 for the reason behind the XFAILs. */
/* { dg-final { scan-assembler "\tmultu\t" } } */ /* { dg-final { scan-assembler "\tmultu\t" } } */
/* { dg-final { scan-assembler "ac1" } } */ /* { dg-final { scan-assembler "ac1" { xfail *-*-* } } } */
/* { dg-final { scan-assembler "ac2" } } */ /* { dg-final { scan-assembler "ac2" { xfail *-*-* } } } */
typedef unsigned long long a64; typedef unsigned long long a64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment