From a5fc83a151258f18f616ef9bb444e24cc20cc980 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Tue, 4 Nov 2014 12:09:50 +0000 Subject: [PATCH] pr60102.c: Move dg-skip-if after dg-options. gcc/testsuite/ * gcc.target/powerpc/pr60102.c: Move dg-skip-if after dg-options. * gcc.target/powerpc/swaps-p8-12.c: Skip test if there would be conflicting -mcpu options. * gcc.target/powerpc/ppc-target-2.c: Likewise. * gcc.target/powerpc/cell_builtin-7.c: Likewise. * gcc.target/powerpc/dfp-builtin-1.c: Likewise. * gcc.target/powerpc/p8vector-builtin-1.c: Likewise. * gcc.target/powerpc/ppc-fpconv-7.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-1.c: Likewise. * gcc.target/powerpc/pr48053-3.c: Likewise. * gcc.target/powerpc/vsx-builtin-6.c: Likewise. * gcc.target/powerpc/440-nmaclhw-1.c: Likewise. * gcc.target/powerpc/pr57744.c: Likewise. * gcc.target/powerpc/pr47862.c: Likewise. * gcc.target/powerpc/vsx-vectorize-8.c: Likewise. * gcc.target/powerpc/recip-1.c: Likewise. * gcc.target/powerpc/darwin-longlong.c: Likewise. * gcc.target/powerpc/bool2-p8.c: Likewise. * gcc.target/powerpc/mmfpgpr.c: Likewise. * gcc.target/powerpc/pr60203.c: Likewise. * gcc.target/powerpc/direct-move-vint1.c: Likewise. * gcc.target/powerpc/bool2-av.c: Likewise. * gcc.target/powerpc/pr43154.c: Likewise. * gcc.target/powerpc/ppc-fma-2.c: Likewise. * gcc.target/powerpc/swaps-p8-5.c: Likewise. * gcc.target/powerpc/pr59054.c: Likewise. * gcc.target/powerpc/ppc-fpconv-11.c: Likewise. * gcc.target/powerpc/440-mullhwu-1.c: Likewise. * gcc.target/powerpc/swaps-p8-13.c: Likewise. * gcc.target/powerpc/ppc-target-3.c: Likewise. * gcc.target/powerpc/cell_builtin-8.c: Likewise. * gcc.target/powerpc/dfp-builtin-2.c: Likewise. * gcc.target/powerpc/p8vector-builtin-2.c: Likewise. * gcc.target/powerpc/ppc-fpconv-8.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-2.c: Likewise. * gcc.target/powerpc/p8vector-vbpermq.c: Likewise. * gcc.target/powerpc/vsx-vectorize-1.c: Likewise. * gcc.target/powerpc/bswap64-3.c: Likewise. * gcc.target/powerpc/bcd-1.c: Likewise. * gcc.target/powerpc/440-mulchwu-1.c: Likewise. * gcc.target/powerpc/extend-divide-1.c: Likewise. * gcc.target/powerpc/vsx-builtin-7.c: Likewise. * gcc.target/powerpc/pr48192.c: Likewise. * gcc.target/powerpc/pr52775.c: Likewise. * gcc.target/powerpc/p8vector-int128-1.c: Likewise. * gcc.target/powerpc/pr58673-1.c: Likewise. * gcc.target/powerpc/pr53487.c: Likewise. * gcc.target/powerpc/440-nmaclhw-2.c: Likewise. * gcc.target/powerpc/recip-2.c: Likewise. * gcc.target/powerpc/p8vector-fp.c: Likewise. * gcc.target/powerpc/direct-move-vint2.c: Likewise. * gcc.target/powerpc/ppc-fma-3.c: Likewise. * gcc.target/powerpc/pr57150.c: Likewise. * gcc.target/powerpc/pr47251.c: Likewise. * gcc.target/powerpc/swaps-p8-6.c: Likewise. * gcc.target/powerpc/440-mullhwu-2.c: Likewise. * gcc.target/powerpc/bool3-p7.c: Likewise. * gcc.target/powerpc/cell_builtin-1.c: Likewise. * gcc.target/powerpc/swaps-p8-14.c: Likewise. * gcc.target/powerpc/ppc-target-4.c: Likewise. * gcc.target/powerpc/440-mulhhw-1.c: Likewise. * gcc.target/powerpc/ppc-fpconv-1.c: Likewise. * gcc.target/powerpc/440-machhw-1.c: Likewise. * gcc.target/powerpc/p8vector-builtin-3.c: Likewise. * gcc.target/powerpc/vsx-mass-1.c: Likewise. * gcc.target/powerpc/ppc-fpconv-9.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-3.c: Likewise. * gcc.target/powerpc/loop_align.c: Likewise. * gcc.target/powerpc/lhs-1.c: Likewise. * gcc.target/powerpc/sd-vsx.c: Likewise. * gcc.target/powerpc/vsx-vectorize-2.c: Likewise. * gcc.target/powerpc/bcd-2.c: Likewise. * gcc.target/powerpc/20040121-1.c: Likewise. * gcc.target/powerpc/pr52457.c: Likewise. * gcc.target/powerpc/440-mulchwu-2.c: Likewise. * gcc.target/powerpc/extend-divide-2.c: Likewise. * gcc.target/powerpc/vsx-builtin-8.c: Likewise. * gcc.target/powerpc/p8vector-int128-2.c: Likewise. * gcc.target/powerpc/pr58673-2.c: Likewise. * gcc.target/powerpc/atomic-p7.c: Likewise. * gcc.target/powerpc/recip-3.c: Likewise. * gcc.target/powerpc/440-maclhwu-1.c: Likewise. * gcc.target/powerpc/optimize-bswapsi-2.c: Likewise. * gcc.target/powerpc/popcount-1.c: Likewise. * gcc.target/powerpc/altivec-32.c: Likewise. * gcc.target/powerpc/timode_off.c: Likewise. * gcc.target/powerpc/p8vector-ldst.c: Likewise. * gcc.target/powerpc/pack01.c: Likewise. * gcc.target/powerpc/pr55033.c: Likewise. * gcc.target/powerpc/ppc-fma-4.c: Likewise. * gcc.target/powerpc/swaps-p8-7.c: Likewise. * gcc.target/powerpc/ppu-intrinsics.c: Likewise. * gcc.target/powerpc/440-macchwu-1.c: Likewise. * gcc.target/powerpc/440-mulhhwu-1.c: Likewise. * gcc.target/powerpc/440-mulchw-1.c: Likewise. * gcc.target/powerpc/bool3-p8.c: Likewise. * gcc.target/powerpc/cell_builtin-2.c: Likewise. * gcc.target/powerpc/swaps-p8-15.c: Likewise. * gcc.target/powerpc/440-macchw-1.c: Likewise. * gcc.target/powerpc/440-mulhhw-2.c: Likewise. * gcc.target/powerpc/ppc-fpconv-2.c: Likewise. * gcc.target/powerpc/440-machhw-2.c: Likewise. * gcc.target/powerpc/p8vector-builtin-4.c: Likewise. * gcc.target/powerpc/pr46728-16.c: Likewise. * gcc.target/powerpc/vsx-builtin-1.c: Likewise. * gcc.target/powerpc/bool3-av.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-4.c: Likewise. * gcc.target/powerpc/ppc-pow.c: Likewise. * gcc.target/powerpc/lhs-2.c: Likewise. * gcc.target/powerpc/pr39902-2.c: Likewise. * gcc.target/powerpc/20041111-1.c: Likewise. * gcc.target/powerpc/builtins-1.c: Likewise. * gcc.target/powerpc/bcd-3.c: Likewise. * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. * gcc.target/powerpc/pr57949-1.c: Likewise. * gcc.target/powerpc/atomic-p8.c: Likewise. * gcc.target/powerpc/sd-pwr6.c: Likewise. * gcc.target/powerpc/recip-4.c: Likewise. * gcc.target/powerpc/440-maclhwu-2.c: Likewise. * gcc.target/powerpc/warn-2.c: Likewise. * gcc.target/powerpc/parity-1.c: Likewise. * gcc.target/powerpc/popcount-2.c: Likewise. * gcc.target/powerpc/crypto-builtin-1.c: Likewise. * gcc.target/powerpc/ppc-fma-5.c: Likewise. * gcc.target/powerpc/swaps-p8-8.c: Likewise. * gcc.target/powerpc/pr42747.c: Likewise. * gcc.target/powerpc/440-macchwu-2.c: Likewise. * gcc.target/powerpc/440-mulhhwu-2.c: Likewise. * gcc.target/powerpc/dfp-dd-2.c: Likewise. * gcc.target/powerpc/direct-move-float1.c: Likewise. * gcc.target/powerpc/440-mulchw-2.c: Likewise. * gcc.target/powerpc/cell_builtin-3.c: Likewise. * gcc.target/powerpc/swaps-p8-16.c: Likewise. * gcc.target/powerpc/440-macchw-2.c: Likewise. * gcc.target/powerpc/ppc-fpconv-3.c: Likewise. * gcc.target/powerpc/dfp-td-2.c: Likewise. * gcc.target/powerpc/p8vector-builtin-5.c: Likewise. * gcc.target/powerpc/vsx-builtin-2.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-5.c: Likewise. * gcc.target/powerpc/lhs-3.c: Likewise. * gcc.target/powerpc/440-nmachhw-1.c: Likewise. * gcc.target/powerpc/builtins-2.c: Likewise. * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. * gcc.target/powerpc/pr52199.c: Likewise. * gcc.target/powerpc/440-machhwu-1.c: Likewise. * gcc.target/powerpc/pr57949-2.c: Likewise. * gcc.target/powerpc/recip-5.c: Likewise. * gcc.target/powerpc/popcount-3.c: Likewise. * gcc.target/powerpc/vsx-vector-1.c: Likewise. * gcc.target/powerpc/swaps-p8-1.c: Likewise. * gcc.target/powerpc/optimize-bswapdi-2.c: Likewise. * gcc.target/powerpc/ppc-fma-6.c: Likewise. * gcc.target/powerpc/vsx-extract-1.c: Likewise. * gcc.target/powerpc/pr48226.c: Likewise. * gcc.target/powerpc/swaps-p8-9.c: Likewise. * gcc.target/powerpc/pr47755-2.c: Likewise. * gcc.target/powerpc/direct-move-float2.c: Likewise. * gcc.target/powerpc/cell_builtin-4.c: Likewise. * gcc.target/powerpc/direct-move-double1.c: Likewise. * gcc.target/powerpc/swaps-p8-17.c: Likewise. * gcc.target/powerpc/ppc-fpconv-4.c: Likewise. * gcc.target/powerpc/dfp-td-3.c: Likewise. * gcc.target/powerpc/p8vector-builtin-6.c: Likewise. * gcc.target/powerpc/440-nmacchw-1.c: Likewise. * gcc.target/powerpc/vsx-builtin-3.c: Likewise. * gcc.target/powerpc/440-nmachhw-2.c: Likewise. * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. * gcc.target/powerpc/bool2-p5.c: Likewise. * gcc.target/powerpc/440-machhwu-2.c: Likewise. * gcc.target/powerpc/fusion.c: Likewise. * gcc.target/powerpc/recip-6.c: Likewise. * gcc.target/powerpc/altivec-cell-6.c: Likewise. * gcc.target/powerpc/vsx-vector-2.c: Likewise. * gcc.target/powerpc/swaps-p8-2.c: Likewise. * gcc.target/powerpc/optimize-bswapdi-3.c: Likewise. * gcc.target/powerpc/ppc-fma-7.c: Likewise. * gcc.target/powerpc/vsx-extract-2.c: Likewise. * gcc.target/powerpc/direct-move-long1.c: Likewise. * gcc.target/powerpc/dfp-dd.c: Likewise. * gcc.target/powerpc/swaps-p8-10.c: Likewise. * gcc.target/powerpc/cell_builtin-5.c: Likewise. * gcc.target/powerpc/direct-move-double2.c: Likewise. * gcc.target/powerpc/440-mullhw-1.c: Likewise. * gcc.target/powerpc/ppc-fpconv-5.c: Likewise. * gcc.target/powerpc/440-maclhw-1.c: Likewise. * gcc.target/powerpc/dfp-td.c: Likewise. * gcc.target/powerpc/p8vector-builtin-7.c: Likewise. * gcc.target/powerpc/pr48053-1.c: Likewise. * gcc.target/powerpc/440-nmacchw-2.c: Likewise. * gcc.target/powerpc/vsx-builtin-4.c: Likewise. * gcc.target/powerpc/pr60676.c: Likewise. * gcc.target/powerpc/pr48258-1.c: Likewise. * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. * gcc.target/powerpc/pr48857.c: Likewise. * gcc.target/powerpc/quad-atomic.c: Likewise. * gcc.target/powerpc/altivec-cell-7.c: Likewise. * gcc.target/powerpc/atomic_load_store-p8.c: Likewise. * gcc.target/powerpc/vsx-vector-3.c: Likewise. * gcc.target/powerpc/swaps-p8-3.c: Likewise. * gcc.target/powerpc/pr56605.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. * gcc.target/powerpc/pr53199.c: Likewise. * gcc.target/powerpc/direct-move-long2.c: Likewise. * gcc.target/powerpc/swaps-p8-11.c: Likewise. * gcc.target/powerpc/vsx-float0.c: Likewise. * gcc.target/powerpc/ppc-target-1.c: Likewise. * gcc.target/powerpc/altivec-20.c: Likewise. * gcc.target/powerpc/cell_builtin-6.c: Likewise. * gcc.target/powerpc/440-mullhw-2.c: Likewise. * gcc.target/powerpc/darwin-ehreturn-1.c: Likewise. * gcc.target/powerpc/ppc-fpconv-6.c: Likewise. * gcc.target/powerpc/440-maclhw-2.c: Likewise. * gcc.target/powerpc/440-dlmzb-strlen-1.c: Likewise. * gcc.target/powerpc/pr60137.c: Likewise. * gcc.target/powerpc/bswap64-1.c: Likewise. * gcc.target/powerpc/pr48053-2.c: Likewise. * gcc.target/powerpc/vsx-builtin-5.c: Likewise. * gcc.target/powerpc/pr48258-2.c: Likewise. * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. * gcc.target/powerpc/vsx-sfminmax.c: Likewise. * gcc.target/powerpc/bool2-p7.c: Likewise. * gcc.target/powerpc/ppc-round.c: Likewise. * gcc.target/powerpc/altivec-cell-8.c: Likewise. * gcc.target/powerpc/vsx-vector-4.c: Likewise. * gcc.target/powerpc/ppc-fma-1.c: Likewise. * gcc.target/powerpc/swaps-p8-4.c: Likewise. * gcc.target/powerpc/ppc-fpconv-10.c: Likewise. * gcc.target/powerpc/pr47755.c: Likewise. From-SVN: r217081 --- gcc/testsuite/ChangeLog | 232 ++++++++++++++++++ gcc/testsuite/gcc.target/powerpc/20040121-1.c | 1 + gcc/testsuite/gcc.target/powerpc/20041111-1.c | 1 + .../gcc.target/powerpc/440-dlmzb-strlen-1.c | 1 + .../gcc.target/powerpc/440-macchw-1.c | 1 + .../gcc.target/powerpc/440-macchw-2.c | 1 + .../gcc.target/powerpc/440-macchwu-1.c | 1 + .../gcc.target/powerpc/440-macchwu-2.c | 1 + .../gcc.target/powerpc/440-machhw-1.c | 1 + .../gcc.target/powerpc/440-machhw-2.c | 1 + .../gcc.target/powerpc/440-machhwu-1.c | 1 + .../gcc.target/powerpc/440-machhwu-2.c | 1 + .../gcc.target/powerpc/440-maclhw-1.c | 1 + .../gcc.target/powerpc/440-maclhw-2.c | 1 + .../gcc.target/powerpc/440-maclhwu-1.c | 1 + .../gcc.target/powerpc/440-maclhwu-2.c | 1 + .../gcc.target/powerpc/440-mulchw-1.c | 1 + .../gcc.target/powerpc/440-mulchw-2.c | 1 + .../gcc.target/powerpc/440-mulchwu-1.c | 1 + .../gcc.target/powerpc/440-mulchwu-2.c | 1 + .../gcc.target/powerpc/440-mulhhw-1.c | 1 + .../gcc.target/powerpc/440-mulhhw-2.c | 1 + .../gcc.target/powerpc/440-mulhhwu-1.c | 1 + .../gcc.target/powerpc/440-mulhhwu-2.c | 1 + .../gcc.target/powerpc/440-mullhw-1.c | 1 + .../gcc.target/powerpc/440-mullhw-2.c | 1 + .../gcc.target/powerpc/440-mullhwu-1.c | 1 + .../gcc.target/powerpc/440-mullhwu-2.c | 1 + .../gcc.target/powerpc/440-nmacchw-1.c | 1 + .../gcc.target/powerpc/440-nmacchw-2.c | 1 + .../gcc.target/powerpc/440-nmachhw-1.c | 1 + .../gcc.target/powerpc/440-nmachhw-2.c | 1 + .../gcc.target/powerpc/440-nmaclhw-1.c | 1 + .../gcc.target/powerpc/440-nmaclhw-2.c | 1 + gcc/testsuite/gcc.target/powerpc/altivec-20.c | 1 + gcc/testsuite/gcc.target/powerpc/altivec-32.c | 1 + .../gcc.target/powerpc/altivec-cell-6.c | 1 + .../gcc.target/powerpc/altivec-cell-7.c | 1 + .../gcc.target/powerpc/altivec-cell-8.c | 1 + gcc/testsuite/gcc.target/powerpc/atomic-p7.c | 1 + gcc/testsuite/gcc.target/powerpc/atomic-p8.c | 1 + .../gcc.target/powerpc/atomic_load_store-p8.c | 1 + gcc/testsuite/gcc.target/powerpc/bcd-1.c | 1 + gcc/testsuite/gcc.target/powerpc/bcd-2.c | 1 + gcc/testsuite/gcc.target/powerpc/bcd-3.c | 1 + gcc/testsuite/gcc.target/powerpc/bool2-av.c | 1 + gcc/testsuite/gcc.target/powerpc/bool2-p5.c | 1 + gcc/testsuite/gcc.target/powerpc/bool2-p7.c | 1 + gcc/testsuite/gcc.target/powerpc/bool2-p8.c | 1 + gcc/testsuite/gcc.target/powerpc/bool3-av.c | 1 + gcc/testsuite/gcc.target/powerpc/bool3-p7.c | 1 + gcc/testsuite/gcc.target/powerpc/bool3-p8.c | 1 + gcc/testsuite/gcc.target/powerpc/bswap64-1.c | 1 + gcc/testsuite/gcc.target/powerpc/bswap64-3.c | 1 + gcc/testsuite/gcc.target/powerpc/builtins-1.c | 1 + gcc/testsuite/gcc.target/powerpc/builtins-2.c | 1 + .../gcc.target/powerpc/cell_builtin-1.c | 2 +- .../gcc.target/powerpc/cell_builtin-2.c | 2 +- .../gcc.target/powerpc/cell_builtin-3.c | 1 + .../gcc.target/powerpc/cell_builtin-4.c | 2 +- .../gcc.target/powerpc/cell_builtin-5.c | 1 + .../gcc.target/powerpc/cell_builtin-6.c | 1 + .../gcc.target/powerpc/cell_builtin-7.c | 1 + .../gcc.target/powerpc/cell_builtin-8.c | 1 + .../gcc.target/powerpc/crypto-builtin-1.c | 1 + .../gcc.target/powerpc/darwin-ehreturn-1.c | 1 + .../gcc.target/powerpc/darwin-longlong.c | 1 + .../gcc.target/powerpc/dfp-builtin-1.c | 1 + .../gcc.target/powerpc/dfp-builtin-2.c | 1 + gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c | 1 + gcc/testsuite/gcc.target/powerpc/dfp-dd.c | 1 + gcc/testsuite/gcc.target/powerpc/dfp-td-2.c | 1 + gcc/testsuite/gcc.target/powerpc/dfp-td-3.c | 1 + gcc/testsuite/gcc.target/powerpc/dfp-td.c | 1 + .../gcc.target/powerpc/direct-move-double1.c | 1 + .../gcc.target/powerpc/direct-move-double2.c | 1 + .../gcc.target/powerpc/direct-move-float1.c | 1 + .../gcc.target/powerpc/direct-move-float2.c | 1 + .../gcc.target/powerpc/direct-move-long1.c | 1 + .../gcc.target/powerpc/direct-move-long2.c | 1 + .../gcc.target/powerpc/direct-move-vint1.c | 1 + .../gcc.target/powerpc/direct-move-vint2.c | 1 + .../gcc.target/powerpc/extend-divide-1.c | 1 + .../gcc.target/powerpc/extend-divide-2.c | 1 + gcc/testsuite/gcc.target/powerpc/fusion.c | 1 + gcc/testsuite/gcc.target/powerpc/lhs-1.c | 1 + gcc/testsuite/gcc.target/powerpc/lhs-2.c | 1 + gcc/testsuite/gcc.target/powerpc/lhs-3.c | 1 + gcc/testsuite/gcc.target/powerpc/loop_align.c | 1 + gcc/testsuite/gcc.target/powerpc/mmfpgpr.c | 1 + .../gcc.target/powerpc/optimize-bswapdi-2.c | 1 + .../gcc.target/powerpc/optimize-bswapdi-3.c | 1 + .../gcc.target/powerpc/optimize-bswapsi-2.c | 1 + .../gcc.target/powerpc/p8vector-builtin-1.c | 1 + .../gcc.target/powerpc/p8vector-builtin-2.c | 1 + .../gcc.target/powerpc/p8vector-builtin-3.c | 1 + .../gcc.target/powerpc/p8vector-builtin-4.c | 1 + .../gcc.target/powerpc/p8vector-builtin-5.c | 1 + .../gcc.target/powerpc/p8vector-builtin-6.c | 1 + .../gcc.target/powerpc/p8vector-builtin-7.c | 1 + .../gcc.target/powerpc/p8vector-fp.c | 1 + .../gcc.target/powerpc/p8vector-int128-1.c | 1 + .../gcc.target/powerpc/p8vector-int128-2.c | 1 + .../gcc.target/powerpc/p8vector-ldst.c | 1 + .../gcc.target/powerpc/p8vector-vbpermq.c | 1 + .../gcc.target/powerpc/p8vector-vectorize-1.c | 1 + .../gcc.target/powerpc/p8vector-vectorize-2.c | 1 + .../gcc.target/powerpc/p8vector-vectorize-3.c | 1 + .../gcc.target/powerpc/p8vector-vectorize-4.c | 1 + .../gcc.target/powerpc/p8vector-vectorize-5.c | 1 + gcc/testsuite/gcc.target/powerpc/pack01.c | 1 + gcc/testsuite/gcc.target/powerpc/parity-1.c | 1 + gcc/testsuite/gcc.target/powerpc/popcount-1.c | 1 + gcc/testsuite/gcc.target/powerpc/popcount-2.c | 1 + gcc/testsuite/gcc.target/powerpc/popcount-3.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-6.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c | 1 + .../gcc.target/powerpc/ppc-fpconv-1.c | 1 + .../gcc.target/powerpc/ppc-fpconv-10.c | 1 + .../gcc.target/powerpc/ppc-fpconv-11.c | 1 + .../gcc.target/powerpc/ppc-fpconv-2.c | 1 + .../gcc.target/powerpc/ppc-fpconv-3.c | 1 + .../gcc.target/powerpc/ppc-fpconv-4.c | 1 + .../gcc.target/powerpc/ppc-fpconv-5.c | 1 + .../gcc.target/powerpc/ppc-fpconv-6.c | 1 + .../gcc.target/powerpc/ppc-fpconv-7.c | 1 + .../gcc.target/powerpc/ppc-fpconv-8.c | 1 + .../gcc.target/powerpc/ppc-fpconv-9.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-pow.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-round.c | 1 + .../gcc.target/powerpc/ppc-target-1.c | 1 + .../gcc.target/powerpc/ppc-target-2.c | 1 + .../gcc.target/powerpc/ppc-target-3.c | 1 + .../gcc.target/powerpc/ppc-target-4.c | 1 + .../gcc.target/powerpc/ppu-intrinsics.c | 1 + gcc/testsuite/gcc.target/powerpc/pr39902-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr42747.c | 1 + gcc/testsuite/gcc.target/powerpc/pr43154.c | 1 + gcc/testsuite/gcc.target/powerpc/pr46728-16.c | 1 + gcc/testsuite/gcc.target/powerpc/pr47251.c | 1 + gcc/testsuite/gcc.target/powerpc/pr47755-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr47755.c | 1 + gcc/testsuite/gcc.target/powerpc/pr47862.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48053-1.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48053-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48053-3.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48192.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48226.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48258-1.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48258-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr48857.c | 1 + gcc/testsuite/gcc.target/powerpc/pr52199.c | 1 + gcc/testsuite/gcc.target/powerpc/pr52457.c | 1 + gcc/testsuite/gcc.target/powerpc/pr52775.c | 1 + gcc/testsuite/gcc.target/powerpc/pr53199.c | 1 + gcc/testsuite/gcc.target/powerpc/pr53487.c | 1 + gcc/testsuite/gcc.target/powerpc/pr55033.c | 1 + gcc/testsuite/gcc.target/powerpc/pr56605.c | 1 + gcc/testsuite/gcc.target/powerpc/pr57150.c | 1 + gcc/testsuite/gcc.target/powerpc/pr57744.c | 1 + gcc/testsuite/gcc.target/powerpc/pr57949-1.c | 1 + gcc/testsuite/gcc.target/powerpc/pr57949-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr58673-1.c | 1 + gcc/testsuite/gcc.target/powerpc/pr58673-2.c | 1 + gcc/testsuite/gcc.target/powerpc/pr59054.c | 1 + gcc/testsuite/gcc.target/powerpc/pr60102.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr60137.c | 1 + gcc/testsuite/gcc.target/powerpc/pr60203.c | 1 + gcc/testsuite/gcc.target/powerpc/pr60676.c | 1 + .../gcc.target/powerpc/quad-atomic.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-1.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-2.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-3.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-4.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-5.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-6.c | 1 + gcc/testsuite/gcc.target/powerpc/sd-pwr6.c | 1 + gcc/testsuite/gcc.target/powerpc/sd-vsx.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c | 1 + .../gcc.target/powerpc/swaps-p8-10.c | 1 + .../gcc.target/powerpc/swaps-p8-11.c | 1 + .../gcc.target/powerpc/swaps-p8-12.c | 1 + .../gcc.target/powerpc/swaps-p8-13.c | 1 + .../gcc.target/powerpc/swaps-p8-14.c | 1 + .../gcc.target/powerpc/swaps-p8-15.c | 1 + .../gcc.target/powerpc/swaps-p8-16.c | 1 + .../gcc.target/powerpc/swaps-p8-17.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-6.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-7.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-8.c | 1 + gcc/testsuite/gcc.target/powerpc/swaps-p8-9.c | 1 + gcc/testsuite/gcc.target/powerpc/timode_off.c | 1 + .../gcc.target/powerpc/vsx-builtin-1.c | 1 + .../gcc.target/powerpc/vsx-builtin-2.c | 1 + .../gcc.target/powerpc/vsx-builtin-3.c | 1 + .../gcc.target/powerpc/vsx-builtin-4.c | 1 + .../gcc.target/powerpc/vsx-builtin-5.c | 1 + .../gcc.target/powerpc/vsx-builtin-6.c | 1 + .../gcc.target/powerpc/vsx-builtin-7.c | 1 + .../gcc.target/powerpc/vsx-builtin-8.c | 1 + .../gcc.target/powerpc/vsx-extract-1.c | 1 + .../gcc.target/powerpc/vsx-extract-2.c | 1 + .../gcc.target/powerpc/vsx-extract-3.c | 1 + gcc/testsuite/gcc.target/powerpc/vsx-float0.c | 1 + gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c | 1 + .../gcc.target/powerpc/vsx-sfminmax.c | 1 + .../gcc.target/powerpc/vsx-vector-1.c | 1 + .../gcc.target/powerpc/vsx-vector-2.c | 1 + .../gcc.target/powerpc/vsx-vector-3.c | 1 + .../gcc.target/powerpc/vsx-vector-4.c | 1 + .../gcc.target/powerpc/vsx-vectorize-1.c | 1 + .../gcc.target/powerpc/vsx-vectorize-2.c | 1 + .../gcc.target/powerpc/vsx-vectorize-3.c | 1 + .../gcc.target/powerpc/vsx-vectorize-4.c | 1 + .../gcc.target/powerpc/vsx-vectorize-5.c | 1 + .../gcc.target/powerpc/vsx-vectorize-6.c | 1 + .../gcc.target/powerpc/vsx-vectorize-7.c | 1 + .../gcc.target/powerpc/vsx-vectorize-8.c | 1 + gcc/testsuite/gcc.target/powerpc/warn-2.c | 1 + 228 files changed, 459 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc531042a6f..2b4ef77914a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,235 @@ +2014-11-04 Andrew Stubbs + + gcc/testsuite/ + * gcc.target/powerpc/pr60102.c: Move dg-skip-if after dg-options. + * gcc.target/powerpc/swaps-p8-12.c: Skip test if there would be + conflicting -mcpu options. + * gcc.target/powerpc/ppc-target-2.c: Likewise. + * gcc.target/powerpc/cell_builtin-7.c: Likewise. + * gcc.target/powerpc/dfp-builtin-1.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-1.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-7.c: Likewise. + * gcc.target/powerpc/p8vector-vectorize-1.c: Likewise. + * gcc.target/powerpc/pr48053-3.c: Likewise. + * gcc.target/powerpc/vsx-builtin-6.c: Likewise. + * gcc.target/powerpc/440-nmaclhw-1.c: Likewise. + * gcc.target/powerpc/pr57744.c: Likewise. + * gcc.target/powerpc/pr47862.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-8.c: Likewise. + * gcc.target/powerpc/recip-1.c: Likewise. + * gcc.target/powerpc/darwin-longlong.c: Likewise. + * gcc.target/powerpc/bool2-p8.c: Likewise. + * gcc.target/powerpc/mmfpgpr.c: Likewise. + * gcc.target/powerpc/pr60203.c: Likewise. + * gcc.target/powerpc/direct-move-vint1.c: Likewise. + * gcc.target/powerpc/bool2-av.c: Likewise. + * gcc.target/powerpc/pr43154.c: Likewise. + * gcc.target/powerpc/ppc-fma-2.c: Likewise. + * gcc.target/powerpc/swaps-p8-5.c: Likewise. + * gcc.target/powerpc/pr59054.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-11.c: Likewise. + * gcc.target/powerpc/440-mullhwu-1.c: Likewise. + * gcc.target/powerpc/swaps-p8-13.c: Likewise. + * gcc.target/powerpc/ppc-target-3.c: Likewise. + * gcc.target/powerpc/cell_builtin-8.c: Likewise. + * gcc.target/powerpc/dfp-builtin-2.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-2.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-8.c: Likewise. + * gcc.target/powerpc/p8vector-vectorize-2.c: Likewise. + * gcc.target/powerpc/p8vector-vbpermq.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-1.c: Likewise. + * gcc.target/powerpc/bswap64-3.c: Likewise. + * gcc.target/powerpc/bcd-1.c: Likewise. + * gcc.target/powerpc/440-mulchwu-1.c: Likewise. + * gcc.target/powerpc/extend-divide-1.c: Likewise. + * gcc.target/powerpc/vsx-builtin-7.c: Likewise. + * gcc.target/powerpc/pr48192.c: Likewise. + * gcc.target/powerpc/pr52775.c: Likewise. + * gcc.target/powerpc/p8vector-int128-1.c: Likewise. + * gcc.target/powerpc/pr58673-1.c: Likewise. + * gcc.target/powerpc/pr53487.c: Likewise. + * gcc.target/powerpc/440-nmaclhw-2.c: Likewise. + * gcc.target/powerpc/recip-2.c: Likewise. + * gcc.target/powerpc/p8vector-fp.c: Likewise. + * gcc.target/powerpc/direct-move-vint2.c: Likewise. + * gcc.target/powerpc/ppc-fma-3.c: Likewise. + * gcc.target/powerpc/pr57150.c: Likewise. + * gcc.target/powerpc/pr47251.c: Likewise. + * gcc.target/powerpc/swaps-p8-6.c: Likewise. + * gcc.target/powerpc/440-mullhwu-2.c: Likewise. + * gcc.target/powerpc/bool3-p7.c: Likewise. + * gcc.target/powerpc/cell_builtin-1.c: Likewise. + * gcc.target/powerpc/swaps-p8-14.c: Likewise. + * gcc.target/powerpc/ppc-target-4.c: Likewise. + * gcc.target/powerpc/440-mulhhw-1.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-1.c: Likewise. + * gcc.target/powerpc/440-machhw-1.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-3.c: Likewise. + * gcc.target/powerpc/vsx-mass-1.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-9.c: Likewise. + * gcc.target/powerpc/p8vector-vectorize-3.c: Likewise. + * gcc.target/powerpc/loop_align.c: Likewise. + * gcc.target/powerpc/lhs-1.c: Likewise. + * gcc.target/powerpc/sd-vsx.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-2.c: Likewise. + * gcc.target/powerpc/bcd-2.c: Likewise. + * gcc.target/powerpc/20040121-1.c: Likewise. + * gcc.target/powerpc/pr52457.c: Likewise. + * gcc.target/powerpc/440-mulchwu-2.c: Likewise. + * gcc.target/powerpc/extend-divide-2.c: Likewise. + * gcc.target/powerpc/vsx-builtin-8.c: Likewise. + * gcc.target/powerpc/p8vector-int128-2.c: Likewise. + * gcc.target/powerpc/pr58673-2.c: Likewise. + * gcc.target/powerpc/atomic-p7.c: Likewise. + * gcc.target/powerpc/recip-3.c: Likewise. + * gcc.target/powerpc/440-maclhwu-1.c: Likewise. + * gcc.target/powerpc/optimize-bswapsi-2.c: Likewise. + * gcc.target/powerpc/popcount-1.c: Likewise. + * gcc.target/powerpc/altivec-32.c: Likewise. + * gcc.target/powerpc/timode_off.c: Likewise. + * gcc.target/powerpc/p8vector-ldst.c: Likewise. + * gcc.target/powerpc/pack01.c: Likewise. + * gcc.target/powerpc/pr55033.c: Likewise. + * gcc.target/powerpc/ppc-fma-4.c: Likewise. + * gcc.target/powerpc/swaps-p8-7.c: Likewise. + * gcc.target/powerpc/ppu-intrinsics.c: Likewise. + * gcc.target/powerpc/440-macchwu-1.c: Likewise. + * gcc.target/powerpc/440-mulhhwu-1.c: Likewise. + * gcc.target/powerpc/440-mulchw-1.c: Likewise. + * gcc.target/powerpc/bool3-p8.c: Likewise. + * gcc.target/powerpc/cell_builtin-2.c: Likewise. + * gcc.target/powerpc/swaps-p8-15.c: Likewise. + * gcc.target/powerpc/440-macchw-1.c: Likewise. + * gcc.target/powerpc/440-mulhhw-2.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-2.c: Likewise. + * gcc.target/powerpc/440-machhw-2.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-4.c: Likewise. + * gcc.target/powerpc/pr46728-16.c: Likewise. + * gcc.target/powerpc/vsx-builtin-1.c: Likewise. + * gcc.target/powerpc/bool3-av.c: Likewise. + * gcc.target/powerpc/p8vector-vectorize-4.c: Likewise. + * gcc.target/powerpc/ppc-pow.c: Likewise. + * gcc.target/powerpc/lhs-2.c: Likewise. + * gcc.target/powerpc/pr39902-2.c: Likewise. + * gcc.target/powerpc/20041111-1.c: Likewise. + * gcc.target/powerpc/builtins-1.c: Likewise. + * gcc.target/powerpc/bcd-3.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. + * gcc.target/powerpc/pr57949-1.c: Likewise. + * gcc.target/powerpc/atomic-p8.c: Likewise. + * gcc.target/powerpc/sd-pwr6.c: Likewise. + * gcc.target/powerpc/recip-4.c: Likewise. + * gcc.target/powerpc/440-maclhwu-2.c: Likewise. + * gcc.target/powerpc/warn-2.c: Likewise. + * gcc.target/powerpc/parity-1.c: Likewise. + * gcc.target/powerpc/popcount-2.c: Likewise. + * gcc.target/powerpc/crypto-builtin-1.c: Likewise. + * gcc.target/powerpc/ppc-fma-5.c: Likewise. + * gcc.target/powerpc/swaps-p8-8.c: Likewise. + * gcc.target/powerpc/pr42747.c: Likewise. + * gcc.target/powerpc/440-macchwu-2.c: Likewise. + * gcc.target/powerpc/440-mulhhwu-2.c: Likewise. + * gcc.target/powerpc/dfp-dd-2.c: Likewise. + * gcc.target/powerpc/direct-move-float1.c: Likewise. + * gcc.target/powerpc/440-mulchw-2.c: Likewise. + * gcc.target/powerpc/cell_builtin-3.c: Likewise. + * gcc.target/powerpc/swaps-p8-16.c: Likewise. + * gcc.target/powerpc/440-macchw-2.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-3.c: Likewise. + * gcc.target/powerpc/dfp-td-2.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-5.c: Likewise. + * gcc.target/powerpc/vsx-builtin-2.c: Likewise. + * gcc.target/powerpc/p8vector-vectorize-5.c: Likewise. + * gcc.target/powerpc/lhs-3.c: Likewise. + * gcc.target/powerpc/440-nmachhw-1.c: Likewise. + * gcc.target/powerpc/builtins-2.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. + * gcc.target/powerpc/pr52199.c: Likewise. + * gcc.target/powerpc/440-machhwu-1.c: Likewise. + * gcc.target/powerpc/pr57949-2.c: Likewise. + * gcc.target/powerpc/recip-5.c: Likewise. + * gcc.target/powerpc/popcount-3.c: Likewise. + * gcc.target/powerpc/vsx-vector-1.c: Likewise. + * gcc.target/powerpc/swaps-p8-1.c: Likewise. + * gcc.target/powerpc/optimize-bswapdi-2.c: Likewise. + * gcc.target/powerpc/ppc-fma-6.c: Likewise. + * gcc.target/powerpc/vsx-extract-1.c: Likewise. + * gcc.target/powerpc/pr48226.c: Likewise. + * gcc.target/powerpc/swaps-p8-9.c: Likewise. + * gcc.target/powerpc/pr47755-2.c: Likewise. + * gcc.target/powerpc/direct-move-float2.c: Likewise. + * gcc.target/powerpc/cell_builtin-4.c: Likewise. + * gcc.target/powerpc/direct-move-double1.c: Likewise. + * gcc.target/powerpc/swaps-p8-17.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-4.c: Likewise. + * gcc.target/powerpc/dfp-td-3.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-6.c: Likewise. + * gcc.target/powerpc/440-nmacchw-1.c: Likewise. + * gcc.target/powerpc/vsx-builtin-3.c: Likewise. + * gcc.target/powerpc/440-nmachhw-2.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. + * gcc.target/powerpc/bool2-p5.c: Likewise. + * gcc.target/powerpc/440-machhwu-2.c: Likewise. + * gcc.target/powerpc/fusion.c: Likewise. + * gcc.target/powerpc/recip-6.c: Likewise. + * gcc.target/powerpc/altivec-cell-6.c: Likewise. + * gcc.target/powerpc/vsx-vector-2.c: Likewise. + * gcc.target/powerpc/swaps-p8-2.c: Likewise. + * gcc.target/powerpc/optimize-bswapdi-3.c: Likewise. + * gcc.target/powerpc/ppc-fma-7.c: Likewise. + * gcc.target/powerpc/vsx-extract-2.c: Likewise. + * gcc.target/powerpc/direct-move-long1.c: Likewise. + * gcc.target/powerpc/dfp-dd.c: Likewise. + * gcc.target/powerpc/swaps-p8-10.c: Likewise. + * gcc.target/powerpc/cell_builtin-5.c: Likewise. + * gcc.target/powerpc/direct-move-double2.c: Likewise. + * gcc.target/powerpc/440-mullhw-1.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-5.c: Likewise. + * gcc.target/powerpc/440-maclhw-1.c: Likewise. + * gcc.target/powerpc/dfp-td.c: Likewise. + * gcc.target/powerpc/p8vector-builtin-7.c: Likewise. + * gcc.target/powerpc/pr48053-1.c: Likewise. + * gcc.target/powerpc/440-nmacchw-2.c: Likewise. + * gcc.target/powerpc/vsx-builtin-4.c: Likewise. + * gcc.target/powerpc/pr60676.c: Likewise. + * gcc.target/powerpc/pr48258-1.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. + * gcc.target/powerpc/pr48857.c: Likewise. + * gcc.target/powerpc/quad-atomic.c: Likewise. + * gcc.target/powerpc/altivec-cell-7.c: Likewise. + * gcc.target/powerpc/atomic_load_store-p8.c: Likewise. + * gcc.target/powerpc/vsx-vector-3.c: Likewise. + * gcc.target/powerpc/swaps-p8-3.c: Likewise. + * gcc.target/powerpc/pr56605.c: Likewise. + * gcc.target/powerpc/vsx-extract-3.c: Likewise. + * gcc.target/powerpc/pr53199.c: Likewise. + * gcc.target/powerpc/direct-move-long2.c: Likewise. + * gcc.target/powerpc/swaps-p8-11.c: Likewise. + * gcc.target/powerpc/vsx-float0.c: Likewise. + * gcc.target/powerpc/ppc-target-1.c: Likewise. + * gcc.target/powerpc/altivec-20.c: Likewise. + * gcc.target/powerpc/cell_builtin-6.c: Likewise. + * gcc.target/powerpc/440-mullhw-2.c: Likewise. + * gcc.target/powerpc/darwin-ehreturn-1.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-6.c: Likewise. + * gcc.target/powerpc/440-maclhw-2.c: Likewise. + * gcc.target/powerpc/440-dlmzb-strlen-1.c: Likewise. + * gcc.target/powerpc/pr60137.c: Likewise. + * gcc.target/powerpc/bswap64-1.c: Likewise. + * gcc.target/powerpc/pr48053-2.c: Likewise. + * gcc.target/powerpc/vsx-builtin-5.c: Likewise. + * gcc.target/powerpc/pr48258-2.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. + * gcc.target/powerpc/vsx-sfminmax.c: Likewise. + * gcc.target/powerpc/bool2-p7.c: Likewise. + * gcc.target/powerpc/ppc-round.c: Likewise. + * gcc.target/powerpc/altivec-cell-8.c: Likewise. + * gcc.target/powerpc/vsx-vector-4.c: Likewise. + * gcc.target/powerpc/ppc-fma-1.c: Likewise. + * gcc.target/powerpc/swaps-p8-4.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-10.c: Likewise. + * gcc.target/powerpc/pr47755.c: Likewise. + 2014-11-04 Marek Polacek * c-c++-common/ubsan/object-size-10.c: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/20040121-1.c b/gcc/testsuite/gcc.target/powerpc/20040121-1.c index f819a4949aa..cb461c8005f 100644 --- a/gcc/testsuite/gcc.target/powerpc/20040121-1.c +++ b/gcc/testsuite/gcc.target/powerpc/20040121-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target powerpc*-*-darwin* } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */ /* { dg-options "-O2 -mcpu=G5 " } */ long long (*y)(int t); diff --git a/gcc/testsuite/gcc.target/powerpc/20041111-1.c b/gcc/testsuite/gcc.target/powerpc/20041111-1.c index 94de2f03ad6..9cd643c4537 100644 --- a/gcc/testsuite/gcc.target/powerpc/20041111-1.c +++ b/gcc/testsuite/gcc.target/powerpc/20041111-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power4" } } */ /* { dg-options "-mcpu=power4 -O2" } */ extern unsigned long long set_mask[65]; diff --git a/gcc/testsuite/gcc.target/powerpc/440-dlmzb-strlen-1.c b/gcc/testsuite/gcc.target/powerpc/440-dlmzb-strlen-1.c index 9571b669543..d255bd785f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-dlmzb-strlen-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-dlmzb-strlen-1.c @@ -3,6 +3,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "dlmzb\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-macchw-1.c b/gcc/testsuite/gcc.target/powerpc/440-macchw-1.c index 464eff43ba0..bb1dea16c29 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-macchw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-macchw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "macchw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-macchw-2.c b/gcc/testsuite/gcc.target/powerpc/440-macchw-2.c index bfe55d486d9..df1eb117cdf 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-macchw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-macchw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "macchw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-macchwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-macchwu-1.c index 1db6c6e710f..46a18cf5d84 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-macchwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-macchwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "macchwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-macchwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-macchwu-2.c index eb0b9251c84..79232941db8 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-macchwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-macchwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "macchwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-machhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-machhw-1.c index 78aac5cb6e4..68dde58ff6b 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-machhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-machhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "machhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-machhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-machhw-2.c index caf05eb4197..21da7110dfe 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-machhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-machhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "machhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-machhwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-machhwu-1.c index 7f1cab988e7..79b176d3e96 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-machhwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-machhwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "machhwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-machhwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-machhwu-2.c index 88a23087bd9..44e9ea387b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-machhwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-machhwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "machhwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-maclhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-maclhw-1.c index 327d2fbeafb..ba564fdd688 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-maclhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-maclhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "maclhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-maclhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-maclhw-2.c index 3e92d7ac858..2e3d9f233a8 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-maclhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-maclhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "maclhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-maclhwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-maclhwu-1.c index 248e54e8b34..bae72d75e41 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-maclhwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-maclhwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "maclhwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-maclhwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-maclhwu-2.c index c27988e2bf4..40e32d2d890 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-maclhwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-maclhwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "maclhwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulchw-1.c b/gcc/testsuite/gcc.target/powerpc/440-mulchw-1.c index 14b11e2f1d3..7291020b7cf 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulchw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulchw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulchw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulchw-2.c b/gcc/testsuite/gcc.target/powerpc/440-mulchw-2.c index d09561cb155..fd8191c749e 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulchw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulchw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulchw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulchwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-mulchwu-1.c index 44bb325ce0e..1d5efca268e 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulchwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulchwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulchwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulchwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-mulchwu-2.c index cc72f619355..e0cd14819fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulchwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulchwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulchwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulhhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-mulhhw-1.c index 4b27396edaf..e39c7e1ee7d 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulhhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulhhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulhhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulhhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-mulhhw-2.c index 4cfb7ebf01c..4b594e407c6 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulhhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulhhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulhhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-1.c index b255a9bdf0b..0cd82abd941 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulhhwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-2.c index e82bbc6787c..71284bd7d8b 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mulhhwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mulhhwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mullhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-mullhw-1.c index 91088575321..b0e48d7a756 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mullhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mullhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mullhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mullhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-mullhw-2.c index 023eb718785..5e4e068ffba 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mullhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mullhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mullhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mullhwu-1.c b/gcc/testsuite/gcc.target/powerpc/440-mullhwu-1.c index 3636e4c4e80..047c6253879 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mullhwu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mullhwu-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mullhwu " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-mullhwu-2.c b/gcc/testsuite/gcc.target/powerpc/440-mullhwu-2.c index 93bc9f3901a..9d68f7c95ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-mullhwu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-mullhwu-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "mullhwu\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmacchw-1.c b/gcc/testsuite/gcc.target/powerpc/440-nmacchw-1.c index 2fc78268814..eac1ee630b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmacchw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmacchw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmacchw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmacchw-2.c b/gcc/testsuite/gcc.target/powerpc/440-nmacchw-2.c index 3931ec53017..dd132ae5dc4 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmacchw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmacchw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmacchw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmachhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-nmachhw-1.c index 62362d03c2c..ac7368b0bec 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmachhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmachhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmachhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmachhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-nmachhw-2.c index 22dac059cc5..7b439891ea2 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmachhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmachhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmachhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-1.c b/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-1.c index 1fe13b13717..5fb51477754 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-1.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmaclhw " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-2.c b/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-2.c index f2abc4ccf87..56d5471ddf3 100644 --- a/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/440-nmaclhw-2.c @@ -2,6 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */ /* { dg-options "-O2 -mcpu=440" } */ /* { dg-final { scan-assembler "nmaclhw\\. " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-20.c b/gcc/testsuite/gcc.target/powerpc/altivec-20.c index 1af8ed7dc54..57f1661d1a4 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-20.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-20.c @@ -1,4 +1,5 @@ /* { dg-do compile { target powerpc_altivec_ok } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */ /* { dg-options "-maltivec -mcpu=G5 -O2 -Wno-deprecated" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-32.c b/gcc/testsuite/gcc.target/powerpc/altivec-32.c index fd9f4bccaf5..b13b6c9116f 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-32.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-32.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power6 -maltivec" } */ /* { dg-final { scan-assembler "vsel" } } */ /* { dg-final { scan-assembler "vrfim" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-cell-6.c b/gcc/testsuite/gcc.target/powerpc/altivec-cell-6.c index 5d62f18e13f..b6182a68172 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-cell-6.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-cell-6.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mabi=altivec -mcpu=cell" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-cell-7.c b/gcc/testsuite/gcc.target/powerpc/altivec-cell-7.c index ae77694008e..63e807380d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-cell-7.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-cell-7.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mabi=altivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "vor" 2 } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-cell-8.c b/gcc/testsuite/gcc.target/powerpc/altivec-cell-8.c index dda5eb0c114..faf230ea5fb 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-cell-8.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-cell-8.c @@ -1,6 +1,7 @@ /* { dg-do run { target { powerpc*-*-* && cell_hw } } } */ /* { dg-do compile { target { powerpc*-*-* && { ! cell_hw } } } } */ /* { dg-require-effective-target powerpc_ppu_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mabi=altivec -mcpu=cell" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/atomic-p7.c b/gcc/testsuite/gcc.target/powerpc/atomic-p7.c index 3442bfba4cd..9f62e6c4f0c 100644 --- a/gcc/testsuite/gcc.target/powerpc/atomic-p7.c +++ b/gcc/testsuite/gcc.target/powerpc/atomic-p7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-not "lbarx" } } */ /* { dg-final { scan-assembler-not "lharx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/atomic-p8.c b/gcc/testsuite/gcc.target/powerpc/atomic-p8.c index 17460ac4c73..b5255aac42b 100644 --- a/gcc/testsuite/gcc.target/powerpc/atomic-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/atomic-p8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler-times "lbarx" 7 } } */ /* { dg-final { scan-assembler-times "lharx" 7 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c b/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c index 8a5cbfaa36b..0163e73fa02 100644 --- a/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler-times "lq" 1 } } */ /* { dg-final { scan-assembler-times "stq" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-1.c b/gcc/testsuite/gcc.target/powerpc/bcd-1.c index c7496c23579..b4f3fb2c879 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-times "cdtbcd " 1 } } */ /* { dg-final { scan-assembler-times "cbcdtd " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-2.c b/gcc/testsuite/gcc.target/powerpc/bcd-2.c index d330b742376..70a2f8ff8ee 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler-times "bcdadd\[.\] " 2 } } */ /* { dg-final { scan-assembler-times "bcdsub\[.\] " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-3.c b/gcc/testsuite/gcc.target/powerpc/bcd-3.c index 436cecf6fff..4d47e481904 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-3.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler-times "bcdadd\[.\] " 4 } } */ /* { dg-final { scan-assembler-times "bcdsub\[.\] " 4 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool2-av.c b/gcc/testsuite/gcc.target/powerpc/bool2-av.c index fc56ce261c8..d5994c7eef7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool2-av.c +++ b/gcc/testsuite/gcc.target/powerpc/bool2-av.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -maltivec" } */ /* { dg-final { scan-assembler-not "\[ \t\]and " } } */ /* { dg-final { scan-assembler-not "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool2-p5.c b/gcc/testsuite/gcc.target/powerpc/bool2-p5.c index e4810d00d88..1f01fdbf63d 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool2-p5.c +++ b/gcc/testsuite/gcc.target/powerpc/bool2-p5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5 -mabi=altivec -mno-altivec -mno-vsx" } */ /* { dg-final { scan-assembler "\[ \t\]and " } } */ /* { dg-final { scan-assembler "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool2-p7.c b/gcc/testsuite/gcc.target/powerpc/bool2-p7.c index 274fcb090e2..7bfe8891c45 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool2-p7.c +++ b/gcc/testsuite/gcc.target/powerpc/bool2-p7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler-not "\[ \t\]and " } } */ /* { dg-final { scan-assembler-not "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool2-p8.c b/gcc/testsuite/gcc.target/powerpc/bool2-p8.c index 34f4d2df8b2..4001e5b3522 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool2-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/bool2-p8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-O2 -mcpu=power8" } */ /* { dg-final { scan-assembler-not "\[ \t\]and " } } */ /* { dg-final { scan-assembler-not "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool3-av.c b/gcc/testsuite/gcc.target/powerpc/bool3-av.c index d4aac786b2c..36ceacd80ee 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool3-av.c +++ b/gcc/testsuite/gcc.target/powerpc/bool3-av.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -mabi=altivec -maltivec -mno-vsx" } */ /* { dg-final { scan-assembler "\[ \t\]and " } } */ /* { dg-final { scan-assembler "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool3-p7.c b/gcc/testsuite/gcc.target/powerpc/bool3-p7.c index 34e3c9e79dd..75f446ef672 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool3-p7.c +++ b/gcc/testsuite/gcc.target/powerpc/bool3-p7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "\[ \t\]and " } } */ /* { dg-final { scan-assembler "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool3-p8.c b/gcc/testsuite/gcc.target/powerpc/bool3-p8.c index e1b2dfa7ee2..e95901a53a1 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool3-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/bool3-p8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-O2 -mcpu=power8" } */ /* { dg-final { scan-assembler "\[ \t\]and " } } */ /* { dg-final { scan-assembler "\[ \t\]or " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bswap64-1.c b/gcc/testsuite/gcc.target/powerpc/bswap64-1.c index 480e1cd7cfc..e58c2170355 100644 --- a/gcc/testsuite/gcc.target/powerpc/bswap64-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bswap64-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mno-popcntd -mcpu=power5" } */ /* { dg-require-effective-target lp64 } */ /* { dg-final { scan-assembler "lwbrx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bswap64-3.c b/gcc/testsuite/gcc.target/powerpc/bswap64-3.c index 7f1138cf94f..5a20c76f1f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/bswap64-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bswap64-3.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -mcpu=cell" } */ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_ppu_ok } */ diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-1.c b/gcc/testsuite/gcc.target/powerpc/builtins-1.c index 3da714698d6..8d0b7c9b19a 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-1.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O0" } */ /* Test that a number of newly added builtin overloads are accepted diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-2.c b/gcc/testsuite/gcc.target/powerpc/builtins-2.c index 7f4a3924efd..8f1e9cd0e49 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-2.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-2.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 " } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-1.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-1.c index f2bc7ffb3c4..7cc8fa7f766 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "lvlx" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-2.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-2.c index 220be571659..25c4e47412b 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "lvlxl" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-3.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-3.c index 4b437291ea5..6f808611346 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-3.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "lvrx" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-4.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-4.c index d73328ac43e..af1dc80de12 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-4.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "lvrxl" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-5.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-5.c index cc6adba8050..25d84619415 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-5.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "stvlx" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-6.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-6.c index 9c748d973d8..a6d9e5b45da 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-6.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "stvlxl" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-7.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-7.c index abdb3b0caf1..16b1d135881 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-7.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "stvrx" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/cell_builtin-8.c b/gcc/testsuite/gcc.target/powerpc/cell_builtin-8.c index ec7fc3031b4..828f44161de 100644 --- a/gcc/testsuite/gcc.target/powerpc/cell_builtin-8.c +++ b/gcc/testsuite/gcc.target/powerpc/cell_builtin-8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-O2 -maltivec -mcpu=cell" } */ /* { dg-final { scan-assembler-times "stvrxl" 19 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c index ce5da6a03d1..e4b460e6f67 100644 --- a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ typedef vector unsigned long long crypto_t; diff --git a/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c b/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c index 71ee094bfa5..1faef1f9923 100644 --- a/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c +++ b/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target powerpc*-*-darwin* } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G3" } } */ /* { dg-options "-mcpu=G3 -funwind-tables" } */ /* { dg-final { scan-assembler "bl save_world" } } */ /* { dg-final { scan-assembler ".byte\t0x6b" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/darwin-longlong.c b/gcc/testsuite/gcc.target/powerpc/darwin-longlong.c index 14b56d0828b..9c3d88b6634 100644 --- a/gcc/testsuite/gcc.target/powerpc/darwin-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/darwin-longlong.c @@ -1,5 +1,6 @@ /* { dg-do run { target powerpc*-*-* } } */ /* { dg-require-effective-target powerpc64 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */ /* { dg-options "-mcpu=G5" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c index 614f272642c..c776d139dc5 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-times "ddedpd " 4 } } */ /* { dg-final { scan-assembler-times "denbcd " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-builtin-2.c b/gcc/testsuite/gcc.target/powerpc/dfp-builtin-2.c index 189bc9ad6ae..1c1a4b34be7 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-builtin-2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-times "ddedpdq " 4 } } */ /* { dg-final { scan-assembler-times "denbcdq " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c b/gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c index fcb72bdff2b..193208ed76f 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c @@ -1,5 +1,6 @@ /* Test generation of DFP instructions for POWER6. */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -O1 -mcpu=power6" } */ /* { dg-final { scan-assembler-times "fneg" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-dd.c b/gcc/testsuite/gcc.target/powerpc/dfp-dd.c index 85da9070531..f18cd4408d9 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-dd.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-dd.c @@ -1,6 +1,7 @@ /* Test generation of DFP instructions for POWER6. */ /* Origin: Janis Johnson */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -mcpu=power6" } */ /* { dg-final { scan-assembler "dadd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-td-2.c b/gcc/testsuite/gcc.target/powerpc/dfp-td-2.c index a078cc46980..8d9fe6d5ebc 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-td-2.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-td-2.c @@ -1,5 +1,6 @@ /* Test generation of DFP instructions for POWER6. */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -O1 -mcpu=power6" } */ /* { dg-final { scan-assembler-times "fneg" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-td-3.c b/gcc/testsuite/gcc.target/powerpc/dfp-td-3.c index e825e5cad28..1323a48a080 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-td-3.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-td-3.c @@ -1,5 +1,6 @@ /* Test generation of DFP instructions for POWER6. */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -O1 -mcpu=power6" } */ /* { dg-final { scan-assembler-times "fneg" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/dfp-td.c b/gcc/testsuite/gcc.target/powerpc/dfp-td.c index 752ba88743f..2aff8681fd2 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp-td.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp-td.c @@ -1,6 +1,7 @@ /* Test generation of DFP instructions for POWER6. */ /* Origin: Janis Johnson */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -mcpu=power6" } */ /* { dg-final { scan-assembler "daddq" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c index 2569ac84369..d7c1553bdf6 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c index c8702204b70..96f5d786c18 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* Check whether we get the right bits for direct move at runtime. */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c index 524c0eead43..18808efac96 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c index 352e76166d0..1fa123b69b8 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* Check whether we get the right bits for direct move at runtime. */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c index 0a78f9cb258..25c8a5a2698 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c index cee9e0e0f1d..330cc372fe1 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* Check whether we get the right bits for direct move at runtime. */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c index 3067b9a8e62..980694263d2 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c index 0d8264faf71..1b6e3d1deeb 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* Check whether we get the right bits for direct move at runtime. */ diff --git a/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c b/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c index 5f948b7212f..365dead9fac 100644 --- a/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c +++ b/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-times "divwe " 1 } } */ /* { dg-final { scan-assembler-times "divweo " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c b/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c index 8ee6c8cf768..829cd40cae8 100644 --- a/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c +++ b/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2" } */ /* { dg-final { scan-assembler-times "divde " 1 } } */ /* { dg-final { scan-assembler-times "divdeo " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fusion.c b/gcc/testsuite/gcc.target/powerpc/fusion.c index 60e635972c4..b577a39e774 100644 --- a/gcc/testsuite/gcc.target/powerpc/fusion.c +++ b/gcc/testsuite/gcc.target/powerpc/fusion.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*le-*-* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -mtune=power8 -O3" } */ #define LARGE 0x12345 diff --git a/gcc/testsuite/gcc.target/powerpc/lhs-1.c b/gcc/testsuite/gcc.target/powerpc/lhs-1.c index 000ebcadfbe..4bd8c890b95 100644 --- a/gcc/testsuite/gcc.target/powerpc/lhs-1.c +++ b/gcc/testsuite/gcc.target/powerpc/lhs-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* { dg-final { scan-assembler-times "nop" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/lhs-2.c b/gcc/testsuite/gcc.target/powerpc/lhs-2.c index 748011f8d54..a6880372a67 100644 --- a/gcc/testsuite/gcc.target/powerpc/lhs-2.c +++ b/gcc/testsuite/gcc.target/powerpc/lhs-2.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -msched-groups" } */ /* { dg-final { scan-assembler "ori 1,1,0" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/lhs-3.c b/gcc/testsuite/gcc.target/powerpc/lhs-3.c index 31677ed667a..9aab4b32c7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/lhs-3.c +++ b/gcc/testsuite/gcc.target/powerpc/lhs-3.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "ori 2,2,0" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/loop_align.c b/gcc/testsuite/gcc.target/powerpc/loop_align.c index b49980ab4d9..43ffd9ba798 100644 --- a/gcc/testsuite/gcc.target/powerpc/loop_align.c +++ b/gcc/testsuite/gcc.target/powerpc/loop_align.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* powerpc-ibm-aix* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -falign-functions=16" } */ /* { dg-final { scan-assembler ".p2align 5,,31" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/mmfpgpr.c b/gcc/testsuite/gcc.target/powerpc/mmfpgpr.c index 7f2d3d3eff9..cb4af8f5804 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmfpgpr.c +++ b/gcc/testsuite/gcc.target/powerpc/mmfpgpr.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6x" } } */ /* { dg-options "-O2 -mcpu=power6x -mmfpgpr" } */ /* { dg-final { scan-assembler "mffgpr" } } */ /* { dg-final { scan-assembler "mftgpr" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-2.c b/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-2.c index 7337e99b1b3..90101bb5788 100644 --- a/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-2.c +++ b/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-2.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target stdint_types } */ /* { dg-require-effective-target lp64 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* This is a clone of gcc-dg/optimize-bswapdi-1.c, redone to use load and stores diff --git a/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-3.c b/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-3.c index 9dcd824c6ed..f20d137f0d3 100644 --- a/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-3.c +++ b/gcc/testsuite/gcc.target/powerpc/optimize-bswapdi-3.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target stdint_types } */ /* { dg-require-effective-target lp64 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* This is a clone of gcc-dg/optimize-bswapdi-1.c, redone to use load and stores diff --git a/gcc/testsuite/gcc.target/powerpc/optimize-bswapsi-2.c b/gcc/testsuite/gcc.target/powerpc/optimize-bswapsi-2.c index 34cc8236fbc..3563398181b 100644 --- a/gcc/testsuite/gcc.target/powerpc/optimize-bswapsi-2.c +++ b/gcc/testsuite/gcc.target/powerpc/optimize-bswapsi-2.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target stdint_types } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c index f0a68ec8845..f230936c784 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef TYPE diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c index 394f416403f..13df1485cba 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c index cb8a5b8afeb..57b75122b56 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 -ftree-vectorize -fvect-cost-model=dynamic" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c index 8aaa6eacaab..ae35a6bf0f3 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 -ftree-vectorize -fvect-cost-model=dynamic" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c index 36de9eb9bf0..d9040ab4055 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c index 8b81781c6a4..c087c92fb8d 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ vector float dbl_to_float_p8 (double x) { return __builtin_vsx_xscvdpspn (x); } diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c index 45a300fb944..d2c868c0692 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c b/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c index 3cfd8161dd6..052427473e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -mupper-regs-df -mupper-regs-sf -fno-math-errno" } */ float abs_sf (float *p) diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c b/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c index 86bde32419c..31e07dd2b41 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 -mvsx-timode" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-int128-2.c b/gcc/testsuite/gcc.target/powerpc/p8vector-int128-2.c index 1064894dc4c..39cbf387481 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-int128-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-int128-2.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c b/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c index 33f19991f76..fa255093f1e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -mupper-regs-df -mupper-regs-sf" } */ float load_sf (float *p) diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c index d1664985a56..231bd5458d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-O3 -mcpu=power8" } */ /* { dg-final { scan-assembler "vbpermq" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c index 99b7ddfb2d9..457422c2003 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c index a29240754f6..741d92b09fa 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c index b86f7de816b..e0fe4c4d74f 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c index 1e886387ee7..0603c52e5aa 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c index 0102510dadb..a4aee27840e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE diff --git a/gcc/testsuite/gcc.target/powerpc/pack01.c b/gcc/testsuite/gcc.target/powerpc/pack01.c index efac4087c78..8c9e4526959 100644 --- a/gcc/testsuite/gcc.target/powerpc/pack01.c +++ b/gcc/testsuite/gcc.target/powerpc/pack01.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/parity-1.c b/gcc/testsuite/gcc.target/powerpc/parity-1.c index c991d4caa0f..36050557812 100644 --- a/gcc/testsuite/gcc.target/powerpc/parity-1.c +++ b/gcc/testsuite/gcc.target/powerpc/parity-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* { dg-final { scan-assembler "popcntb" } } */ /* { dg-final { scan-assembler-not "mullw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/popcount-1.c b/gcc/testsuite/gcc.target/powerpc/popcount-1.c index c94d155e103..dfad50aa1b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/popcount-1.c +++ b/gcc/testsuite/gcc.target/powerpc/popcount-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* { dg-final { scan-assembler "popcntb" } } */ /* { dg-final { scan-assembler-not "mullw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/popcount-2.c b/gcc/testsuite/gcc.target/powerpc/popcount-2.c index 43b2ce7fae5..e1c0f5a2d7a 100644 --- a/gcc/testsuite/gcc.target/powerpc/popcount-2.c +++ b/gcc/testsuite/gcc.target/powerpc/popcount-2.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "popcntw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/popcount-3.c b/gcc/testsuite/gcc.target/powerpc/popcount-3.c index 341816f9f0b..fec9c7e4d02 100644 --- a/gcc/testsuite/gcc.target/powerpc/popcount-3.c +++ b/gcc/testsuite/gcc.target/powerpc/popcount-3.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "popcntd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c index a3d532485e1..2ea79b38bb9 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler-times "xvmadd" 4 } } */ /* { dg-final { scan-assembler-times "xsmadd\|fmadd\ " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c index f732b9fa417..f55363087b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power7 -ffast-math -ffp-contract=off" } */ /* { dg-final { scan-assembler-times "xvmadd" 2 } } */ /* { dg-final { scan-assembler-times "xsmadd\|fmadd\ " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c index 3203704be7c..49b5574cce1 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -maltivec -ffast-math" } */ /* { dg-final { scan-assembler-times "vmaddfp" 2 } } */ /* { dg-final { scan-assembler-times "fmadd " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c index 35836eec234..01761d312a9 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -maltivec -ffast-math -ffp-contract=off" } */ /* { dg-final { scan-assembler-times "vmaddfp" 1 } } */ /* { dg-final { scan-assembler-times "fmadd " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c index e5ba874e7ea..86710b709d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c @@ -1,6 +1,7 @@ /* { dg-do run { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5 -std=c99" } */ #ifndef __FP_FAST_FMA diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-6.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-6.c index c9132bbf8a4..3d36237bdb4 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-6.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5 -std=c99 -msoft-float" } */ /* { dg-final { scan-assembler-not "fmadd" } } */ /* { dg-final { scan-assembler-not "xsfmadd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c index f6e7e4ce561..b85b9c1585d 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -ffast-math" } */ /* { dg-final { scan-assembler-times "fmadd" 1 } } */ /* { dg-final { scan-assembler-times "fmsub " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-1.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-1.c index 8a6cc08b909..cd858097130 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-1.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler-times "lfiwax" 2 } } */ /* { dg-final { scan-assembler-times "lfiwzx" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-10.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-10.c index 59ba5f91f48..c7534d4897e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-10.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-10.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler "xsrdpiz" } } */ /* { dg-final { scan-assembler-not "friz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c index 23b3d1e15e8..2cdbd6a0eac 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5+" } } */ /* { dg-options "-O2 -mcpu=power5+ -ffast-math" } */ /* { dg-final { scan-assembler-not "xsrdpiz" } } */ /* { dg-final { scan-assembler "friz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-2.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-2.c index e0a83422593..1f8835cc066 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-2.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -ffast-math" } */ /* { dg-final { scan-assembler-times "lfiwax" 2 } } */ /* { dg-final { scan-assembler-not "lfiwzx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c index bf12113d28c..8ea0bac7132 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5 -ffast-math" } */ /* { dg-final { scan-assembler-not "lfiwax" } } */ /* { dg-final { scan-assembler-not "lfiwzx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-4.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-4.c index c4b9ea69bf0..834f337da97 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-4.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=750" } } */ /* { dg-options "-O2 -mcpu=750 -ffast-math" } */ /* { dg-final { scan-assembler-not "lfiwax" } } */ /* { dg-final { scan-assembler-not "lfiwzx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-5.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-5.c index a071fc12292..588840c35b4 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-5.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 2 } } */ /* { dg-final { scan-assembler-times "fctiwuz" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-6.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-6.c index 09ee1885a17..cd2755179c1 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-6.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O3 -mcpu=power6 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 2 } } */ /* { dg-final { scan-assembler-not "fctiwuz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c index 808cbc39078..a440196c197 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O3 -mcpu=power5 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 2 } } */ /* { dg-final { scan-assembler-not "fctiwuz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c index f841d7ee073..fc072a4acdc 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=750" } } */ /* { dg-options "-O3 -mcpu=750 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 6 } } */ /* { dg-final { scan-assembler-not "fctiwuz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-9.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-9.c index 836c030baa6..3efdcaaaa94 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-9.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-9.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler-not "lwz" } } */ /* { dg-final { scan-assembler-not "stw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-pow.c b/gcc/testsuite/gcc.target/powerpc/ppc-pow.c index 041a34b09d7..df8930d26fb 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-pow.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-pow.c @@ -4,6 +4,7 @@ and other ppc floating point varients. However, we need to also eliminate Darwin, since it doesn't like -mcpu=power6. */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power6 -mno-vsx -mno-altivec" } */ /* { dg-final { scan-assembler-times "fsqrt" 3 } } */ /* { dg-final { scan-assembler-times "fmul" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-round.c b/gcc/testsuite/gcc.target/powerpc/ppc-round.c index 20262aa449a..f1f5c3b78e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-round.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-round.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler-times "stfiwx" 4 } } */ /* { dg-final { scan-assembler-times "lfiwax" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-target-1.c b/gcc/testsuite/gcc.target/powerpc/ppc-target-1.c index b39fe4115bc..07c85bbfcaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-target-1.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-target-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power5 -mabi=altivec" } */ /* { dg-final { scan-assembler-times "fabs" 3 } } */ /* { dg-final { scan-assembler-times "fnabs" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-target-2.c b/gcc/testsuite/gcc.target/powerpc/ppc-target-2.c index e8a2de3636a..8f8183b87ac 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-target-2.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-target-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power5 -mabi=altivec" } */ /* { dg-final { scan-assembler-times "fabs" 3 } } */ /* { dg-final { scan-assembler-times "fnabs" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-target-3.c b/gcc/testsuite/gcc.target/powerpc/ppc-target-3.c index 286f31f63cb..d156acc8246 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-target-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-target-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power5 -mabi=no-altivec" } */ /* { dg-final { scan-assembler-times "fabs" 3 } } */ /* { dg-final { scan-assembler-times "fnabs" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-target-4.c b/gcc/testsuite/gcc.target/powerpc/ppc-target-4.c index ac728334cd5..08e189de49e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-target-4.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-target-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power5 -mno-altivec -mabi=altivec -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "vaddfp" 1 } } */ /* { dg-final { scan-assembler-times "xvaddsp" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppu-intrinsics.c b/gcc/testsuite/gcc.target/powerpc/ppu-intrinsics.c index 8efaeaba38a..12a1d3dd478 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppu-intrinsics.c +++ b/gcc/testsuite/gcc.target/powerpc/ppu-intrinsics.c @@ -1,4 +1,5 @@ /* { dg-do link { target { *-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=cell" } } */ /* { dg-options "-W -Wall -Wno-uninitialized -Wno-unused-but-set-variable -mcpu=cell" } */ /* Test some PPU intrinsics from . */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr39902-2.c b/gcc/testsuite/gcc.target/powerpc/pr39902-2.c index 463a36c1bee..bed89d4976a 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr39902-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr39902-2.c @@ -2,6 +2,7 @@ float types. */ /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-std=gnu99 -O -mcpu=power6" } */ /* { dg-final { scan-assembler-not "fneg" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr42747.c b/gcc/testsuite/gcc.target/powerpc/pr42747.c index 41362db1774..f8c1e086a4f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr42747.c +++ b/gcc/testsuite/gcc.target/powerpc/pr42747.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -ffast-math" } */ double foo (double x) { return __builtin_sqrt (x); } diff --git a/gcc/testsuite/gcc.target/powerpc/pr43154.c b/gcc/testsuite/gcc.target/powerpc/pr43154.c index eb1919743b5..d330c95696d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr43154.c +++ b/gcc/testsuite/gcc.target/powerpc/pr43154.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*le-*-* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* Make sure that vec_mergel and vec_mergeh are supported for V2DF/V2DI types. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr46728-16.c b/gcc/testsuite/gcc.target/powerpc/pr46728-16.c index d9488e3b7a3..22d91f7a8c6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr46728-16.c +++ b/gcc/testsuite/gcc.target/powerpc/pr46728-16.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -ffast-math -mcpu=power6" } */ double foo (double x, double y) diff --git a/gcc/testsuite/gcc.target/powerpc/pr47251.c b/gcc/testsuite/gcc.target/powerpc/pr47251.c index 6cb9f492e9c..9dee8ba27f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr47251.c +++ b/gcc/testsuite/gcc.target/powerpc/pr47251.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -msoft-float -mcpu=power7" } */ /* PR 47151: libgcc fails to build when using --with-cpu=power7 due to a missed diff --git a/gcc/testsuite/gcc.target/powerpc/pr47755-2.c b/gcc/testsuite/gcc.target/powerpc/pr47755-2.c index 739eab80551..3d6d4c952d5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr47755-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr47755-2.c @@ -1,6 +1,7 @@ /* { dg-do run { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target vsx_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* PR 47755: Make sure compiler generates correct code for various diff --git a/gcc/testsuite/gcc.target/powerpc/pr47755.c b/gcc/testsuite/gcc.target/powerpc/pr47755.c index 6dbd1fe02f3..8feef291e56 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr47755.c +++ b/gcc/testsuite/gcc.target/powerpc/pr47755.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxlxor" } } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr47862.c b/gcc/testsuite/gcc.target/powerpc/pr47862.c index 2a49f39759e..cc41fbc92ca 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr47862.c +++ b/gcc/testsuite/gcc.target/powerpc/pr47862.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler-not "stfd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr48053-1.c b/gcc/testsuite/gcc.target/powerpc/pr48053-1.c index 9c6479bb203..155d37e660b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48053-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48053-1.c @@ -1,5 +1,6 @@ /* Test for ICE arising from VSX code generation. */ /* { dg-do compile } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -funroll-loops" } */ /* { dg-require-effective-target powerpc_vsx_ok } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr48053-2.c b/gcc/testsuite/gcc.target/powerpc/pr48053-2.c index 2cdec6a68d7..c659bab7dda 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48053-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48053-2.c @@ -1,5 +1,6 @@ /* Test for ICE arising from VSX code generation. */ /* { dg-do compile } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* { dg-require-effective-target powerpc_vsx_ok } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr48053-3.c b/gcc/testsuite/gcc.target/powerpc/pr48053-3.c index 399b3d3ea36..fb5dae40338 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48053-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48053-3.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* Cut down example from s_scalbnl that aborted on 32-bit when the fix for diff --git a/gcc/testsuite/gcc.target/powerpc/pr48192.c b/gcc/testsuite/gcc.target/powerpc/pr48192.c index 5159260857c..44f78397384 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48192.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48192.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -std=gnu89" } */ /* Make sure that the conditional macros vector, bool, and pixel are not diff --git a/gcc/testsuite/gcc.target/powerpc/pr48226.c b/gcc/testsuite/gcc.target/powerpc/pr48226.c index a436f1da5c1..dca811c6400 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48226.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48226.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* The bug shows up if you compile with -maltivec or -mcpu=power7, due to one diff --git a/gcc/testsuite/gcc.target/powerpc/pr48258-1.c b/gcc/testsuite/gcc.target/powerpc/pr48258-1.c index 3ccbf7693d9..24a3c7e5370 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48258-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48258-1.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*le-*-* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "xvaddsp" 3 } } */ /* { dg-final { scan-assembler-times "xvminsp" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr48258-2.c b/gcc/testsuite/gcc.target/powerpc/pr48258-2.c index 23ed9f26d21..4d461882e02 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48258-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48258-2.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math" } */ /* { dg-final { scan-assembler "xvadddp" } } */ /* { dg-final { scan-assembler "xvmindp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr48857.c b/gcc/testsuite/gcc.target/powerpc/pr48857.c index e8201c037de..81f157f07c2 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr48857.c +++ b/gcc/testsuite/gcc.target/powerpc/pr48857.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -mabi=altivec" } */ /* { dg-final { scan-assembler-times "lxvd2x" 1 } } */ /* { dg-final { scan-assembler-times "stxvd2x" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr52199.c b/gcc/testsuite/gcc.target/powerpc/pr52199.c index e2231938839..febccc8e166 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr52199.c +++ b/gcc/testsuite/gcc.target/powerpc/pr52199.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -fmerge-all-constants" } */ struct locale_time_t diff --git a/gcc/testsuite/gcc.target/powerpc/pr52457.c b/gcc/testsuite/gcc.target/powerpc/pr52457.c index 4470e55023f..14181c25e7d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr52457.c +++ b/gcc/testsuite/gcc.target/powerpc/pr52457.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target vsx_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O1 -mcpu=power7" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/powerpc/pr52775.c b/gcc/testsuite/gcc.target/powerpc/pr52775.c index 4027819ee63..7f6b2af2db9 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr52775.c +++ b/gcc/testsuite/gcc.target/powerpc/pr52775.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power4" } } */ /* { dg-options "-O1 -mcpu=power4" } */ /* { dg-final { scan-assembler-times "fcfid" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr53199.c b/gcc/testsuite/gcc.target/powerpc/pr53199.c index 89a0cad06fe..822b2d8ce1e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr53199.c +++ b/gcc/testsuite/gcc.target/powerpc/pr53199.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -mavoid-indexed-addresses" } */ /* { dg-final { scan-assembler-times "lwbrx" 6 } } */ /* { dg-final { scan-assembler-times "stwbrx" 6 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr53487.c b/gcc/testsuite/gcc.target/powerpc/pr53487.c index aa411a32d6a..cd60238fff2 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr53487.c +++ b/gcc/testsuite/gcc.target/powerpc/pr53487.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -misel -ffast-math" } */ struct phylo_s { diff --git a/gcc/testsuite/gcc.target/powerpc/pr55033.c b/gcc/testsuite/gcc.target/powerpc/pr55033.c index fcc6bfcedd5..4f9e06cc836 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr55033.c +++ b/gcc/testsuite/gcc.target/powerpc/pr55033.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_eabi_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=8540" } } */ /* { dg-options "-mcpu=8540 -msoft-float -meabi -msdata=eabi -G 8 -fno-common" } */ extern void f (void); diff --git a/gcc/testsuite/gcc.target/powerpc/pr56605.c b/gcc/testsuite/gcc.target/powerpc/pr56605.c index 7e5af449d05..9cd86cce19f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr56605.c +++ b/gcc/testsuite/gcc.target/powerpc/pr56605.c @@ -1,5 +1,6 @@ /* PR rtl-optimization/56605 */ /* { dg-do compile { target { powerpc64-*-* && lp64 } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mvsx -mcpu=power7 -fno-unroll-loops -fdump-rtl-loop2_doloop" } */ void foo (short* __restrict sb, int* __restrict ia) diff --git a/gcc/testsuite/gcc.target/powerpc/pr57150.c b/gcc/testsuite/gcc.target/powerpc/pr57150.c index 119bc4c52fe..004822d0222 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr57150.c +++ b/gcc/testsuite/gcc.target/powerpc/pr57150.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -fcaller-saves" } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ /* { dg-final { scan-assembler-not "lxvw4x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr57744.c b/gcc/testsuite/gcc.target/powerpc/pr57744.c index 222fd6abd4f..e53e8d362bc 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr57744.c +++ b/gcc/testsuite/gcc.target/powerpc/pr57744.c @@ -1,6 +1,7 @@ /* { dg-do run { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort (void); diff --git a/gcc/testsuite/gcc.target/powerpc/pr57949-1.c b/gcc/testsuite/gcc.target/powerpc/pr57949-1.c index c2eecea1b84..6c8311ec6d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr57949-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr57949-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc_elfv2 } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* Verify that vs is 16-byte aligned in the absence of -mcompat-align-parm. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr57949-2.c b/gcc/testsuite/gcc.target/powerpc/pr57949-2.c index e5ad212f3e3..edbbf2a4156 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr57949-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr57949-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc_elfv2 } { "*" } { "" } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -mcompat-align-parm" } */ /* Verify that vs is not 16-byte aligned with -mcompat-align-parm. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr58673-1.c b/gcc/testsuite/gcc.target/powerpc/pr58673-1.c index 3149c8c7e4a..c99ce198987 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr58673-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr58673-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -m64 -O1" } */ enum typecode diff --git a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c index ab84670a736..380ccd099e5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 -m64 -funroll-loops" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr59054.c b/gcc/testsuite/gcc.target/powerpc/pr59054.c index 052f238ba0e..6871ea0d1af 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr59054.c +++ b/gcc/testsuite/gcc.target/powerpc/pr59054.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O0 -m64" } */ long foo (void) { return 0; } diff --git a/gcc/testsuite/gcc.target/powerpc/pr60102.c b/gcc/testsuite/gcc.target/powerpc/pr60102.c index d32e41d6873..59c0635a2f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60102.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60102.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ /* { dg-options "-mcpu=8548 -mspe -mabi=spe -g -mfloat-gprs=double" } */ +/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */ double pr60102 (double x, int m) diff --git a/gcc/testsuite/gcc.target/powerpc/pr60137.c b/gcc/testsuite/gcc.target/powerpc/pr60137.c index 4777a53829d..4c6cd91619a 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60137.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60137.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 -mno-vsx" } */ /* target/60137, compiler got a 'could not split insn error'. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr60203.c b/gcc/testsuite/gcc.target/powerpc/pr60203.c index 6a4b4fa1ddb..3a1f56ddc3b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60203.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60203.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ union u_ld { long double ld; double d[2]; }; diff --git a/gcc/testsuite/gcc.target/powerpc/pr60676.c b/gcc/testsuite/gcc.target/powerpc/pr60676.c index 86fd8c6d2e3..0ac93955f75 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60676.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60676.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxsldwi" } } */ /* { dg-final { scan-assembler "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c index 6cf278852d7..0d7089b945e 100644 --- a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c +++ b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O2" } */ /* Test whether we get the right bits for quad word atomic instructions. */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-1.c b/gcc/testsuite/gcc.target/powerpc/recip-1.c index 59660e35bd5..3c41d476a42 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-1.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power6" } */ /* { dg-final { scan-assembler-times "frsqrte" 2 } } */ /* { dg-final { scan-assembler-times "fmsub" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-2.c b/gcc/testsuite/gcc.target/powerpc/recip-2.c index 5c9fbbda510..e841302a301 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-2.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-2.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power5" } */ /* { dg-final { scan-assembler-times "frsqrtes" 1 } } */ /* { dg-final { scan-assembler-times "fmsubs" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-3.c b/gcc/testsuite/gcc.target/powerpc/recip-3.c index 1f8e30572b2..a1ed5c34e44 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-3.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-3.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power7" } */ /* { dg-final { scan-assembler-times "xsrsqrtedp\|frsqrte\ " 1 } } */ /* { dg-final { scan-assembler-times "xsmsub.dp\|fmsub\ " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-4.c b/gcc/testsuite/gcc.target/powerpc/recip-4.c index a62b60db201..7d95cc97a9a 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-4.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-4.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target powerpc_fprs } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -ftree-vectorize -mrecip -ffast-math -mcpu=power7 -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "xvrsqrtedp" 1 } } */ /* { dg-final { scan-assembler-times "xvmsub.dp" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-5.c b/gcc/testsuite/gcc.target/powerpc/recip-5.c index 11d125c110e..d5dcaf0e0fe 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-5.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -ftree-vectorize -mrecip=all -ffast-math -mcpu=power7 -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "xvredp" 4 } } */ /* { dg-final { scan-assembler-times "xvresp" 5 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-6.c b/gcc/testsuite/gcc.target/powerpc/recip-6.c index 7d71df6709d..e71403e77a2 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-6.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-6.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target vsx_hw } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O3 -ftree-vectorize -ffast-math -mrecip=all -mrecip-precision" } */ /* Check reciprocal estimate functions for accuracy. */ diff --git a/gcc/testsuite/gcc.target/powerpc/sd-pwr6.c b/gcc/testsuite/gcc.target/powerpc/sd-pwr6.c index 59b68ee36e2..74b4141d86b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sd-pwr6.c +++ b/gcc/testsuite/gcc.target/powerpc/sd-pwr6.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* powerpc-ibm-aix* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target dfp } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ /* { dg-options "-O2 -mcpu=power6 -mhard-dfp" } */ /* { dg-final { scan-assembler-not "lfiwzx" } } */ /* { dg-final { scan-assembler-times "lfd" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/sd-vsx.c b/gcc/testsuite/gcc.target/powerpc/sd-vsx.c index c7cb7511282..87ed77bb32a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sd-vsx.c +++ b/gcc/testsuite/gcc.target/powerpc/sd-vsx.c @@ -2,6 +2,7 @@ /* { dg-skip-if "" { powerpc*-*-darwin* powerpc-ibm-aix* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target dfp } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -mhard-dfp" } */ /* { dg-final { scan-assembler-times "lfiwzx" 2 } } */ /* { dg-final { scan-assembler-times "stfiwx" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c index 8658afb83dd..ab85e9160a9 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-10.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-10.c index c343eae8fc1..170649df608 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-10.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-10.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort (); diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-11.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-11.c index ccb49971285..699b5baf404 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-11.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-11.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c index c0b29bd511b..529d03e64c0 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-13.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-13.c index 522639b8811..787b02e6427 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-13.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-13.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c index 50d1ec4f5b8..7ca6ad5ccaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c index e7191b35069..172e4bd4cb1 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c index b57b1ed5134..2b7f73c3715 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c index 5b84b7431c9..7a9cfbf954e 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O1" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c index 93b49357dd8..6ce041ab519 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c index d305a469544..35dacd4b578 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c index dbaca6be6df..61fe99b357b 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c index 19606f0e0f1..b367fb6b514 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-6.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-6.c index dd25c526716..f7084529ce8 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-6.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-6.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort(); diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-7.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-7.c index 0cc37e28310..27a31b711ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-7.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-7.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort (); diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-8.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-8.c index 16edebe0bd8..7264d2586b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-8.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-8.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort (); diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-9.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-9.c index c12a5842a32..cdca070e3d7 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-9.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-9.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc64le-*-* } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ void abort (); diff --git a/gcc/testsuite/gcc.target/powerpc/timode_off.c b/gcc/testsuite/gcc.target/powerpc/timode_off.c index c169e503e80..5bb02687227 100644 --- a/gcc/testsuite/gcc.target/powerpc/timode_off.c +++ b/gcc/testsuite/gcc.target/powerpc/timode_off.c @@ -1,4 +1,5 @@ /* { dg-do assemble { target { lp64 } } } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -fno-align-functions -mtraceback=no -save-temps -mcpu=power5" } */ typedef int TImode __attribute__ ((mode (TI))); diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-1.c index 42d5b605641..973a7ff348b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xvadddp" } } */ /* { dg-final { scan-assembler "xvsubdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-2.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-2.c index 6d883dc90f1..d5d1e2de3fc 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xvaddsp" } } */ /* { dg-final { scan-assembler "xvsubsp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c index 7aeba6cb563..f337c1c745b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxsel" } } */ /* { dg-final { scan-assembler "vperm" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-4.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-4.c index bcf486377e8..00cba7ed353 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xvcmpeqdp." } } */ /* { dg-final { scan-assembler "xvcmpgtdp." } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-5.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-5.c index 5c24dc618ce..977eb8e2c18 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxpermdi" } } */ /* { dg-final { scan-assembler-not "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-6.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-6.c index a722b83b976..0a2102de2d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* Check whether tdiv and tsqrt instructions generate the correct code. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c index 55e999d3851..6b49b416bb7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* Test simple extract/insert/slat operations. Make sure all types are diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-8.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-8.c index 934cdad250c..bae3da43dc6 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7 -Wno-deprecated" } */ /* Test the various load/store varients. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c index c4e76e6ac0e..70ad3378d7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* { dg-final { scan-assembler "lfd" } } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c index be29af86110..d4d27ea5204 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxlor" } } */ /* { dg-final { scan-assembler-not "lfd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c index ea421265e41..7fdcb0b87c6 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-O3 -mcpu=power8" } */ /* { dg-final { scan-assembler "mfvsrd" } } */ /* { dg-final { scan-assembler-not "stfd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-float0.c b/gcc/testsuite/gcc.target/powerpc/vsx-float0.c index 7e4fea68957..2d6dd75d058 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-float0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-float0.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7" } */ /* { dg-final { scan-assembler "xxlxor" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c b/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c index adb5c9fae31..d8e0d7dea45 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power7 -ffast-math -mveclibabi=mass" } */ /* { dg-final { scan-assembler "bl\[\\. \]+atan2d2" } } */ /* { dg-final { scan-assembler "bl\[\\. \]+atan2f4" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-sfminmax.c b/gcc/testsuite/gcc.target/powerpc/vsx-sfminmax.c index d05ee19d373..dfe6b0b6987 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-sfminmax.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-sfminmax.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler "xsmaxdp" } } */ /* { dg-final { scan-assembler "xsmindp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-1.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-1.c index 5d23c0ae3e2..60a9e3ebb4e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler "xvadddp" } } */ /* { dg-final { scan-assembler "xvsubdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-2.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-2.c index 404e0403f0b..db3aa38e633 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power7 -ffast-math" } */ /* { dg-final { scan-assembler "xvaddsp" } } */ /* { dg-final { scan-assembler "xvsubsp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-3.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-3.c index 25cf376f837..9afd5dafbc8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power7" } */ /* { dg-final { scan-assembler "xvadddp" } } */ /* { dg-final { scan-assembler "xvsubdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-4.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-4.c index f2a9c59df10..fcad4094b16 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O2 -ftree-vectorize -mcpu=power7" } */ /* { dg-final { scan-assembler "xvaddsp" } } */ /* { dg-final { scan-assembler "xvsubsp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-1.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-1.c index 2538ad987d2..c246381bb36 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-align-1.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-2.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-2.c index 7bb7db0fa5f..89985099116 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-3.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-3.c index b99bcca49f4..faa4bd473d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-4.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-4.c index ad6f8f0fec5..779e70d8dd6 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-5.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-5.c index 32d05b29829..0357ab7d0c0 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-6.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-6.c index 8e6e288b9bf..7dbcde7101d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-6.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-7.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-7.c index c09583535e1..9e52aa890ae 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-8.c b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-8.c index af671ee79cb..038215ce4eb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vectorize-8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-mcpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* Taken from vect/vect-95.c. */ diff --git a/gcc/testsuite/gcc.target/powerpc/warn-2.c b/gcc/testsuite/gcc.target/powerpc/warn-2.c index e8c9096f774..45f490c057b 100644 --- a/gcc/testsuite/gcc.target/powerpc/warn-2.c +++ b/gcc/testsuite/gcc.target/powerpc/warn-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ /* { dg-options "-O -mcpu=power7 -mno-altivec" } */ /* { dg-warning "-mno-altivec disables vsx" "" { target *-*-* } 1 } */ -- 2.30.2