From 1aa696678e45e63f8d59479d593f80f6f0db6b9d Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 30 Jun 2020 20:11:52 -0400 Subject: [PATCH] testsuite: remove SPE tests. SPE support was removed from the "rs6000" port. This patch removes some left-over SPE-specific testcases from the gcc.target/powerpc directory. gcc/testsuite/ChangeLog 2020-06-30 David Edelsohn * gcc.target/powerpc/ppc-spe.c: Delete. * gcc.target/powerpc/ppc-spe64-1.c: Delete. * gcc.target/powerpc/pr60102.c: Delete. * gcc.target/powerpc/pr60158.c: Delete. * gcc.target/powerpc/pr60735.c: Delete. * gcc.target/powerpc/pr78458.c: Delete. * gcc.target/powerpc/pr80343.c: Delete. * gcc.target/powerpc/spe-evmerge.c: Delete. * gcc.target/powerpc/spe-small-data-1.c: Delete. * gcc.target/powerpc/spe-small-data-2.c: Delete. * gcc.target/powerpc/spe-unwind-1.c: Delete. * gcc.target/powerpc/spe-vector-memcpy.c: Delete. * gcc.target/powerpc/spe-vector-memset.c: Delete. * gcc.target/powerpc/spe1.c: Delete. --- gcc/testsuite/gcc.target/powerpc/ppc-spe.c | 663 ------------------ .../gcc.target/powerpc/ppc-spe64-1.c | 7 - gcc/testsuite/gcc.target/powerpc/pr60102.c | 11 - gcc/testsuite/gcc.target/powerpc/pr60158.c | 89 --- gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 - gcc/testsuite/gcc.target/powerpc/pr78458.c | 15 - gcc/testsuite/gcc.target/powerpc/pr80343.c | 50 -- .../gcc.target/powerpc/spe-evmerge.c | 71 -- .../gcc.target/powerpc/spe-small-data-1.c | 14 - .../gcc.target/powerpc/spe-small-data-2.c | 13 - .../gcc.target/powerpc/spe-unwind-1.c | 116 --- .../gcc.target/powerpc/spe-vector-memcpy.c | 10 - .../gcc.target/powerpc/spe-vector-memset.c | 13 - gcc/testsuite/gcc.target/powerpc/spe1.c | 15 - 14 files changed, 1098 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/powerpc/ppc-spe.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/ppc-spe64-1.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr60102.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr60158.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr78458.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr80343.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-evmerge.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-small-data-1.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-unwind-1.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-vector-memcpy.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe-vector-memset.c delete mode 100644 gcc/testsuite/gcc.target/powerpc/spe1.c diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-spe.c b/gcc/testsuite/gcc.target/powerpc/ppc-spe.c deleted file mode 100644 index 92ace1cf029..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/ppc-spe.c +++ /dev/null @@ -1,663 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ - -/* (Test with -O0 so we don't optimize any of them away). */ - -#include - -/* Test PowerPC SPE extensions. */ - -#define vector __attribute__((vector_size(8))) - -vector int a, b, c, *ap; -vector float f, g, h; -unsigned int *uip; -unsigned short *usp; -int i, j, *ip; -uint64_t ull; -int64_t sll; -unsigned ui; -float fl; -uint16_t u16; -int16_t s16; - -/* These are the only documented/supported accessor functions for the - SPE builtins. */ -void -test_api () -{ - c = __ev_addw (a, b); - c = __ev_addiw (a, 8); - c = __ev_subfw (a, b); - c = __ev_subifw (8, a); - c = __ev_abs (a); - c = __ev_neg (a); - c = __ev_extsb (a); - c = __ev_extsh (a); - c = __ev_and (a, b); - c = __ev_or (a, b); - c = __ev_xor (a, b); - c = __ev_nand (a, b); - c = __ev_nor (a, b); - c = __ev_eqv (a, b); - c = __ev_andc (a, b); - c = __ev_orc (a, b); - c = __ev_rlw (a, b); - c = __ev_rlwi (a, 8); - c = __ev_slw (a, b); - c = __ev_slwi (a, 8); - c = __ev_srws (a, b); - c = __ev_srwu (a, b); - c = __ev_srwis (a, 8); - c = __ev_srwiu (a, 8); - c = __ev_cntlzw (a); - c = __ev_cntlsw (a); - c = __ev_rndw (a); - c = __ev_mergehi (a, b); - c = __ev_mergelo (a, b); - c = __ev_mergelohi (a, b); - c = __ev_mergehilo (a, b); - c = __ev_splati (5); - c = __ev_splatfi (6); - c = __ev_divws (a, b); - c = __ev_divwu (a, b); - c = __ev_mra (a); - i = __brinc (5, 6); - - /* Loads. */ - c = __ev_lddx (ap, i); - c = __ev_ldwx (ap, i); - c = __ev_ldhx (ap, i); - - c = __ev_lwhex (uip, i); - c = __ev_lwhoux (uip, i); - c = __ev_lwhosx (uip, i); - c = __ev_lwwsplatx (uip, i); - c = __ev_lwhsplatx (uip, i); - - c = __ev_lhhesplatx (usp, i); - c = __ev_lhhousplatx (usp, i); - c = __ev_lhhossplatx (usp, i); - - c = __ev_ldd (ap, 5); - c = __ev_ldw (ap, 6); - c = __ev_ldh (ap, 7); - c = __ev_lwhe (uip, 6); - c = __ev_lwhou (uip, 6); - c = __ev_lwhos (uip, 7); - c = __ev_lwwsplat (uip, 7); - c = __ev_lwhsplat (uip, 7); - c = __ev_lhhesplat (usp, 7); - c = __ev_lhhousplat (usp, 7); - c = __ev_lhhossplat (usp, 7); - - /* Stores. */ - __ev_stddx (a, ap, 9); - __ev_stdwx (a, ap, 9); - __ev_stdhx (a, ap, 9); - __ev_stwwex (a, uip, 9); - __ev_stwwox (a, uip, 9); - __ev_stwhex (a, uip, 9); - __ev_stwhox (a, uip, 9); - __ev_stdd (a, ap, 9); - __ev_stdw (a, ap, 9); - __ev_stdh (a, ap, 9); - __ev_stwwe (a, uip, 9); - __ev_stwwo (a, uip, 9); - __ev_stwhe (a, uip, 9); - __ev_stwho (a, uip, 9); - - /* Fixed point complex. */ - c = __ev_mhossf (a, b); - c = __ev_mhosmf (a, b); - c = __ev_mhosmi (a, b); - c = __ev_mhoumi (a, b); - c = __ev_mhessf (a, b); - c = __ev_mhesmf (a, b); - c = __ev_mhesmi (a, b); - c = __ev_mheumi (a, b); - c = __ev_mhossfa (a, b); - c = __ev_mhosmfa (a, b); - c = __ev_mhosmia (a, b); - c = __ev_mhoumia (a, b); - c = __ev_mhessfa (a, b); - c = __ev_mhesmfa (a, b); - c = __ev_mhesmia (a, b); - c = __ev_mheumia (a, b); - - c = __ev_mhoumf (a, b); - c = __ev_mheumf (a, b); - c = __ev_mhoumfa (a, b); - c = __ev_mheumfa (a, b); - - c = __ev_mhossfaaw (a, b); - c = __ev_mhossiaaw (a, b); - c = __ev_mhosmfaaw (a, b); - c = __ev_mhosmiaaw (a, b); - c = __ev_mhousiaaw (a, b); - c = __ev_mhoumiaaw (a, b); - c = __ev_mhessfaaw (a, b); - c = __ev_mhessiaaw (a, b); - c = __ev_mhesmfaaw (a, b); - c = __ev_mhesmiaaw (a, b); - c = __ev_mheusiaaw (a, b); - c = __ev_mheumiaaw (a, b); - - c = __ev_mhousfaaw (a, b); - c = __ev_mhoumfaaw (a, b); - c = __ev_mheusfaaw (a, b); - c = __ev_mheumfaaw (a, b); - - c = __ev_mhossfanw (a, b); - c = __ev_mhossianw (a, b); - c = __ev_mhosmfanw (a, b); - c = __ev_mhosmianw (a, b); - c = __ev_mhousianw (a, b); - c = __ev_mhoumianw (a, b); - c = __ev_mhessfanw (a, b); - c = __ev_mhessianw (a, b); - c = __ev_mhesmfanw (a, b); - c = __ev_mhesmianw (a, b); - c = __ev_mheusianw (a, b); - c = __ev_mheumianw (a, b); - - c = __ev_mhousfanw (a, b); - c = __ev_mhoumfanw (a, b); - c = __ev_mheusfanw (a, b); - c = __ev_mheumfanw (a, b); - - c = __ev_mhogsmfaa (a, b); - c = __ev_mhogsmiaa (a, b); - c = __ev_mhogumiaa (a, b); - c = __ev_mhegsmfaa (a, b); - c = __ev_mhegsmiaa (a, b); - c = __ev_mhegumiaa (a, b); - - c = __ev_mhogumfaa (a, b); - c = __ev_mhegumfaa (a, b); - - c = __ev_mhogsmfan (a, b); - c = __ev_mhogsmian (a, b); - c = __ev_mhogumian (a, b); - c = __ev_mhegsmfan (a, b); - c = __ev_mhegsmian (a, b); - c = __ev_mhegumian (a, b); - - c = __ev_mhogumfan (a, b); - c = __ev_mhegumfan (a, b); - - c = __ev_mwhssf (a, b); - c = __ev_mwhsmf (a, b); - c = __ev_mwhsmi (a, b); - c = __ev_mwhumi (a, b); - c = __ev_mwhssfa (a, b); - c = __ev_mwhsmfa (a, b); - c = __ev_mwhsmia (a, b); - c = __ev_mwhumia (a, b); - - c = __ev_mwhumf (a, b); - c = __ev_mwhumfa (a, b); - - c = __ev_mwlumi (a, b); - c = __ev_mwlumia (a, b); - c = __ev_mwlumiaaw (a, b); - - c = __ev_mwlssiaaw (a, b); - c = __ev_mwlsmiaaw (a, b); - c = __ev_mwlusiaaw (a, b); - c = __ev_mwlusiaaw (a, b); - - c = __ev_mwlssianw (a, b); - c = __ev_mwlsmianw (a, b); - c = __ev_mwlusianw (a, b); - c = __ev_mwlumianw (a, b); - - c = __ev_mwssf (a, b); - c = __ev_mwsmf (a, b); - c = __ev_mwsmi (a, b); - c = __ev_mwumi (a, b); - c = __ev_mwssfa (a, b); - c = __ev_mwsmfa (a, b); - c = __ev_mwsmia (a, b); - c = __ev_mwumia (a, b); - c = __ev_mwumf (a, b); - c = __ev_mwumfa (a, b); - c = __ev_mwssfaa (a, b); - c = __ev_mwsmfaa (a, b); - c = __ev_mwsmiaa (a, b); - c = __ev_mwumiaa (a, b); - c = __ev_mwumfaa (a, b); - c = __ev_mwssfan (a, b); - c = __ev_mwsmfan (a, b); - c = __ev_mwsmian (a, b); - c = __ev_mwumian (a, b); - c = __ev_mwumfan (a, b); - c = __ev_addssiaaw (a); - c = __ev_addsmiaaw (a); - c = __ev_addusiaaw (a); - c = __ev_addumiaaw (a); - c = __ev_addusfaaw (a); - c = __ev_addumfaaw (a); - c = __ev_addsmfaaw (a); - c = __ev_addssfaaw (a); - c = __ev_subfssiaaw (a); - c = __ev_subfsmiaaw (a); - c = __ev_subfusiaaw (a); - c = __ev_subfumiaaw (a); - c = __ev_subfusfaaw (a); - c = __ev_subfumfaaw (a); - c = __ev_subfsmfaaw (a); - c = __ev_subfssfaaw (a); - - /* Floating point SIMD instructions. */ - c = __ev_fsabs (a); - c = __ev_fsnabs (a); - c = __ev_fsneg (a); - c = __ev_fsadd (a, b); - c = __ev_fssub (a, b); - c = __ev_fsmul (a, b); - c = __ev_fsdiv (a, b); - c = __ev_fscfui (a); - c = __ev_fscfsi (a); - c = __ev_fscfuf (a); - c = __ev_fscfsf (a); - c = __ev_fsctui (a); - c = __ev_fsctsi (a); - c = __ev_fsctuf (a); - c = __ev_fsctsf (a); - c = __ev_fsctuiz (a); - c = __ev_fsctsiz (a); - - /* Non supported sythetic instructions made from two instructions. */ - - c = __ev_mwhssfaaw (a, b); - c = __ev_mwhssiaaw (a, b); - c = __ev_mwhsmfaaw (a, b); - c = __ev_mwhsmiaaw (a, b); - c = __ev_mwhusiaaw (a, b); - c = __ev_mwhumiaaw (a, b); - c = __ev_mwhusfaaw (a, b); - c = __ev_mwhumfaaw (a, b); - c = __ev_mwhssfanw (a, b); - c = __ev_mwhssianw (a, b); - c = __ev_mwhsmfanw (a, b); - c = __ev_mwhsmianw (a, b); - c = __ev_mwhusianw (a, b); - c = __ev_mwhumianw (a, b); - c = __ev_mwhusfanw (a, b); - c = __ev_mwhumfanw (a, b); - - c = __ev_mwhgssfaa (a, b); - c = __ev_mwhgsmfaa (a, b); - c = __ev_mwhgsmiaa (a, b); - c = __ev_mwhgumiaa (a, b); - c = __ev_mwhgssfan (a, b); - c = __ev_mwhgsmfan (a, b); - c = __ev_mwhgsmian (a, b); - c = __ev_mwhgumian (a, b); - - /* Creating, insertion, and extraction. */ - - a = __ev_create_u64 ((uint64_t) 55); - a = __ev_create_s64 ((int64_t) 66); - a = __ev_create_fs (3.14F, 2.18F); - a = __ev_create_u32 ((uint32_t) 5, (uint32_t) i); - a = __ev_create_s32 ((int32_t) 5, (int32_t) 6); - a = __ev_create_u16 ((uint16_t) 6, (uint16_t) 6, (uint16_t) 7, (uint16_t) 1); - a = __ev_create_s16 ((int16_t) 6, (int16_t) 6, (int16_t) 7, (int16_t) 9); - a = __ev_create_sfix32_fs (3.0F, 2.0F); - a = __ev_create_ufix32_fs (3.0F, 2.0F); - a = __ev_create_ufix32_u32 (3U, 5U); - a = __ev_create_sfix32_s32 (6, 9); - ull = __ev_convert_u64 (a); - sll = __ev_convert_s64 (a); - i = __ev_get_upper_u32 (a); - ui = __ev_get_lower_u32 (a); - i = __ev_get_upper_s32 (a); - i = __ev_get_lower_s32 (a); - fl = __ev_get_upper_fs (a); - fl = __ev_get_lower_fs (a); - u16 = __ev_get_u16 (a, 5U); - s16 = __ev_get_s16 (a, 5U); - ui = __ev_get_upper_ufix32_u32 (a); - ui = __ev_get_lower_ufix32_u32 (a); - i = __ev_get_upper_sfix32_s32 (a); - i = __ev_get_lower_sfix32_s32 (a); - fl = __ev_get_upper_sfix32_fs (a); - fl = __ev_get_lower_sfix32_fs (a); - fl = __ev_get_upper_ufix32_fs (a); - fl = __ev_get_lower_ufix32_fs (a); - a = __ev_set_upper_u32 (a, 5U); - a = __ev_set_lower_u32 (a, 5U); - a = __ev_set_upper_s32 (a, 5U); - a = __ev_set_lower_s32 (a, 6U); - a = __ev_set_upper_fs (a, 6U); - a = __ev_set_lower_fs (a, fl); - a = __ev_set_upper_ufix32_u32 (a, 5U); - a = __ev_set_lower_ufix32_u32 (a, 5U); - a = __ev_set_upper_sfix32_s32 (a, 5); - a = __ev_set_lower_sfix32_s32 (a, 5); - a = __ev_set_upper_sfix32_fs (a, fl); - a = __ev_set_lower_sfix32_fs (a, fl); - a = __ev_set_upper_ufix32_fs (a, fl); - a = __ev_set_lower_ufix32_fs (a, fl); - a = __ev_set_acc_u64 ((uint64_t) 640); - a = __ev_set_acc_s64 ((int64_t) 460); - a = __ev_set_acc_vec64 (b); - a = __ev_set_u32 (a, 5, 6); - a = __ev_set_s32 (a, 5, 6); - a = __ev_set_fs (a, fl, 5); - a = __ev_set_u16 (a, 5U, 3); - a = __ev_set_s16 (a, 5, 6); - a = __ev_set_ufix32_u32 (a, 5U, 6U); - a = __ev_set_sfix32_s32 (a, 3, 6); - a = __ev_set_ufix32_fs (a, fl, 5); - a = __ev_set_sfix32_fs (a, fl, 5); - ui = __ev_get_u32 (a, 1); - i = __ev_get_s32 (a, 0); - fl = __ev_get_fs (a, 1); - u16 = __ev_get_u16 (a, 2); - s16 = __ev_get_s16 (a, 2); - ui = __ev_get_ufix32_u32 (a, 1); - i = __ev_get_sfix32_s32 (a, 0); - fl = __ev_get_ufix32_fs (a, 1); - fl = __ev_get_sfix32_fs (a, 0); - - /* Predicates. */ - i = __ev_any_gts (a, b); - i = __ev_all_gts (a, b); - i = __ev_upper_gts (a, b); - i = __ev_lower_gts (a, b); - a = __ev_select_gts (a, b, c, c); - - i = __ev_any_gtu (a, b); - i = __ev_all_gtu (a, b); - i = __ev_upper_gtu (a, b); - i = __ev_lower_gtu (a, b); - a = __ev_select_gtu (a, b, c, c); - - i = __ev_any_lts (a, b); - i = __ev_all_lts (a, b); - i = __ev_upper_lts (a, b); - i = __ev_lower_lts (a, b); - a = __ev_select_lts (a, b, c, c); - - i = __ev_any_ltu (a, b); - i = __ev_all_ltu (a, b); - i = __ev_upper_ltu (a, b); - i = __ev_lower_ltu (a, b); - a = __ev_select_ltu (a, b, c, c); - - i = __ev_any_eq (a, b); - i = __ev_all_eq (a, b); - i = __ev_upper_eq (a, b); - i = __ev_lower_eq (a, b); - a = __ev_select_eq (a, b, c, c); - - i = __ev_any_fs_gt (a, b); - i = __ev_all_fs_gt (a, b); - i = __ev_upper_fs_gt (a, b); - i = __ev_lower_fs_gt (a, b); - a = __ev_select_fs_gt (a, b, c, c); - - i = __ev_any_fs_lt (a, b); - i = __ev_all_fs_lt (a, b); - i = __ev_upper_fs_lt (a, b); - i = __ev_lower_fs_lt (a, b); - a = __ev_select_fs_lt (a, b, c, b); - - i = __ev_any_fs_eq (a, b); - i = __ev_all_fs_eq (a, b); - i = __ev_upper_fs_eq (a, b); - i = __ev_lower_fs_eq (a, b); - a = __ev_select_fs_eq (a, b, c, c); - - i = __ev_any_fs_tst_gt (a, b); - i = __ev_all_fs_tst_gt (a, b); - i = __ev_upper_fs_tst_gt (a, b); - i = __ev_lower_fs_tst_gt (a, b); - a = __ev_select_fs_tst_gt (a, b, c, c); - - i = __ev_any_fs_tst_lt (a, b); - i = __ev_all_fs_tst_lt (a, b); - i = __ev_upper_fs_tst_lt (a, b); - i = __ev_lower_fs_tst_lt (a, b); - a = __ev_select_fs_tst_lt (a, b, c, c); - - i = __ev_any_fs_tst_eq (a, b); - i = __ev_all_fs_tst_eq (a, b); - i = __ev_upper_fs_tst_eq (a, b); - i = __ev_lower_fs_tst_eq (a, b); - a = __ev_select_fs_tst_eq (a, b, c, c); -} - -int -main (void) -{ - /* Generic binary operations. */ - c = __builtin_spe_evaddw (a, b); - c = __builtin_spe_evand (a, b); - c = __builtin_spe_evandc (a, b); - c = __builtin_spe_evdivws (a, b); - c = __builtin_spe_evdivwu (a, b); - c = __builtin_spe_eveqv (a, b); - h = __builtin_spe_evfsadd (f, g); - h = __builtin_spe_evfsdiv (f, g); - h = __builtin_spe_evfsmul (f, g); - h = __builtin_spe_evfssub (f, g); - c = __builtin_spe_evlddx (ap, j); - c = __builtin_spe_evldhx (ap, j); - c = __builtin_spe_evldwx (ap, j); - c = __builtin_spe_evlhhesplatx (usp, j); - c = __builtin_spe_evlhhossplatx (usp, j); - c = __builtin_spe_evlhhousplatx (usp, j); - c = __builtin_spe_evlwhex (uip, j); - c = __builtin_spe_evlwhosx (uip, j); - c = __builtin_spe_evlwhoux (uip, j); - c = __builtin_spe_evlwhsplatx (uip, j); - c = __builtin_spe_evlwwsplatx (uip, j); - c = __builtin_spe_evmergehi (a, b); - c = __builtin_spe_evmergehilo (a, b); - c = __builtin_spe_evmergelo (a, b); - c = __builtin_spe_evmergelohi (a, b); - c = __builtin_spe_evmhegsmfaa (a, b); - c = __builtin_spe_evmhegsmfan (a, b); - c = __builtin_spe_evmhegsmiaa (a, b); - c = __builtin_spe_evmhegsmian (a, b); - c = __builtin_spe_evmhegumiaa (a, b); - c = __builtin_spe_evmhegumian (a, b); - c = __builtin_spe_evmhesmf (a, b); - c = __builtin_spe_evmhesmfa (a, b); - c = __builtin_spe_evmhesmfaaw (a, b); - c = __builtin_spe_evmhesmfanw (a, b); - c = __builtin_spe_evmhesmi (a, b); - c = __builtin_spe_evmhesmia (a, b); - c = __builtin_spe_evmhesmiaaw (a, b); - c = __builtin_spe_evmhesmianw (a, b); - c = __builtin_spe_evmhessf (a, b); - c = __builtin_spe_evmhessfa (a, b); - c = __builtin_spe_evmhessfaaw (a, b); - c = __builtin_spe_evmhessfanw (a, b); - c = __builtin_spe_evmhessiaaw (a, b); - c = __builtin_spe_evmhessianw (a, b); - c = __builtin_spe_evmheumi (a, b); - c = __builtin_spe_evmheumia (a, b); - c = __builtin_spe_evmheumiaaw (a, b); - c = __builtin_spe_evmheumianw (a, b); - c = __builtin_spe_evmheusiaaw (a, b); - c = __builtin_spe_evmheusianw (a, b); - c = __builtin_spe_evmhogsmfaa (a, b); - c = __builtin_spe_evmhogsmfan (a, b); - c = __builtin_spe_evmhogsmiaa (a, b); - c = __builtin_spe_evmhogsmian (a, b); - c = __builtin_spe_evmhogumiaa (a, b); - c = __builtin_spe_evmhogumian (a, b); - c = __builtin_spe_evmhosmf (a, b); - c = __builtin_spe_evmhosmfa (a, b); - c = __builtin_spe_evmhosmfaaw (a, b); - c = __builtin_spe_evmhosmfanw (a, b); - c = __builtin_spe_evmhosmi (a, b); - c = __builtin_spe_evmhosmia (a, b); - c = __builtin_spe_evmhosmiaaw (a, b); - c = __builtin_spe_evmhosmianw (a, b); - c = __builtin_spe_evmhossf (a, b); - c = __builtin_spe_evmhossfa (a, b); - c = __builtin_spe_evmhossfaaw (a, b); - c = __builtin_spe_evmhossfanw (a, b); - c = __builtin_spe_evmhossiaaw (a, b); - c = __builtin_spe_evmhossianw (a, b); - c = __builtin_spe_evmhoumi (a, b); - c = __builtin_spe_evmhoumia (a, b); - c = __builtin_spe_evmhoumiaaw (a, b); - c = __builtin_spe_evmhoumianw (a, b); - c = __builtin_spe_evmhousiaaw (a, b); - c = __builtin_spe_evmhousianw (a, b); - c = __builtin_spe_evmwhsmf (a, b); - c = __builtin_spe_evmwhsmfa (a, b); - c = __builtin_spe_evmwhsmi (a, b); - c = __builtin_spe_evmwhsmia (a, b); - c = __builtin_spe_evmwhssf (a, b); - c = __builtin_spe_evmwhssfa (a, b); - c = __builtin_spe_evmwhumi (a, b); - c = __builtin_spe_evmwhumia (a, b); - c = __builtin_spe_evmwlsmiaaw (a, b); - c = __builtin_spe_evmwlsmianw (a, b); - c = __builtin_spe_evmwlssiaaw (a, b); - c = __builtin_spe_evmwlssianw (a, b); - c = __builtin_spe_evmwlumi (a, b); - c = __builtin_spe_evmwlumia (a, b); - c = __builtin_spe_evmwlumiaaw (a, b); - c = __builtin_spe_evmwlumianw (a, b); - c = __builtin_spe_evmwlusiaaw (a, b); - c = __builtin_spe_evmwlusianw (a, b); - c = __builtin_spe_evmwsmf (a, b); - c = __builtin_spe_evmwsmfa (a, b); - c = __builtin_spe_evmwsmfaa (a, b); - c = __builtin_spe_evmwsmfan (a, b); - c = __builtin_spe_evmwsmi (a, b); - c = __builtin_spe_evmwsmia (a, b); - c = __builtin_spe_evmwsmiaa (a, b); - c = __builtin_spe_evmwsmian (a, b); - c = __builtin_spe_evmwssf (a, b); - c = __builtin_spe_evmwssfa (a, b); - c = __builtin_spe_evmwssfaa (a, b); - c = __builtin_spe_evmwssfan (a, b); - c = __builtin_spe_evmwumi (a, b); - c = __builtin_spe_evmwumia (a, b); - c = __builtin_spe_evmwumiaa (a, b); - c = __builtin_spe_evmwumian (a, b); - c = __builtin_spe_evnand (a, b); - c = __builtin_spe_evnor (a, b); - c = __builtin_spe_evor (a, b); - c = __builtin_spe_evorc (a, b); - c = __builtin_spe_evrlw (a, b); - c = __builtin_spe_evslw (a, b); - c = __builtin_spe_evsrws (a, b); - c = __builtin_spe_evsrwu (a, b); - c = __builtin_spe_evsubfw (a, b); - c = __builtin_spe_evxor (a, b); - - c = __builtin_spe_evmwhssfaa (a, b); - c = __builtin_spe_evmwhssmaa (a, b); - c = __builtin_spe_evmwhsmfaa (a, b); - c = __builtin_spe_evmwhsmiaa (a, b); - c = __builtin_spe_evmwhusiaa (a, b); - c = __builtin_spe_evmwhumiaa (a, b); - c = __builtin_spe_evmwhssfan (a, b); - c = __builtin_spe_evmwhssian (a, b); - c = __builtin_spe_evmwhsmfan (a, b); - c = __builtin_spe_evmwhsmian (a, b); - c = __builtin_spe_evmwhusian (a, b); - c = __builtin_spe_evmwhumian (a, b); - c = __builtin_spe_evmwhgssfaa (a, b); - c = __builtin_spe_evmwhgsmfaa (a, b); - c = __builtin_spe_evmwhgsmiaa (a, b); - c = __builtin_spe_evmwhgumiaa (a, b); - c = __builtin_spe_evmwhgssfan (a, b); - c = __builtin_spe_evmwhgsmfan (a, b); - c = __builtin_spe_evmwhgsmian (a, b); - c = __builtin_spe_evmwhgumian (a, b); - i = __builtin_spe_brinc (i, j); - - /* Generic unary operations. */ - a = __builtin_spe_evabs (b); - a = __builtin_spe_evaddsmiaaw (b); - a = __builtin_spe_evaddssiaaw (b); - a = __builtin_spe_evaddumiaaw (b); - a = __builtin_spe_evaddusiaaw (b); - a = __builtin_spe_evcntlsw (b); - a = __builtin_spe_evcntlzw (b); - a = __builtin_spe_evextsb (b); - a = __builtin_spe_evextsh (b); - f = __builtin_spe_evfsabs (g); - f = __builtin_spe_evfscfsf (g); - a = __builtin_spe_evfscfsi (g); - f = __builtin_spe_evfscfuf (g); - f = __builtin_spe_evfscfui (a); - f = __builtin_spe_evfsctsf (g); - a = __builtin_spe_evfsctsi (g); - a = __builtin_spe_evfsctsiz (g); - f = __builtin_spe_evfsctuf (g); - a = __builtin_spe_evfsctui (g); - a = __builtin_spe_evfsctuiz (g); - f = __builtin_spe_evfsnabs (g); - f = __builtin_spe_evfsneg (g); - a = __builtin_spe_evmra (b); - a = __builtin_spe_evneg (b); - a = __builtin_spe_evrndw (b); - a = __builtin_spe_evsubfsmiaaw (b); - a = __builtin_spe_evsubfssiaaw (b); - a = __builtin_spe_evsubfumiaaw (b); - a = __builtin_spe_evsubfusiaaw (b); - - /* Unary operations of the form: X = foo (5_bit_signed_immediate). */ - a = __builtin_spe_evsplatfi (5); - a = __builtin_spe_evsplati (5); - - /* Binary operations of the form: X = foo(Y, 5_bit_immediate). */ - a = __builtin_spe_evaddiw (b, 13); - a = __builtin_spe_evldd (ap, 13); - a = __builtin_spe_evldh (ap, 13); - a = __builtin_spe_evldw (ap, 13); - a = __builtin_spe_evlhhesplat (usp, 13); - a = __builtin_spe_evlhhossplat (usp, 13); - a = __builtin_spe_evlhhousplat (usp, 13); - a = __builtin_spe_evlwhe (uip, 13); - a = __builtin_spe_evlwhos (uip, 13); - a = __builtin_spe_evlwhou (uip, 13); - a = __builtin_spe_evlwhsplat (uip, 13); - a = __builtin_spe_evlwwsplat (uip, 13); - - a = __builtin_spe_evrlwi (b, 13); - a = __builtin_spe_evslwi (b, 13); - a = __builtin_spe_evsrwis (b, 13); - a = __builtin_spe_evsrwiu (b, 13); - a = __builtin_spe_evsubifw (b, 13); - - /* Store indexed builtins. */ - __builtin_spe_evstddx (b, ap, j); - __builtin_spe_evstdhx (b, ap, j); - __builtin_spe_evstdwx (b, ap, j); - __builtin_spe_evstwhex (b, uip, j); - __builtin_spe_evstwhox (b, uip, j); - __builtin_spe_evstwwex (b, uip, j); - __builtin_spe_evstwwox (b, uip, j); - - /* Store indexed immediate builtins. */ - __builtin_spe_evstdd (b, ap, 5); - __builtin_spe_evstdh (b, ap, 5); - __builtin_spe_evstdw (b, ap, 5); - __builtin_spe_evstwhe (b, uip, 5); - __builtin_spe_evstwho (b, uip, 5); - __builtin_spe_evstwwe (b, uip, 5); - __builtin_spe_evstwwo (b, uip, 5); - - /* SPEFSCR builtins. */ - i = __builtin_spe_mfspefscr (); - __builtin_spe_mtspefscr (j); - - test_api (); - - return 0; -} diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-spe64-1.c b/gcc/testsuite/gcc.target/powerpc/ppc-spe64-1.c deleted file mode 100644 index a9d632bf9f3..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/ppc-spe64-1.c +++ /dev/null @@ -1,7 +0,0 @@ -/* Test that SPE targets do not permit -m64. */ -/* Origin: Joseph Myers */ -/* { dg-do compile { target powerpc-*-*spe } } */ -/* { dg-options "-m64" } */ - -/* { dg-error "-m64 not supported in this configuration" "SPE not 64-bit" { target *-*-* } 0 } */ -/* { dg-error "64-bit SPE not supported" "64-bit SPE" { target *-*-* } 0 } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr60102.c b/gcc/testsuite/gcc.target/powerpc/pr60102.c deleted file mode 100644 index 0b572a5f9d7..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr60102.c +++ /dev/null @@ -1,11 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=8548 -mspe -mabi=spe -g -mfloat-gprs=double" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ - -double -pr60102 (double x, int m) -{ - double y; - y = m % 2 ? x : 1; - return y; -} diff --git a/gcc/testsuite/gcc.target/powerpc/pr60158.c b/gcc/testsuite/gcc.target/powerpc/pr60158.c deleted file mode 100644 index 4395378e17d..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr60158.c +++ /dev/null @@ -1,89 +0,0 @@ -/* { dg-do compile } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ -/* { dg-options "-mdejagnu-cpu=8548 -mno-spe -mfloat-gprs=double -Os -fdata-sections -fpic -mrelocatable" } */ - -#define NULL 0 -int func (int val); -void *func2 (void *ptr); - -static const char *ifs; -static char map[256]; - -typedef struct { -/* None of these fields are used, but removing any - of them makes the problem go away. */ - char *data; - int length; - int maxlen; - int quote; -} o_string; - -#define NULL_O_STRING {NULL,0,0,0} - -static int parse_stream (void *dest, void *ctx) -{ - int ch = func (0), m; - - while (ch != -1) { - m = map[ch]; - if (ch != '\n') - func2(dest); - - ctx = func2 (ctx); - if (!func (0)) - return 0; - if (m != ch) { - func2 ("htns"); - break; - } - } - return -1; -} - -static void mapset (const char *set, int code) -{ - const char *s; - for (s=set; *s; s++) map[(int)*s] = code; -} - -static void update_ifs_map(void) -{ - /* char *ifs and char map[256] are both globals. */ - ifs = func2 ("abc"); - if (ifs == NULL) ifs="def"; - - func2 (map); - { - char subst[2] = {4, 0}; - mapset (subst, 3); - } - mapset (";&|#", 1); -} - -int parse_stream_outer (int flag) -{ - int blah; - o_string temp=NULL_O_STRING; - int rcode; - - do { - update_ifs_map (); - func2 (&blah); /* a memory clobber works as well. */ - rcode = parse_stream (&temp, NULL); - func2 ("aoeu"); - if (func (0) != 0) { - func2 (NULL); - } - } while (rcode != -1); - return 0; -} - -/* { dg-final { if ![file exists pr60158.s] { fail "pr60158.c (compile)"; return; } } } */ - -/* { dg-final { set c_rel [llength [grep pr60158.s \\.data\\.rel\\.ro\\.local]] } } */ -/* { dg-final { set c_fix [llength [grep pr60158.s \\.fixup]] } } */ -/* { dg-final { if [string match $c_rel $c_fix] \{ } } */ -/* { dg-final { pass "pr60158.c (passed)" } } */ -/* { dg-final { \} else \{ } } */ -/* { dg-final { fail "pr60158.c (.fixup table entries not generated for .data.rel.ro.local section)" } } */ -/* { dg-final { \} } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr60735.c b/gcc/testsuite/gcc.target/powerpc/pr60735.c deleted file mode 100644 index 39b9037ac45..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr60735.c +++ /dev/null @@ -1,11 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=8548 -mspe -mabi=spe -O2" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ - -/* In PR60735, the type _Decimal64 generated an insn not found message. */ - -void -pr60735 (_Decimal64 *p, _Decimal64 *q) -{ - *p = *q; -} diff --git a/gcc/testsuite/gcc.target/powerpc/pr78458.c b/gcc/testsuite/gcc.target/powerpc/pr78458.c deleted file mode 100644 index b16f99a49dd..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr78458.c +++ /dev/null @@ -1,15 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=8548 -mspe -mabi=spe" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ - -extern void bar (void); -long double -pr78458 (long double p1) -{ - bar (); - asm volatile ("# clobbers" ::: - "r14", "r15", "r16", "r17", "r18", "r19", - "r20", "r21", "r22", "r23", "r24", "r25", - "r26", "r27", "r28", "r29", "r30", "r31"); - return p1; -} diff --git a/gcc/testsuite/gcc.target/powerpc/pr80343.c b/gcc/testsuite/gcc.target/powerpc/pr80343.c deleted file mode 100644 index cea2a771abb..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr80343.c +++ /dev/null @@ -1,50 +0,0 @@ -/* { dg-do compile { target powerpc-*-*spe } } */ -/* { dg-options "-O2 -ftracer -fPIC" } */ -long long int vi, ls; -int wq, oa, to, fv; -signed char zo; - -long long int -ai (long long int ip, long long int jc, int gt) -{ - ip /= 3; - jc += ip; - if (ip != 0) - vi = 0; - vi += ls; - - if (wq != oa) - { - int tz; - - for (tz = 0; tz < 32; ++tz) - zo -= wq & gt; - - if ((gt & 5) > oa) - { - zo += gt; - fv += zo + to; - } - - if (gt != 0) - oa = 0; - - if (fv != 0) - { - vi += wq; - ls += ip; - jc += (vi != 0) ? ip : ls; - } - - while (tz != 0) - { - zo = wq; - tz = zo; - } - - ++to; - wq = ip; - } - - return jc; -} diff --git a/gcc/testsuite/gcc.target/powerpc/spe-evmerge.c b/gcc/testsuite/gcc.target/powerpc/spe-evmerge.c deleted file mode 100644 index df0a33e4009..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-evmerge.c +++ /dev/null @@ -1,71 +0,0 @@ -/* Verify SPE vector permute builtins. */ -/* { dg-do run { target { powerpc*-*-* && powerpc_spe } } } */ -/* Remove `-ansi' from options so that compiles. */ -/* { dg-options "" } */ - -#include -#include - -#define vector __attribute__ ((vector_size (8))) - -#define WORDS_BIG_ENDIAN (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) - -int -main (void) -{ - vector int a = { 0x11111111, 0x22222222 }; - vector int b = { 0x33333333, 0x44444444 }; - vector int c; - - /* c[hi] = a[hi], c[lo] = b[hi] */ - c = __ev_mergehi (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x11111111 : 0x44444444)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x33333333 : 0x22222222)) - abort (); - /* c[hi] = a[lo], c[lo] = b[lo] */ - c = __ev_mergelo (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x22222222 : 0x33333333)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x44444444 : 0x11111111)) - abort (); - /* c[hi] = a[lo], c[lo] = b[hi] */ - c = __ev_mergelohi (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x22222222 : 0x44444444)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x33333333 : 0x11111111)) - abort (); - /* c[hi] = a[hi], c[lo] = b[lo] */ - c = __ev_mergehilo (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x11111111 : 0x33333333)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x44444444 : 0x22222222)) - abort (); - - /* c[hi] = a[hi], c[lo] = b[hi] */ - c = __builtin_spe_evmergehi (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x11111111 : 0x44444444)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x33333333 : 0x22222222)) - abort (); - /* c[hi] = a[lo], c[lo] = b[lo] */ - c = __builtin_spe_evmergelo (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x22222222 : 0x33333333)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x44444444 : 0x11111111)) - abort (); - /* c[hi] = a[lo], c[lo] = b[hi] */ - c = __builtin_spe_evmergelohi (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x22222222 : 0x44444444)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x33333333 : 0x11111111)) - abort (); - /* c[hi] = a[hi], c[lo] = b[lo] */ - c = __builtin_spe_evmergehilo (a, b); - if (c[0] != (WORDS_BIG_ENDIAN ? 0x11111111 : 0x33333333)) - abort (); - if (c[1] != (WORDS_BIG_ENDIAN ? 0x44444444 : 0x22222222)) - abort (); - - return 0; -} diff --git a/gcc/testsuite/gcc.target/powerpc/spe-small-data-1.c b/gcc/testsuite/gcc.target/powerpc/spe-small-data-1.c deleted file mode 100644 index 8bdb154e1af..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-small-data-1.c +++ /dev/null @@ -1,14 +0,0 @@ -/* Verify that we don't ICE trying to put SPE data in .sdata2. */ -/* { dg-do run { target { powerpc*-*-linux* && powerpc_spe } } } */ -/* { dg-options "-msdata=eabi -mcall-eabi -G 8" } */ - -#include - -__ev64_fs__ x; - -int main(void) -{ - x = __ev_fsabs (x); - return(0); -} - diff --git a/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c b/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c deleted file mode 100644 index 5354e49f470..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Verify that we don't ICE trying to put float data in .sdata2. */ -/* { dg-do compile } */ -/* { dg-require-effective-target powerpc_eabi_ok } */ -/* { dg-options "-msdata=eabi -mcall-eabi -G 8" } */ - -double x; - -int main(void) -{ - x = x * 2; - return(0); -} - diff --git a/gcc/testsuite/gcc.target/powerpc/spe-unwind-1.c b/gcc/testsuite/gcc.target/powerpc/spe-unwind-1.c deleted file mode 100644 index 84d4bf28803..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-unwind-1.c +++ /dev/null @@ -1,116 +0,0 @@ -/* Verify that unwinding can find SPE registers in signal frames. */ -/* Origin: Joseph Myers */ -/* { dg-do run { target { powerpc*-*-linux* && powerpc_spe } } } */ -/* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */ - -#include -#include -#include -#include - -int count; -char *null; -int found_reg; - -typedef int v2si __attribute__((__vector_size__(8))); - -v2si v1 = { 123, 234 }; -v2si v2 = { 345, 456 }; - -static _Unwind_Reason_Code -force_unwind_stop (int version, _Unwind_Action actions, - _Unwind_Exception_Class exc_class, - struct _Unwind_Exception *exc_obj, - struct _Unwind_Context *context, - void *stop_parameter) -{ - unsigned int reg; - if (actions & _UA_END_OF_STACK) - abort (); - if (_Unwind_GetGR (context, 1215) == 123) - found_reg = 1; - return _URC_NO_REASON; -} - -static void force_unwind () -{ - struct _Unwind_Exception *exc = malloc (sizeof (*exc)); - memset (&exc->exception_class, 0, sizeof (exc->exception_class)); - exc->exception_cleanup = 0; - -#ifndef __USING_SJLJ_EXCEPTIONS__ - _Unwind_ForcedUnwind (exc, force_unwind_stop, 0); -#else - _Unwind_SjLj_ForcedUnwind (exc, force_unwind_stop, 0); -#endif - - abort (); -} - -static void counter (void *p __attribute__((unused))) -{ - ++count; -} - -static void handler (void *p __attribute__((unused))) -{ - if (count != 2) - abort (); - if (!found_reg) - abort (); - exit (0); -} - -static int __attribute__((noinline)) fn5 () -{ - char dummy __attribute__((cleanup (counter))); - force_unwind (); - return 0; -} - -static void fn4 (int sig) -{ - char dummy __attribute__((cleanup (counter))); - /* Clobber high part without compiler's knowledge so the only saved - copy is from the signal frame. */ - asm volatile ("evmergelo 15,15,15"); - fn5 (); - null = NULL; -} - -static void fn3 () -{ - abort (); -} - -static int __attribute__((noinline)) fn2 () -{ - register v2si r15 asm("r15"); - r15 = v1; - asm volatile ("" : "+r" (r15)); - *null = 0; - fn3 (); - return 0; -} - -static int __attribute__((noinline)) fn1 () -{ - signal (SIGSEGV, fn4); - signal (SIGBUS, fn4); - fn2 (); - return 0; -} - -static int __attribute__((noinline)) fn0 () -{ - char dummy __attribute__((cleanup (handler))); - fn1 (); - null = 0; - return 0; -} - -int main() -{ - fn0 (); - abort (); -} diff --git a/gcc/testsuite/gcc.target/powerpc/spe-vector-memcpy.c b/gcc/testsuite/gcc.target/powerpc/spe-vector-memcpy.c deleted file mode 100644 index c33874b7fcf..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-vector-memcpy.c +++ /dev/null @@ -1,10 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O -mdejagnu-cpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ -/* { dg-final { scan-assembler "evstdd" } } */ - -void foo(void) -{ - int x[8] __attribute__((aligned(64))) = { 1, 1, 1, 1, 1, 1, 1, 1 }; - bar (x); -} diff --git a/gcc/testsuite/gcc.target/powerpc/spe-vector-memset.c b/gcc/testsuite/gcc.target/powerpc/spe-vector-memset.c deleted file mode 100644 index 7ecaf103706..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe-vector-memset.c +++ /dev/null @@ -1,13 +0,0 @@ -/* { dg-do compile { target powerpc*-*-* } } */ -/* { dg-require-effective-target powerpc_spe } */ -/* { dg-options "-O -mspe=yes" } */ -/* { dg-final { scan-assembler "evstdd" } } */ - -#include - -void foo(void) -{ - int x[8] __attribute__((aligned(64))); - memset (x, 0, sizeof (x)); - bar (x); -} diff --git a/gcc/testsuite/gcc.target/powerpc/spe1.c b/gcc/testsuite/gcc.target/powerpc/spe1.c deleted file mode 100644 index be80c6ca718..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/spe1.c +++ /dev/null @@ -1,15 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */ - -/* (Test with -O0 so we don't optimize any of them away). */ - - -typedef float __attribute__((vector_size(8))) __ev64_fs__; - -__ev64_opaque__ Foo (void); - -void Bar () -{ - __ev64_fs__ fs = Foo (); -} -- 2.30.2