OSDN Git Service

* gcc.target/powerpc: New directory.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 22:20:22 +0000 (22:20 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 22:20:22 +0000 (22:20 +0000)
* gcc.target/powerpc/powerpc.exp: New file.
* gcc.dg/20020118-1.c, gcc.dg/20030218-1.c, gcc.dg/20030505.c,
gcc.dg/20040121-1.c, gcc.dg/20040622-1.c, gcc.dg/20041111-1.c,
gcc.dg/20050603-1.c, gcc.dg/20050603-3.c, gcc.dg/20050830-1.c,
gcc.dg/980827-1.c, gcc.dg/altivec-1.c, gcc.dg/altivec-10.c,
gcc.dg/altivec-11.c, gcc.dg/altivec-12.c, gcc.dg/altivec-13.c,
gcc.dg/altivec-14.c, gcc.dg/altivec-15.c, gcc.dg/altivec-16.c,
gcc.dg/altivec-17.c, gcc.dg/altivec-18.c, gcc.dg/altivec-19.c,
gcc.dg/altivec-2.c, gcc.dg/altivec-20.c, gcc.dg/altivec-21.c,
gcc.dg/altivec-22.c, gcc.dg/altivec-3.c, gcc.dg/altivec-4.c,
gcc.dg/altivec-5.c, gcc.dg/altivec-6.c, gcc.dg/altivec-7.c,
gcc.dg/altivec-8.c, gcc.dg/altivec-9.c, gcc.dg/altivec-pr22085.c,
gcc.dg/altivec-types-1.c, gcc.dg/altivec-types-2.c,
gcc.dg/altivec-types-3.c, gcc.dg/altivec-types-4.c,
gcc.dg/altivec-varargs-1.c, gcc.dg/altivec-vec-merge.c,
gcc.dg/altivec_check.h, gcc.dg/compress-float-ppc-pic.c,
gcc.dg/compress-float-ppc.c, gcc.dg/darwin-abi-1.c,
gcc.dg/darwin-abi-2.c, gcc.dg/darwin-bool-1.c,
gcc.dg/darwin-bool-2.c, gcc.dg/darwin-longdouble.c,
gcc.dg/darwin-longlong.c, gcc.dg/darwin-misaligned.c,
gcc.dg/doloop-1.c, gcc.dg/macho-lo-sum.c, gcc.dg/ppc-and-1.c,
gcc.dg/ppc-bitfield1.c, gcc.dg/ppc-compare-1.c, gcc.dg/ppc-eabi.c,
gcc.dg/ppc-fmadd-1.c, gcc.dg/ppc-fmadd-2.c, gcc.dg/ppc-fmadd-3.c,
gcc.dg/ppc-fsel-1.c, gcc.dg/ppc-fsel-2.c, gcc.dg/ppc-fsel-3.c,
gcc.dg/ppc-ldstruct.c, gcc.dg/ppc-mov-1.c, gcc.dg/ppc-sdata-1.c,
gcc.dg/ppc-sdata-2.c, gcc.dg/ppc-spe.c, gcc.dg/ppc-spe64-1.c,
gcc.dg/ppc-stackalign-1.c, gcc.dg/ppc-stfiwx.c,
gcc.dg/ppc-vector-memcpy.c, gcc.dg/ppc-vector-memset.c,
gcc.dg/ppc64-abi-1.c, gcc.dg/ppc64-abi-2.c, gcc.dg/ppc64-abi-3.c,
gcc.dg/ppc64-toc.c, gcc.dg/pr16155.c, gcc.dg/pr16286.c,
gcc.dg/pr18096-1.c, gcc.dg/rs6000-fpint-2.c,
gcc.dg/rs6000-fpint.c, gcc.dg/rs6000-ldouble-1.c,
gcc.dg/rs6000-ldouble-2.c, gcc.dg/rs6000-power2-1.c,
gcc.dg/rs6000-power2-2.c, gcc.dg/spe1.c,
gcc.dg/stabs-attrib-vect-darwin.c: Move to gcc.target/powerpc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106453 138bc75d-0d04-0410-961f-82ee72b054a4

88 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/20020118-1.c [moved from gcc/testsuite/gcc.dg/20020118-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20030218-1.c [moved from gcc/testsuite/gcc.dg/20030218-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20030505.c [moved from gcc/testsuite/gcc.dg/20030505.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20040121-1.c [moved from gcc/testsuite/gcc.dg/20040121-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20040622-1.c [moved from gcc/testsuite/gcc.dg/20040622-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20041111-1.c [moved from gcc/testsuite/gcc.dg/20041111-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20050603-1.c [moved from gcc/testsuite/gcc.dg/20050603-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20050603-3.c [moved from gcc/testsuite/gcc.dg/20050603-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/20050830-1.c [moved from gcc/testsuite/gcc.dg/20050830-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/980827-1.c [moved from gcc/testsuite/gcc.dg/980827-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-1.c [moved from gcc/testsuite/gcc.dg/altivec-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-10.c [moved from gcc/testsuite/gcc.dg/altivec-10.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-11.c [moved from gcc/testsuite/gcc.dg/altivec-11.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-12.c [moved from gcc/testsuite/gcc.dg/altivec-12.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-13.c [moved from gcc/testsuite/gcc.dg/altivec-13.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-14.c [moved from gcc/testsuite/gcc.dg/altivec-14.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-15.c [moved from gcc/testsuite/gcc.dg/altivec-15.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-16.c [moved from gcc/testsuite/gcc.dg/altivec-16.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-17.c [moved from gcc/testsuite/gcc.dg/altivec-17.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-18.c [moved from gcc/testsuite/gcc.dg/altivec-18.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-19.c [moved from gcc/testsuite/gcc.dg/altivec-19.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-2.c [moved from gcc/testsuite/gcc.dg/altivec-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-20.c [moved from gcc/testsuite/gcc.dg/altivec-20.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-21.c [moved from gcc/testsuite/gcc.dg/altivec-21.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-22.c [moved from gcc/testsuite/gcc.dg/altivec-22.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-3.c [moved from gcc/testsuite/gcc.dg/altivec-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-4.c [moved from gcc/testsuite/gcc.dg/altivec-4.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-5.c [moved from gcc/testsuite/gcc.dg/altivec-5.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-6.c [moved from gcc/testsuite/gcc.dg/altivec-6.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-7.c [moved from gcc/testsuite/gcc.dg/altivec-7.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-8.c [moved from gcc/testsuite/gcc.dg/altivec-8.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-9.c [moved from gcc/testsuite/gcc.dg/altivec-9.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-pr22085.c [moved from gcc/testsuite/gcc.dg/altivec-pr22085.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-types-1.c [moved from gcc/testsuite/gcc.dg/altivec-types-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-types-2.c [moved from gcc/testsuite/gcc.dg/altivec-types-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-types-3.c [moved from gcc/testsuite/gcc.dg/altivec-types-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-types-4.c [moved from gcc/testsuite/gcc.dg/altivec-types-4.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-varargs-1.c [moved from gcc/testsuite/gcc.dg/altivec-varargs-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec-vec-merge.c [moved from gcc/testsuite/gcc.dg/altivec-vec-merge.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/altivec_check.h [moved from gcc/testsuite/gcc.dg/altivec_check.h with 100% similarity]
gcc/testsuite/gcc.target/powerpc/compress-float-ppc-pic.c [moved from gcc/testsuite/gcc.dg/compress-float-ppc-pic.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/compress-float-ppc.c [moved from gcc/testsuite/gcc.dg/compress-float-ppc.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-abi-1.c [moved from gcc/testsuite/gcc.dg/darwin-abi-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-abi-2.c [moved from gcc/testsuite/gcc.dg/darwin-abi-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c [moved from gcc/testsuite/gcc.dg/darwin-bool-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-bool-2.c [moved from gcc/testsuite/gcc.dg/darwin-bool-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-longdouble.c [moved from gcc/testsuite/gcc.dg/darwin-longdouble.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-longlong.c [moved from gcc/testsuite/gcc.dg/darwin-longlong.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/darwin-misaligned.c [moved from gcc/testsuite/gcc.dg/darwin-misaligned.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/doloop-1.c [moved from gcc/testsuite/gcc.dg/doloop-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/macho-lo-sum.c [moved from gcc/testsuite/gcc.dg/macho-lo-sum.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/powerpc.exp [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ppc-and-1.c [moved from gcc/testsuite/gcc.dg/ppc-and-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-bitfield1.c [moved from gcc/testsuite/gcc.dg/ppc-bitfield1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-compare-1.c [moved from gcc/testsuite/gcc.dg/ppc-compare-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-eabi.c [moved from gcc/testsuite/gcc.dg/ppc-eabi.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fmadd-1.c [moved from gcc/testsuite/gcc.dg/ppc-fmadd-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fmadd-2.c [moved from gcc/testsuite/gcc.dg/ppc-fmadd-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fmadd-3.c [moved from gcc/testsuite/gcc.dg/ppc-fmadd-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fsel-1.c [moved from gcc/testsuite/gcc.dg/ppc-fsel-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fsel-2.c [moved from gcc/testsuite/gcc.dg/ppc-fsel-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-fsel-3.c [moved from gcc/testsuite/gcc.dg/ppc-fsel-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-ldstruct.c [moved from gcc/testsuite/gcc.dg/ppc-ldstruct.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-mov-1.c [moved from gcc/testsuite/gcc.dg/ppc-mov-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-sdata-1.c [moved from gcc/testsuite/gcc.dg/ppc-sdata-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-sdata-2.c [moved from gcc/testsuite/gcc.dg/ppc-sdata-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-spe.c [moved from gcc/testsuite/gcc.dg/ppc-spe.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-spe64-1.c [moved from gcc/testsuite/gcc.dg/ppc-spe64-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-stackalign-1.c [moved from gcc/testsuite/gcc.dg/ppc-stackalign-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-stfiwx.c [moved from gcc/testsuite/gcc.dg/ppc-stfiwx.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-vector-memcpy.c [moved from gcc/testsuite/gcc.dg/ppc-vector-memcpy.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc-vector-memset.c [moved from gcc/testsuite/gcc.dg/ppc-vector-memset.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc64-abi-1.c [moved from gcc/testsuite/gcc.dg/ppc64-abi-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc64-abi-2.c [moved from gcc/testsuite/gcc.dg/ppc64-abi-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc64-abi-3.c [moved from gcc/testsuite/gcc.dg/ppc64-abi-3.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/ppc64-toc.c [moved from gcc/testsuite/gcc.dg/ppc64-toc.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/pr16155.c [moved from gcc/testsuite/gcc.dg/pr16155.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/pr16286.c [moved from gcc/testsuite/gcc.dg/pr16286.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/pr18096-1.c [moved from gcc/testsuite/gcc.dg/pr18096-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-fpint-2.c [moved from gcc/testsuite/gcc.dg/rs6000-fpint-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c [moved from gcc/testsuite/gcc.dg/rs6000-fpint.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-ldouble-1.c [moved from gcc/testsuite/gcc.dg/rs6000-ldouble-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-ldouble-2.c [moved from gcc/testsuite/gcc.dg/rs6000-ldouble-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-power2-1.c [moved from gcc/testsuite/gcc.dg/rs6000-power2-1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/rs6000-power2-2.c [moved from gcc/testsuite/gcc.dg/rs6000-power2-2.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/spe1.c [moved from gcc/testsuite/gcc.dg/spe1.c with 100% similarity]
gcc/testsuite/gcc.target/powerpc/stabs-attrib-vect-darwin.c [moved from gcc/testsuite/gcc.dg/stabs-attrib-vect-darwin.c with 100% similarity]

index cec54ef..ac49bbc 100644 (file)
@@ -1,3 +1,42 @@
+2005-11-03  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * gcc.target/powerpc: New directory.
+       * gcc.target/powerpc/powerpc.exp: New file.
+       * gcc.dg/20020118-1.c, gcc.dg/20030218-1.c, gcc.dg/20030505.c,
+       gcc.dg/20040121-1.c, gcc.dg/20040622-1.c, gcc.dg/20041111-1.c,
+       gcc.dg/20050603-1.c, gcc.dg/20050603-3.c, gcc.dg/20050830-1.c,
+       gcc.dg/980827-1.c, gcc.dg/altivec-1.c, gcc.dg/altivec-10.c,
+       gcc.dg/altivec-11.c, gcc.dg/altivec-12.c, gcc.dg/altivec-13.c,
+       gcc.dg/altivec-14.c, gcc.dg/altivec-15.c, gcc.dg/altivec-16.c,
+       gcc.dg/altivec-17.c, gcc.dg/altivec-18.c, gcc.dg/altivec-19.c,
+       gcc.dg/altivec-2.c, gcc.dg/altivec-20.c, gcc.dg/altivec-21.c,
+       gcc.dg/altivec-22.c, gcc.dg/altivec-3.c, gcc.dg/altivec-4.c,
+       gcc.dg/altivec-5.c, gcc.dg/altivec-6.c, gcc.dg/altivec-7.c,
+       gcc.dg/altivec-8.c, gcc.dg/altivec-9.c, gcc.dg/altivec-pr22085.c,
+       gcc.dg/altivec-types-1.c, gcc.dg/altivec-types-2.c,
+       gcc.dg/altivec-types-3.c, gcc.dg/altivec-types-4.c,
+       gcc.dg/altivec-varargs-1.c, gcc.dg/altivec-vec-merge.c,
+       gcc.dg/altivec_check.h, gcc.dg/compress-float-ppc-pic.c,
+       gcc.dg/compress-float-ppc.c, gcc.dg/darwin-abi-1.c,
+       gcc.dg/darwin-abi-2.c, gcc.dg/darwin-bool-1.c,
+       gcc.dg/darwin-bool-2.c, gcc.dg/darwin-longdouble.c,
+       gcc.dg/darwin-longlong.c, gcc.dg/darwin-misaligned.c,
+       gcc.dg/doloop-1.c, gcc.dg/macho-lo-sum.c, gcc.dg/ppc-and-1.c,
+       gcc.dg/ppc-bitfield1.c, gcc.dg/ppc-compare-1.c, gcc.dg/ppc-eabi.c,
+       gcc.dg/ppc-fmadd-1.c, gcc.dg/ppc-fmadd-2.c, gcc.dg/ppc-fmadd-3.c,
+       gcc.dg/ppc-fsel-1.c, gcc.dg/ppc-fsel-2.c, gcc.dg/ppc-fsel-3.c,
+       gcc.dg/ppc-ldstruct.c, gcc.dg/ppc-mov-1.c, gcc.dg/ppc-sdata-1.c,
+       gcc.dg/ppc-sdata-2.c, gcc.dg/ppc-spe.c, gcc.dg/ppc-spe64-1.c,
+       gcc.dg/ppc-stackalign-1.c, gcc.dg/ppc-stfiwx.c,
+       gcc.dg/ppc-vector-memcpy.c, gcc.dg/ppc-vector-memset.c,
+       gcc.dg/ppc64-abi-1.c, gcc.dg/ppc64-abi-2.c, gcc.dg/ppc64-abi-3.c,
+       gcc.dg/ppc64-toc.c, gcc.dg/pr16155.c, gcc.dg/pr16286.c,
+       gcc.dg/pr18096-1.c, gcc.dg/rs6000-fpint-2.c,
+       gcc.dg/rs6000-fpint.c, gcc.dg/rs6000-ldouble-1.c,
+       gcc.dg/rs6000-ldouble-2.c, gcc.dg/rs6000-power2-1.c,
+       gcc.dg/rs6000-power2-2.c, gcc.dg/spe1.c,
+       gcc.dg/stabs-attrib-vect-darwin.c: Move to gcc.target/powerpc.
+
 2005-11-03  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/21627
diff --git a/gcc/testsuite/gcc.target/powerpc/powerpc.exp b/gcc/testsuite/gcc.target/powerpc/powerpc.exp
new file mode 100644 (file)
index 0000000..9992346
--- /dev/null
@@ -0,0 +1,41 @@
+#   Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  
+
+# GCC testsuite that uses the 'dg.exp' driver.
+
+# Exit immediately if this isn't a PowerPC target.
+if { ![istarget powerpc*-*-*] && ![istarget rs6000-*-*] } then {
+  return
+}
+
+# Load support procs.
+load_lib gcc-dg.exp
+
+# If a testcase doesn't have special options, use these.
+global DEFAULT_CFLAGS
+if ![info exists DEFAULT_CFLAGS] then {
+    set DEFAULT_CFLAGS " -ansi -pedantic-errors"
+}
+
+# Initialize 'dg'.
+dg-init
+
+# Main loop.
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
+       "" $DEFAULT_CFLAGS
+
+# All done.
+dg-finish