Commit 8cff583a by Adam Nemet Committed by Adam Nemet

re PR testsuite/38864 (Fixed-point tests under gcc.target/mips are missing the…

re PR testsuite/38864 (Fixed-point tests under gcc.target/mips are missing the fixed_point target check)

	PR testsuite/38864
	* gcc.target/mips/fixed-vector-type.c: Add { target { fixed_point} }
	to dg-do compile.
	* gcc.target/mips/fixed-scalar-type.c: Likewise.
	* gcc.target/mips/dpaq_sa_l_w.c: Likewise.
	* gcc.target/mips/dpsq_sa_l_w.c: Likewise.

From-SVN: r143694
parent 661fe60f
2009-01-26 Adam Nemet <anemet@caviumnetworks.com>
PR testsuite/38864
* gcc.target/mips/fixed-vector-type.c: Add target { fixed_point}
to dg-do compile.
* gcc.target/mips/fixed-scalar-type.c: Likewise.
* gcc.target/mips/dpaq_sa_l_w.c: Likewise.
* gcc.target/mips/dpsq_sa_l_w.c: Likewise.
2009-01-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/38952
......
/* { dg-do compile } */
/* { dg-do compile { target { fixed_point } } } */
/* { dg-options "-O2 -mgp32 -mdsp" } */
/* { dg-final { scan-assembler-times "\tdpaq_sa.l.w\t\\\$ac" 3 } } */
......
/* { dg-do compile } */
/* { dg-do compile { target { fixed_point } } } */
/* { dg-options "-O2 -mgp32 -mdsp" } */
/* { dg-final { scan-assembler-times "\tdpsq_sa.l.w\t\\\$ac" 2 } } */
......
/* Test scalar fixed-point instructions */
/* { dg-do compile } */
/* { dg-do compile { target { fixed_point } } } */
/* { dg-options "-mdspr2 -O2" } */
/* { dg-final { scan-assembler-times "\taddu\t" 10 } } */
/* { dg-final { scan-assembler-times "\tsubu\t" 10 } } */
......
/* Test vector fixed-point instructions */
/* { dg-do compile } */
/* { dg-do compile { target { fixed_point } } } */
/* { dg-options "-mdspr2 -O2" } */
/* { dg-final { scan-assembler-times "\taddq_s.ph\t" 2 } } */
/* { dg-final { scan-assembler-times "\tsubq_s.ph\t" 2 } } */
......
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