mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 09:00:37 +08:00
target-supports.exp (check_effective_target_powerpc_spu): Call check_effective_target_powerpc_altivec_ok.
* lib/target-supports.exp (check_effective_target_powerpc_spu): Call check_effective_target_powerpc_altivec_ok. * gcc.target/powerpc/dfp-dd.c, gcc.target/powerpc/dfp-td.c, gcc.target/powerpc/ppc32-abi-dfp-1.c, gcc.target/powerpc/ppu-intrinsics.c: Require powerpc_fprs. From-SVN: r136378
This commit is contained in:
parent
28734c3906
commit
6130e0f0cf
@ -1,4 +1,13 @@
|
||||
2008-06-04 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_powerpc_spu):
|
||||
Call check_effective_target_powerpc_altivec_ok.
|
||||
* gcc.target/powerpc/dfp-dd.c, gcc.target/powerpc/dfp-td.c,
|
||||
gcc.target/powerpc/ppc32-abi-dfp-1.c,
|
||||
gcc.target/powerpc/ppu-intrinsics.c: Require powerpc_fprs.
|
||||
|
||||
2008-06-04 Xinliang David Li <davidxl@google.com>
|
||||
|
||||
* gcc.dg/cdce1.c: New test.
|
||||
* gcc.dg/cdce2.c: Ditto.
|
||||
* g++.dg/cdce3.C: Ditto.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Test generation of DFP instructions for POWER6. */
|
||||
/* Origin: Janis Johnson <janis187@us.ibm.com> */
|
||||
/* { dg-do compile { target powerpc*-*-linux* } } */
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
|
||||
/* { dg-options "-std=gnu99 -mcpu=power6" } */
|
||||
|
||||
/* { dg-final { scan-assembler "dadd" } } */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Test generation of DFP instructions for POWER6. */
|
||||
/* Origin: Janis Johnson <janis187@us.ibm.com> */
|
||||
/* { dg-do compile { target powerpc*-*-linux* } } */
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
|
||||
/* { dg-options "-std=gnu99 -mcpu=power6" } */
|
||||
|
||||
/* { dg-final { scan-assembler "daddq" } } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run { target { powerpc*-*-* && { ilp32 && dfprt } } } } */
|
||||
/* { dg-do run { target { powerpc_fprs && { ilp32 && dfprt } } } } */
|
||||
/* { dg-options "-std=gnu99 -O2 -fno-strict-aliasing" } */
|
||||
|
||||
/* Testcase to check for ABI compliance of parameter passing
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do link { target *-*-linux* } } */
|
||||
/* { dg-do link { target { *-*-linux* && powerpc_fprs } } } */
|
||||
/* { dg-options "-W -Wall -mcpu=cell" } */
|
||||
/* Test some PPU intrinsics from <ppu_intrinsics.h>. */
|
||||
|
||||
|
@ -1292,7 +1292,11 @@ proc check_effective_target_powerpc_altivec_ok { } {
|
||||
# Return 1 if this is a PowerPC target that supports SPU.
|
||||
|
||||
proc check_effective_target_powerpc_spu { } {
|
||||
return [istarget powerpc*-*-linux*]
|
||||
if [istarget powerpc*-*-linux*] {
|
||||
return [check_effective_target_powerpc_altivec_ok]
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
# Return 1 if this is a PowerPC target with SPE enabled.
|
||||
|
Loading…
x
Reference in New Issue
Block a user