From patchwork Tue Jan 16 02:50:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Kewen.Lin" X-Patchwork-Id: 189543 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp985751dyb; Fri, 19 Jan 2024 04:59:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZ4RCjvk4vv0Kqd6HYToDuBKZGcQm26howIiZhrlZZUB6/+hTTbw6+nblARLAEPdNek0s3 X-Received: by 2002:a05:6214:ca7:b0:682:54bb:f65e with SMTP id s7-20020a0562140ca700b0068254bbf65emr1444629qvs.83.1705669149895; Fri, 19 Jan 2024 04:59:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705669149; cv=pass; d=google.com; s=arc-20160816; b=LvP1DIiYjttGeIoE3Y2by36TqXWtO+R5zKbaC7CNBGGhrd0c/LAQArCu5itTHOash9 R+TAhzRRp1TlRUePJQ9fHL4kFZjWbfTtT9mer5MDKw2aENtxPtKr4rRI77CLtmX3bh0A Khhn8JG3GLJzyJFhXgiuaQWs9fXaKsqzcAotY39lNvATQLBIrwX/FKxMB0BPn2L9mz6m hlpGE0aHu9BYwiV6jZuoh98uXLP2k+EtUSj83bC5AJ3qILlfKXyXLNvw7UvoZ65OibWw ME7qNJL23oTv3D0Fyf8qdTJz3PpRGt443pE5Xqf6mULzXpzdKBt+yC0k0BKBt5G0Rqn8 BFZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:subject:from:cc:to:content-language :user-agent:date:message-id:dkim-signature:arc-filter:dmarc-filter :delivered-to; bh=htcFJZSxjhoNc+cXleZfx9wv8gEiY++VFvyMXMxj/1k=; fh=TYscnGqW0KApfv6ZlemA7et4nVHZawC2xDR9ijCT1JQ=; b=Mc5QScnI4ODsF9dvjxSPX/wCDIW+AuKLS0Z0SJ8qLmY+sW9rMBzQ73jn5IC2E4ReSV X0WEoVZZTD4PJgfykcgkS7oaz51dd7dUKzLIqNGn+V8GXmb50WORuBIy+hCB6wf6E0TV lAAFkBi8lYKwF82BiSxWxs269rE2o1yBMD0ouR61KrIVi6Tc+5aRACR0GThEuZDZWiJD 95buF27LOaCMkkt8UhLFICKWhBNkEE5N2paYEdPQx8exKuh0PedghJDY+Zdu0ErWT54v ez9UEG/+ewrpRVfSVj1nimbkJVQKieo7APNgkTAR+mOiKwOPGhpwoi1eT/o5bxcrbU1i 8mwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=r4FTa6hl; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id n11-20020a0c9d4b000000b0068193e74c49si3373581qvf.515.2024.01.19.04.59.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 04:59:09 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=r4FTa6hl; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2637A3858414 for ; Fri, 19 Jan 2024 12:59:09 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id B7E223858D1E for ; Tue, 16 Jan 2024 02:50:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B7E223858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B7E223858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705373429; cv=none; b=ZL1D1tJIDSOm10A2aTIqVh3gqnT9VzE47iznbGPHVC5RZKr3DShEfCdOqet8NA9Hr4bJEDGk0JfvwoAxIOY09NCiHYczsv+aFnNO1/uiDfMOLVJO0wvGM3DtdDINPy7tByRKafw86WuURn+NNYpa1+B3OLSpEuQFutiCOLCVi+c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705373429; c=relaxed/simple; bh=tKHEs8TndevxPCmuza4ZpFEHf7NmUUlaEHP8OGN/h0o=; h=DKIM-Signature:Message-ID:Date:To:From:Subject:MIME-Version; b=HDMzXco1mkwfxzDWofEJ6fpG0LeWgdFKHu529JY+tK+YBEaEnpn35uQ5kj2XxSTlTIk+SLmuTdjlmToQ+zd+cCgF8zaXsAt4BWaLIHC2pZN7LMIrwETQM0jzZ9G916tR1I0vsRnKw2GQnPZ6n97gZiFOofvcrRkDBBNBNdWOb24= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40G04iXs015751; Tue, 16 Jan 2024 02:50:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : to : cc : from : subject : content-type : content-transfer-encoding : mime-version; s=pp1; bh=htcFJZSxjhoNc+cXleZfx9wv8gEiY++VFvyMXMxj/1k=; b=r4FTa6hlL0dEd4VgVodUlW5eh6VcQhj/MVIV15sTGk7wjgmTI0OVBUuwTr+qBj88H3jV 9fkZUDmlgxRggtoWyGu2OaE2w7Rzg8KonArWhg/efhNX2efk8wAGTjLQ837/cr636JD+ GO3KHO0b2Ca86s9TgxltnqCz/QV8fTQ7gfb5c7I1wwwciBds9ZVl1vRLY/iNq+3lUhnS GrSrbBu2GRl9uhohQTyZrXjBs3DcoTCWhRsxjpxc4wlNFbY35TI/7Gq6/r0RxChGQDL6 M5YvdhHAyDSXN9kidFi2mM/oYZkNBIxxgX1qQR9mQb6UnXZR+L2vL5MB1LG3HiGSe0bV BQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vnexf2y0n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 02:50:14 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40G2mZPM010063; Tue, 16 Jan 2024 02:50:14 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vnexf2y09-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 02:50:14 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 40G2Go2I023618; Tue, 16 Jan 2024 02:50:13 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vm7j1khqx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 02:50:12 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40G2o7lm48890316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Jan 2024 02:50:07 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 83BC12004B; Tue, 16 Jan 2024 02:50:07 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 72D4220043; Tue, 16 Jan 2024 02:50:03 +0000 (GMT) Received: from [9.197.235.127] (unknown [9.197.235.127]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 16 Jan 2024 02:50:03 +0000 (GMT) Message-ID: <05d9d61e-af45-908c-c509-4b81073c4486@linux.ibm.com> Date: Tue, 16 Jan 2024 10:50:01 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: GCC Patches Cc: Segher Boessenkool , Peter Bergner , David Edelsohn , Michael Meissner From: "Kewen.Lin" Subject: [PATCH] rs6000: Neuter option -mpower{8,9}-vector [PR109987] X-TM-AS-GCONF: 00 X-Proofpoint-GUID: SLZ9PA7Nxe3blIQqavd0BskmR1wG6Nk1 X-Proofpoint-ORIG-GUID: vgBsO9J-LqYDhwPNTI_R2DQJfCj4LXL7 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-15_17,2024-01-15_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 suspectscore=0 bulkscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401160021 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Mailman-Approved-At: Fri, 19 Jan 2024 12:56:10 +0000 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788523734746655782 X-GMAIL-MSGID: 1788523734746655782 Hi, As PR109987 and its duplicated bugs show, -mno-power8-vector (and -mno-power9-vector) cause some problems and as Segher pointed out in [1] they are workaround options, so this patch is to remove -m{no,}-power{8,9}-options. Like what we did for option -mdirect-move before, this patch still keep the corresponding internal flags and they are automatically set based on -mcpu. The test suite update takes some efforts, it consists of some aspects: - effective target powerpc_p{8,9}vector_ok are removed and replaced with powerpc_vsx_ok. - Some cases having -mpower{8,9}-vector are updated with -mvsx, some of them already have -mdejagnu-cpu. For those that don't have -mdejagnu-cpu, if -mdejagnu-cpu is needed for the test point, then it's appended; otherwise, add additional-options -mdejagnu-cpu=power{8,9} if has_arch_pwr{8,9} isn't satisfied. - Some test cases are updated with explicit -mvsx. - Some test cases with those two option mixed are adjusted to keep the test points, like -mpower8-vector -mno-power9-vector are updated with -mdejagnu-cpu=power8 -mvsx etc. - Some test cases with -mno-power{8,9}-vector are updated by replacing -mno-power{8,9}-vector with -mno-vsx, or just removing it. - For some cases, we don't always specify -mdejagnu-cpu to avoid to restrict the testing coverage, it would check has_arch_pwr{8,9} and appended that as need. - For vect test cases run, it doesn't specify -mcpu=power9 for power10 and up. Bootstrapped and regtested on: - powerpc64-linux-gnu P7/P8/P9 {-m32,-m64} - powerpc64le-linux-gnu P8/P9/P10 Although it's stage4 now, as the discussion in PR113115 we are still eager to neuter these two options. Segher/Peter, does this patch look good to you? [1] https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589303.html BR, Kewen ----- PR target/109987 gcc/ChangeLog: * config/rs6000/constraints.md (we): Update internal doc without referring to option -mpower9-vector. * config/rs6000/driver-rs6000.cc (asm_names): Remove mpower9-vector special handlings. * config/rs6000/rs6000-cpus.def (OTHER_P9_VECTOR_MASKS, OTHER_P8_VECTOR_MASKS): Merge to ... (OTHER_VSX_VECTOR_MASKS): ... here. * config/rs6000/rs6000.cc (rs6000_option_override_internal): Remove some error message handlings and explicit option mask adjustments on explicit option power{8,9}-vector conflicting with other options. (rs6000_print_isa_options): Update comments. (rs6000_disable_incompatible_switches): Remove power{8,9}-vector related array items and handlings. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Remove mpower9-vector special handlings. * config/rs6000/rs6000.opt: Make option power{8,9}-vector as WarnRemoved. * doc/extend.texi: Remove documentation referring to option -mpower8-vector. * doc/invoke.texi: Remove documentation for option -mpower{8,9}-vector and adjust some documentation referring to them. * doc/md.texi: Update documentation for constraint we. * doc/sourcebuild.texi: Remove documentation for powerpc_p8vector_ok. libgcc/ChangeLog: * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector with -mcpu=power9. * configure.ac: Update use of option -mpower9-vector with -mcpu=power9 -mvsx. * configure: Regenerate. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_powerpc_p8vector_ok): Remove. (check_effective_target_powerpc_p9vector_ok): Remove. (check_p8vector_hw_available): Replace -mpower8-vector with -mcpu=power8 -mvsx. (check_p9vector_hw_available): Replace -mpower9-vector with -mcpu=power9 -mvsx. (check_ppc_float128_hw_available): Likewise. (check_vect_support_and_set_flags): Replace -mpower8-vector with -mcpu=power8 -mvsx, and replace -mpower9-vector with -mcpu=power9 -mvsx or -mvsx if check_power10_hw_available. * g++.target/powerpc/altivec-19.C: Replace powerpc_p9vector_ok with powerpc_vsx_ok and append -mvsx to dg-options. * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-gt-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-gt-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-lt-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-lt-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-exp-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-exp-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-exp-3.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-exp-4.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-exp-5.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-3.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-4.c: Likewise. * gcc.target/powerpc/bfp/scalar-extract-sig-5.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-10.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-11.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-3.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-4.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-6.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-7.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Likewise. * gcc.target/powerpc/bfp/scalar-insert-exp-9.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-10.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-11.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-3.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-4.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-5.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-6.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-7.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-8.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-data-class-9.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-0.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-1.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-2.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-3.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-4.c: Likewise. * gcc.target/powerpc/bfp/scalar-test-neg-5.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-exp-0.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-exp-1.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-exp-2.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-exp-3.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-sig-0.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-sig-1.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-sig-2.c: Likewise. * gcc.target/powerpc/bfp/vec-extract-sig-3.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-0.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-1.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-2.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-3.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-4.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-5.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-6.c: Likewise. * gcc.target/powerpc/bfp/vec-insert-exp-7.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-0.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-1.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-2.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-3.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-4.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-5.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-6.c: Likewise. * gcc.target/powerpc/bfp/vec-test-data-class-7.c: Likewise. * gcc.target/powerpc/builtins-3-p9.c: Likewise. * gcc.target/powerpc/byte-in-either-range-0.c: Likewise. * gcc.target/powerpc/byte-in-either-range-1.c: Likewise. * gcc.target/powerpc/byte-in-range-0.c: Likewise. * gcc.target/powerpc/byte-in-range-1.c: Likewise. * gcc.target/powerpc/byte-in-set-0.c: Likewise. * gcc.target/powerpc/byte-in-set-1.c: Likewise. * gcc.target/powerpc/byte-in-set-2.c: Likewise. * gcc.target/powerpc/clone1.c: Likewise. * gcc.target/powerpc/ctz-3.c: Likewise. * gcc.target/powerpc/ctz-4.c: Likewise. * gcc.target/powerpc/darn-0.c: Likewise. * gcc.target/powerpc/darn-1.c: Likewise. * gcc.target/powerpc/darn-2.c: Likewise. * gcc.target/powerpc/dform-3.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-0.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-1.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-10.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-11.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-12.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-13.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-14.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-15.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-16.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-17.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-18.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-19.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-2.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-20.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-21.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-22.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-23.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-24.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-25.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-26.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-27.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-28.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-29.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-3.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-30.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-31.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-32.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-33.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-34.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-35.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-36.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-37.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-38.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-39.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-4.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-40.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-41.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-42.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-43.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-44.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-45.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-46.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-47.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-48.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-49.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-5.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-50.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-51.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-52.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-53.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-54.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-55.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-56.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-57.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-58.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-59.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-6.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-60.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-61.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-62.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-63.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-64.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-65.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-66.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-67.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-68.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-69.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-7.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-70.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-71.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-72.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-73.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-74.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-75.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-76.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-77.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-78.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-79.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-8.c: Likewise. * gcc.target/powerpc/dfp/dtstsfi-9.c: Likewise. * gcc.target/powerpc/direct-move-vector.c: Likewise. * gcc.target/powerpc/float128-type-2.c: Likewise. * gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c: Likewise. * gcc.target/powerpc/fold-vec-abs-int.p9.c: Likewise. * gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p9.c: Likewise. * gcc.target/powerpc/fold-vec-abs-longlong.p9.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-char.p9.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-short.p9.c: Likewise. * gcc.target/powerpc/fold-vec-extract-char.p9.c: Likewise. * gcc.target/powerpc/fold-vec-extract-float.p9.c: Likewise. * gcc.target/powerpc/fold-vec-extract-int.p9.c: Likewise. * gcc.target/powerpc/fold-vec-extract-longlong.p9.c: Likewise. * gcc.target/powerpc/fold-vec-extract-short.p9.c: Likewise. * gcc.target/powerpc/fold-vec-insert-char-p9.c: Likewise. * gcc.target/powerpc/fold-vec-insert-float-p9.c: Likewise. * gcc.target/powerpc/fold-vec-insert-int-p9.c: Likewise. * gcc.target/powerpc/fold-vec-insert-short-p9.c: Likewise. * gcc.target/powerpc/fold-vec-mult-int128-p9.c: Likewise. * gcc.target/powerpc/fold-vec-neg-int.p9.c: Likewise. * gcc.target/powerpc/fold-vec-neg-longlong.p9.c: Likewise. * gcc.target/powerpc/p9-dimode1.c: Likewise. * gcc.target/powerpc/p9-dimode2.c: Likewise. * gcc.target/powerpc/p9-extract-1.c: Likewise. * gcc.target/powerpc/p9-extract-2.c: Likewise. * gcc.target/powerpc/p9-extract-3.c: Likewise. * gcc.target/powerpc/p9-extract-4.c: Likewise. * gcc.target/powerpc/p9-fpcvt-1.c: Likewise. * gcc.target/powerpc/p9-fpcvt-2.c: Likewise. * gcc.target/powerpc/p9-fpcvt-3.c: Likewise. * gcc.target/powerpc/p9-lxvx-stxvx-1.c: Likewise. * gcc.target/powerpc/p9-lxvx-stxvx-2.c: Likewise. * gcc.target/powerpc/p9-lxvx-stxvx-3.c: Likewise. * gcc.target/powerpc/p9-minmax-1.c: Likewise. * gcc.target/powerpc/p9-minmax-2.c: Likewise. * gcc.target/powerpc/p9-minmax-3.c: Likewise. * gcc.target/powerpc/p9-novsx.c: Likewise. * gcc.target/powerpc/p9-permute.c: Likewise. * gcc.target/powerpc/p9-sign_extend-runnable.c: Likewise. * gcc.target/powerpc/p9-splat-1.c: Likewise. * gcc.target/powerpc/p9-splat-2.c: Likewise. * gcc.target/powerpc/p9-splat-3.c: Likewise. * gcc.target/powerpc/p9-splat-4.c: Likewise. * gcc.target/powerpc/p9-splat-5.c: Likewise. * gcc.target/powerpc/p9-vbpermd.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-1.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-2.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-3.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-4.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-5.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-6.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-7.c: Likewise. * gcc.target/powerpc/p9-vec-length-epil-8.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-1.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-2.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-3.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-4.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-5.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-6.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-7.c: Likewise. * gcc.target/powerpc/p9-vec-length-full-8.c: Likewise. * gcc.target/powerpc/p9-vneg.c: Likewise. * gcc.target/powerpc/p9-vparity.c: Likewise. * gcc.target/powerpc/p9-vpermr.c: Likewise. * gcc.target/powerpc/p9-xxbr-1.c: Likewise. * gcc.target/powerpc/p9-xxbr-2.c: Likewise. * gcc.target/powerpc/p9-xxbr-3.c: Likewise. * gcc.target/powerpc/ppc-fortran/pr80108-1.f90: Likewise. * gcc.target/powerpc/ppc-round3.c: Likewise. * gcc.target/powerpc/pr103124.c: Likewise. * gcc.target/powerpc/pr104015-1.c: Likewise. * gcc.target/powerpc/pr106769-p9.c: Likewise. * gcc.target/powerpc/pr107412.c: Likewise. * gcc.target/powerpc/pr110429.c: Likewise. * gcc.target/powerpc/pr66144-1.c: Likewise. * gcc.target/powerpc/pr71186.c: Likewise. * gcc.target/powerpc/pr71309.c: Likewise. * gcc.target/powerpc/pr71670.c: Likewise. * gcc.target/powerpc/pr71698.c: Likewise. * gcc.target/powerpc/pr71720.c: Likewise. * gcc.target/powerpc/pr72853.c: Likewise. * gcc.target/powerpc/pr78056-1.c: Likewise. * gcc.target/powerpc/pr78658.c: Likewise. * gcc.target/powerpc/pr78953.c: Likewise. * gcc.target/powerpc/pr79004.c: Likewise. * gcc.target/powerpc/pr79038-1.c: Likewise. * gcc.target/powerpc/pr79179.c: Likewise. * gcc.target/powerpc/pr79251.p9.c: Likewise. * gcc.target/powerpc/pr79799-1.c: Likewise. * gcc.target/powerpc/pr79799-2.c: Likewise. * gcc.target/powerpc/pr79799-3.c: Likewise. * gcc.target/powerpc/pr79799-5.c: Likewise. * gcc.target/powerpc/pr80695-p9.c: Likewise. * gcc.target/powerpc/pr81348.c: Likewise. * gcc.target/powerpc/pr81622.c: Likewise. * gcc.target/powerpc/pr84154-3.c: Likewise. * gcc.target/powerpc/pr90763.c: Likewise. * gcc.target/powerpc/pr96933-1.c: Likewise. * gcc.target/powerpc/sad-vectorize-1.c: Likewise. * gcc.target/powerpc/sad-vectorize-2.c: Likewise. * gcc.target/powerpc/signbit-2.c: Likewise. * gcc.target/powerpc/vadsdu-0.c: Likewise. * gcc.target/powerpc/vadsdu-1.c: Likewise. * gcc.target/powerpc/vadsdu-2.c: Likewise. * gcc.target/powerpc/vadsdu-3.c: Likewise. * gcc.target/powerpc/vadsdu-4.c: Likewise. * gcc.target/powerpc/vadsdu-5.c: Likewise. * gcc.target/powerpc/vadsdub-1.c: Likewise. * gcc.target/powerpc/vadsdub-2.c: Likewise. * gcc.target/powerpc/vadsduh-1.c: Likewise. * gcc.target/powerpc/vadsduh-2.c: Likewise. * gcc.target/powerpc/vadsduw-1.c: Likewise. * gcc.target/powerpc/vadsduw-2.c: Likewise. * gcc.target/powerpc/vec-extract-4.c: Likewise. * gcc.target/powerpc/vec-init-3.c: Likewise. * gcc.target/powerpc/vec-minmax-1.c: Likewise. * gcc.target/powerpc/vec-minmax-2.c: Likewise. * gcc.target/powerpc/vec-set-char.c: Likewise. * gcc.target/powerpc/vec-set-int.c: Likewise. * gcc.target/powerpc/vec-set-short.c: Likewise. * gcc.target/powerpc/vec_reve_2.c: Likewise. * gcc.target/powerpc/vector_float.c: Likewise. * gcc.target/powerpc/vslv-0.c: Likewise. * gcc.target/powerpc/vslv-1.c: Likewise. * gcc.target/powerpc/vsrv-0.c: Likewise. * gcc.target/powerpc/vsrv-1.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-0.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-1.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-10.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-11.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-12.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-13.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-14.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-2.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-3.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-4.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-5.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-6.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-7.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-8.c: Likewise. * gcc.target/powerpc/vsu/vec-all-ne-9.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-1.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-2.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-3.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-4.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-5.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-6.c: Likewise. * gcc.target/powerpc/vsu/vec-all-nez-7.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-0.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-1.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-10.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-11.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-12.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-13.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-14.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-2.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-3.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-4.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-5.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-6.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-7.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-8.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-9.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-1.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-2.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-3.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-4.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-5.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-6.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eqz-7.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-0.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-1.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-2.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-3.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-4.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-5.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-6.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-8.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpne-9.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-1.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-2.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-3.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-4.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-5.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-6.c: Likewise. * gcc.target/powerpc/vsu/vec-cmpnez-7.c: Likewise. * gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c: Likewise. * gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c: Likewise. * gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c: Likewise. * gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c: Likewise. * gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c: Likewise. * gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c: Likewise. * gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c: Likewise. * gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c: Likewise. * gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c: Likewise. * gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-0.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-1.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-10.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-11.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-12.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-13.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-2.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-3.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-4.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-5.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-6.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-7.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-8.c: Likewise. * gcc.target/powerpc/vsu/vec-xl-len-9.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-0.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-1.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-2.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-3.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-4.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-5.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-6.c: Likewise. * gcc.target/powerpc/vsu/vec-xlx-7.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-0.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-1.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-2.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-3.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-4.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-5.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-6.c: Likewise. * gcc.target/powerpc/vsu/vec-xrx-7.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-0.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-1.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-10.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-11.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-12.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-13.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-2.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-3.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-4.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-5.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-6.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-7.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-8.c: Likewise. * gcc.target/powerpc/vsu/vec-xst-len-9.c: Likewise. * gcc.target/powerpc/vsx-builtin-msum.c: Likewise. * gcc.target/powerpc/vsx-himode.c: Likewise. * gcc.target/powerpc/vsx-himode2.c: Likewise. * gcc.target/powerpc/vsx-himode3.c: Likewise. * gcc.target/powerpc/vsx-qimode.c: Likewise. * gcc.target/powerpc/vsx-qimode2.c: Likewise. * gcc.target/powerpc/vsx-qimode3.c: Likewise. * g++.target/powerpc/pr65240-1.C: Replace powerpc_p8vector_ok with powerpc_vsx_ok and append -mvsx to dg-options. * g++.target/powerpc/pr65240-2.C: Likewise. * g++.target/powerpc/pr65240-3.C: Likewise. * g++.target/powerpc/pr65242.C: Likewise. * g++.target/powerpc/pr67211.C: Likewise. * g++.target/powerpc/pr71294.C: Likewise. * g++.target/powerpc/pr84279.C: Likewise. * g++.target/powerpc/pr93974.C: Likewise. * gcc.target/powerpc/atomic-p8.c: Likewise. * gcc.target/powerpc/atomic_load_store-p8.c: Likewise. * gcc.target/powerpc/bcd-2.c: Likewise. * gcc.target/powerpc/bcd-3.c: Likewise. * gcc.target/powerpc/bool2-p8.c: Likewise. * gcc.target/powerpc/bool3-p8.c: Likewise. * gcc.target/powerpc/builtins-1.c: Likewise. * gcc.target/powerpc/builtins-3-p8.c: Likewise. * gcc.target/powerpc/builtins-5.c: Likewise. * gcc.target/powerpc/builtins-9.c: Likewise. * gcc.target/powerpc/crypto-builtin-1.c: Likewise. * gcc.target/powerpc/crypto-builtin-2.c: Likewise. * gcc.target/powerpc/direct-move-double1.c: Likewise. * gcc.target/powerpc/direct-move-float1.c: Likewise. * gcc.target/powerpc/direct-move-long1.c: Likewise. * gcc.target/powerpc/direct-move-vint1.c: Likewise. * gcc.target/powerpc/float128-type-1.c: Likewise. * gcc.target/powerpc/fold-vec-extract-char.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-double.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-float.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-int.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-longlong.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-short.p8.c: Likewise. * gcc.target/powerpc/fold-vec-insert-char-p8.c: Likewise. * gcc.target/powerpc/fold-vec-insert-float-p8.c: Likewise. * gcc.target/powerpc/fold-vec-insert-int-p8.c: Likewise. * gcc.target/powerpc/fold-vec-insert-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-insert-short-p8.c: Likewise. * gcc.target/powerpc/fold-vec-neg-char.c: Likewise. * gcc.target/powerpc/fold-vec-neg-floatdouble.c: Likewise. * gcc.target/powerpc/fold-vec-neg-int.p8.c: Likewise. * gcc.target/powerpc/fold-vec-neg-short.c: Likewise. * gcc.target/powerpc/fold-vec-select-double.c: Likewise. * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-longlong.c: Likewise. * gcc.target/powerpc/fusion.c: Likewise. * gcc.target/powerpc/fusion2.c: Likewise. * gcc.target/powerpc/mul-vectorize-1.c: Likewise. * gcc.target/powerpc/p8-vec-xl-xst-v2.c: Likewise. * gcc.target/powerpc/p8-vec-xl-xst.c: Likewise. * gcc.target/powerpc/p8vector-builtin-1.c: Likewise. * gcc.target/powerpc/p8vector-builtin-2.c: Likewise. * gcc.target/powerpc/p8vector-builtin-3.c: Likewise. * gcc.target/powerpc/p8vector-builtin-4.c: Likewise. * gcc.target/powerpc/p8vector-builtin-5.c: Likewise. * gcc.target/powerpc/p8vector-builtin-6.c: Likewise. * gcc.target/powerpc/p8vector-builtin-7.c: Likewise. * gcc.target/powerpc/p8vector-fp.c: Likewise. * gcc.target/powerpc/p8vector-int128-1.c: Likewise. * gcc.target/powerpc/p8vector-ldst.c: Likewise. * gcc.target/powerpc/p8vector-vbpermq.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-1.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-2.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-3.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-4.c: Likewise. * gcc.target/powerpc/p8vector-vectorize-5.c: Likewise. * gcc.target/powerpc/ppc-round2.c: Likewise. * gcc.target/powerpc/pr100866-1.c: Likewise. * gcc.target/powerpc/pr100866-2.c: Likewise. * gcc.target/powerpc/pr104239-1.c: Likewise. * gcc.target/powerpc/pr104239-2.c: Likewise. * gcc.target/powerpc/pr104239-3.c: Likewise. * gcc.target/powerpc/pr106769-p8.c: Likewise. * gcc.target/powerpc/pr108396.c: Likewise. * gcc.target/powerpc/pr111449-1.c: Likewise. * gcc.target/powerpc/pr57744.c: Likewise. * gcc.target/powerpc/pr58673-1.c: Likewise. * gcc.target/powerpc/pr58673-2.c: Likewise. * gcc.target/powerpc/pr60137.c: Likewise. * gcc.target/powerpc/pr60203.c: Likewise. * gcc.target/powerpc/pr66144-2.c: Likewise. * gcc.target/powerpc/pr66144-3.c: Likewise. * gcc.target/powerpc/pr68163.c: Likewise. * gcc.target/powerpc/pr69548.c: Likewise. * gcc.target/powerpc/pr70669.c: Likewise. * gcc.target/powerpc/pr71977-1.c: Likewise. * gcc.target/powerpc/pr71977-2.c: Likewise. * gcc.target/powerpc/pr72717.c: Likewise. * gcc.target/powerpc/pr78056-3.c: Likewise. * gcc.target/powerpc/pr78056-4.c: Likewise. * gcc.target/powerpc/pr78102.c: Likewise. * gcc.target/powerpc/pr78543.c: Likewise. * gcc.target/powerpc/pr78604.c: Likewise. * gcc.target/powerpc/pr79251.p8.c: Likewise. * gcc.target/powerpc/pr79354.c: Likewise. * gcc.target/powerpc/pr79544.c: Likewise. * gcc.target/powerpc/pr79907.c: Likewise. * gcc.target/powerpc/pr79951.c: Likewise. * gcc.target/powerpc/pr80315-1.c: Likewise. * gcc.target/powerpc/pr80315-2.c: Likewise. * gcc.target/powerpc/pr80315-3.c: Likewise. * gcc.target/powerpc/pr80315-4.c: Likewise. * gcc.target/powerpc/pr80510-2.c: Likewise. * gcc.target/powerpc/pr80695-p8.c: Likewise. * gcc.target/powerpc/pr80718.c: Likewise. * gcc.target/powerpc/pr84154-2.c: Likewise. * gcc.target/powerpc/pr88558-p8.c: Likewise. * gcc.target/powerpc/pr88845.c: Likewise. * gcc.target/powerpc/pr91903.c: Likewise. * gcc.target/powerpc/pr92923-2.c: Likewise. * gcc.target/powerpc/pr96933-2.c: Likewise. * gcc.target/powerpc/pr97019.c: Likewise. * gcc.target/powerpc/pragma_power8.c: Likewise. * gcc.target/powerpc/signbit-1.c: Likewise. * gcc.target/powerpc/swaps-p8-1.c: Likewise. * gcc.target/powerpc/swaps-p8-12.c: Likewise. * gcc.target/powerpc/swaps-p8-14.c: Likewise. * gcc.target/powerpc/swaps-p8-15.c: Likewise. * gcc.target/powerpc/swaps-p8-16.c: Likewise. * gcc.target/powerpc/swaps-p8-17.c: Likewise. * gcc.target/powerpc/swaps-p8-18.c: Likewise. * gcc.target/powerpc/swaps-p8-19.c: Likewise. * gcc.target/powerpc/swaps-p8-2.c: Likewise. * gcc.target/powerpc/swaps-p8-22.c: Likewise. * gcc.target/powerpc/swaps-p8-23.c: Likewise. * gcc.target/powerpc/swaps-p8-24.c: Likewise. * gcc.target/powerpc/swaps-p8-25.c: Likewise. * gcc.target/powerpc/swaps-p8-26.c: Likewise. * gcc.target/powerpc/swaps-p8-27.c: Likewise. * gcc.target/powerpc/swaps-p8-3.c: Likewise. * gcc.target/powerpc/swaps-p8-30.c: Likewise. * gcc.target/powerpc/swaps-p8-33.c: Likewise. * gcc.target/powerpc/swaps-p8-36.c: Likewise. * gcc.target/powerpc/swaps-p8-39.c: Likewise. * gcc.target/powerpc/swaps-p8-4.c: Likewise. * gcc.target/powerpc/swaps-p8-42.c: Likewise. * gcc.target/powerpc/swaps-p8-45.c: Likewise. * gcc.target/powerpc/swaps-p8-46.c: Likewise. * gcc.target/powerpc/swaps-p8-5.c: Likewise. * gcc.target/powerpc/unpack-vectorize-3.c: Likewise. * gcc.target/powerpc/upper-regs-sf.c: Likewise. * gcc.target/powerpc/vec-cmp.c: Likewise. * gcc.target/powerpc/vec-extract-1.c: Likewise. * gcc.target/powerpc/vec-extract-3.c: Likewise. * gcc.target/powerpc/vec-extract-5.c: Likewise. * gcc.target/powerpc/vec-extract-6.c: Likewise. * gcc.target/powerpc/vec-extract-7.c: Likewise. * gcc.target/powerpc/vec-extract-8.c: Likewise. * gcc.target/powerpc/vec-extract-9.c: Likewise. * gcc.target/powerpc/vec-init-10.c: Likewise. * gcc.target/powerpc/vec-init-6.c: Likewise. * gcc.target/powerpc/vec-init-7.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. * gcc.target/powerpc/vsx-extract-4.c: Likewise. * gcc.target/powerpc/vsx-extract-5.c: Likewise. * gcc.target/powerpc/vsx-simode.c: Likewise. * gcc.target/powerpc/vsx-simode2.c: Likewise. * gcc.target/powerpc/vsx-simode3.c: Likewise. * gcc.target/powerpc/builtins-4-int128-runnable.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok, replace -mpower8-vector with -mvsx, and add dg-additional-options -mdejagnu-cpu=power8 if !has_arch_pwr8. * gcc.target/powerpc/builtins-mergew-mergow.c: Likewise. * gcc.target/powerpc/direct-move-float3.c: Likewise. * gcc.target/powerpc/divkc3-2.c: Likewise. * gcc.target/powerpc/divkc3-3.c: Likewise. * gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c: Likewise. * gcc.target/powerpc/fold-vec-abs-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-add-4.c: Likewise. * gcc.target/powerpc/fold-vec-add-7.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-int.h: Likewise. * gcc.target/powerpc/fold-vec-cmp-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-short.h: Likewise. * gcc.target/powerpc/fold-vec-cntlz-char.c: Likewise. * gcc.target/powerpc/fold-vec-cntlz-int.c: Likewise. * gcc.target/powerpc/fold-vec-cntlz-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-cntlz-short.c: Likewise. * gcc.target/powerpc/fold-vec-ld-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-char.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-float.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-floatdouble.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-int.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-logical-eqv-short.c: Likewise. * gcc.target/powerpc/fold-vec-logical-ors-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-logical-other-char.c: Likewise. * gcc.target/powerpc/fold-vec-logical-other-int.c: Likewise. * gcc.target/powerpc/fold-vec-logical-other-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-logical-other-short.c: Likewise. * gcc.target/powerpc/fold-vec-mergehl-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-minmax-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-mult-int.c: Likewise. * gcc.target/powerpc/fold-vec-mult-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-neg-int.c: Likewise. * gcc.target/powerpc/fold-vec-neg-longlong.h: Likewise. * gcc.target/powerpc/fold-vec-pack-double.c: Likewise. * gcc.target/powerpc/fold-vec-pack-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c: Likewise. * gcc.target/powerpc/fold-vec-shift-left-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-shift-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-st-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-sub-int128.c: Likewise. * gcc.target/powerpc/fold-vec-sub-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-unpack-float.c: Likewise. * gcc.target/powerpc/fold-vec-unpack-int.c: Likewise. * gcc.target/powerpc/mmx-packs.c: Likewise. * gcc.target/powerpc/mmx-packssdw-1.c: Likewise. * gcc.target/powerpc/mmx-packsswb-1.c: Likewise. * gcc.target/powerpc/mmx-packuswb-1.c: Likewise. * gcc.target/powerpc/mmx-paddb-1.c: Likewise. * gcc.target/powerpc/mmx-paddd-1.c: Likewise. * gcc.target/powerpc/mmx-paddsb-1.c: Likewise. * gcc.target/powerpc/mmx-paddsw-1.c: Likewise. * gcc.target/powerpc/mmx-paddusb-1.c: Likewise. * gcc.target/powerpc/mmx-paddusw-1.c: Likewise. * gcc.target/powerpc/mmx-paddw-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpeqb-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpeqd-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpeqw-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpgtb-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpgtd-1.c: Likewise. * gcc.target/powerpc/mmx-pcmpgtw-1.c: Likewise. * gcc.target/powerpc/mmx-pmaddwd-1.c: Likewise. * gcc.target/powerpc/mmx-pmulhw-1.c: Likewise. * gcc.target/powerpc/mmx-pmullw-1.c: Likewise. * gcc.target/powerpc/mmx-pslld-1.c: Likewise. * gcc.target/powerpc/mmx-psllw-1.c: Likewise. * gcc.target/powerpc/mmx-psrad-1.c: Likewise. * gcc.target/powerpc/mmx-psraw-1.c: Likewise. * gcc.target/powerpc/mmx-psrld-1.c: Likewise. * gcc.target/powerpc/mmx-psrlw-1.c: Likewise. * gcc.target/powerpc/mmx-psubb-2.c: Likewise. * gcc.target/powerpc/mmx-psubd-2.c: Likewise. * gcc.target/powerpc/mmx-psubsb-1.c: Likewise. * gcc.target/powerpc/mmx-psubsw-1.c: Likewise. * gcc.target/powerpc/mmx-psubusb-1.c: Likewise. * gcc.target/powerpc/mmx-psubusw-1.c: Likewise. * gcc.target/powerpc/mmx-psubw-2.c: Likewise. * gcc.target/powerpc/mmx-punpckhbw-1.c: Likewise. * gcc.target/powerpc/mmx-punpckhdq-1.c: Likewise. * gcc.target/powerpc/mmx-punpckhwd-1.c: Likewise. * gcc.target/powerpc/mmx-punpcklbw-1.c: Likewise. * gcc.target/powerpc/mmx-punpckldq-1.c: Likewise. * gcc.target/powerpc/mmx-punpcklwd-1.c: Likewise. * gcc.target/powerpc/mulkc3-2.c: Likewise. * gcc.target/powerpc/mulkc3-3.c: Likewise. * gcc.target/powerpc/p8vector-builtin-8.c: Likewise. * gcc.target/powerpc/pr37191.c: Likewise. * gcc.target/powerpc/pr83862.c: Likewise. * gcc.target/powerpc/pr84154-1.c: Likewise. * gcc.target/powerpc/pr84220-sld2.c: Likewise. * gcc.target/powerpc/pr85456.c: Likewise. * gcc.target/powerpc/pr86731-longlong.c: Likewise. * gcc.target/powerpc/sse-addps-1.c: Likewise. * gcc.target/powerpc/sse-addss-1.c: Likewise. * gcc.target/powerpc/sse-andnps-1.c: Likewise. * gcc.target/powerpc/sse-andps-1.c: Likewise. * gcc.target/powerpc/sse-cmpss-1.c: Likewise. * gcc.target/powerpc/sse-cvtpi16ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtpi32ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtpi32x2ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtpi8ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtpspi16-1.c: Likewise. * gcc.target/powerpc/sse-cvtpspi8-1.c: Likewise. * gcc.target/powerpc/sse-cvtpu16ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtpu8ps-1.c: Likewise. * gcc.target/powerpc/sse-cvtsi2ss-1.c: Likewise. * gcc.target/powerpc/sse-cvtsi2ss-2.c: Likewise. * gcc.target/powerpc/sse-cvtss2si-1.c: Likewise. * gcc.target/powerpc/sse-cvtss2si-2.c: Likewise. * gcc.target/powerpc/sse-cvttss2si-1.c: Likewise. * gcc.target/powerpc/sse-cvttss2si-2.c: Likewise. * gcc.target/powerpc/sse-divps-1.c: Likewise. * gcc.target/powerpc/sse-divss-1.c: Likewise. * gcc.target/powerpc/sse-maxps-1.c: Likewise. * gcc.target/powerpc/sse-maxps-2.c: Likewise. * gcc.target/powerpc/sse-maxss-1.c: Likewise. * gcc.target/powerpc/sse-minps-1.c: Likewise. * gcc.target/powerpc/sse-minps-2.c: Likewise. * gcc.target/powerpc/sse-minss-1.c: Likewise. * gcc.target/powerpc/sse-movaps-1.c: Likewise. * gcc.target/powerpc/sse-movaps-2.c: Likewise. * gcc.target/powerpc/sse-movhlps-1.c: Likewise. * gcc.target/powerpc/sse-movhps-1.c: Likewise. * gcc.target/powerpc/sse-movhps-2.c: Likewise. * gcc.target/powerpc/sse-movlhps-1.c: Likewise. * gcc.target/powerpc/sse-movlps-1.c: Likewise. * gcc.target/powerpc/sse-movlps-2.c: Likewise. * gcc.target/powerpc/sse-movmskb-1.c: Likewise. * gcc.target/powerpc/sse-movmskps-1.c: Likewise. * gcc.target/powerpc/sse-movss-1.c: Likewise. * gcc.target/powerpc/sse-movss-2.c: Likewise. * gcc.target/powerpc/sse-movss-3.c: Likewise. * gcc.target/powerpc/sse-mulps-1.c: Likewise. * gcc.target/powerpc/sse-mulss-1.c: Likewise. * gcc.target/powerpc/sse-orps-1.c: Likewise. * gcc.target/powerpc/sse-pavgw-1.c: Likewise. * gcc.target/powerpc/sse-pmaxsw-1.c: Likewise. * gcc.target/powerpc/sse-pmaxub-1.c: Likewise. * gcc.target/powerpc/sse-pminsw-1.c: Likewise. * gcc.target/powerpc/sse-pminub-1.c: Likewise. * gcc.target/powerpc/sse-pmulhuw-1.c: Likewise. * gcc.target/powerpc/sse-psadbw-1.c: Likewise. * gcc.target/powerpc/sse-rcpps-1.c: Likewise. * gcc.target/powerpc/sse-rsqrtps-1.c: Likewise. * gcc.target/powerpc/sse-shufps-1.c: Likewise. * gcc.target/powerpc/sse-sqrtps-1.c: Likewise. * gcc.target/powerpc/sse-subps-1.c: Likewise. * gcc.target/powerpc/sse-subss-1.c: Likewise. * gcc.target/powerpc/sse-ucomiss-1.c: Likewise. * gcc.target/powerpc/sse-ucomiss-2.c: Likewise. * gcc.target/powerpc/sse-ucomiss-3.c: Likewise. * gcc.target/powerpc/sse-ucomiss-4.c: Likewise. * gcc.target/powerpc/sse-ucomiss-5.c: Likewise. * gcc.target/powerpc/sse-ucomiss-6.c: Likewise. * gcc.target/powerpc/sse-unpckhps-1.c: Likewise. * gcc.target/powerpc/sse-unpcklps-1.c: Likewise. * gcc.target/powerpc/sse-xorps-1.c: Likewise. * gcc.target/powerpc/sse2-addpd-1.c: Likewise. * gcc.target/powerpc/sse2-addsd-1.c: Likewise. * gcc.target/powerpc/sse2-andnpd-1.c: Likewise. * gcc.target/powerpc/sse2-andpd-1.c: Likewise. * gcc.target/powerpc/sse2-cmppd-1.c: Likewise. * gcc.target/powerpc/sse2-cmpsd-1.c: Likewise. * gcc.target/powerpc/sse2-comisd-1.c: Likewise. * gcc.target/powerpc/sse2-comisd-2.c: Likewise. * gcc.target/powerpc/sse2-comisd-3.c: Likewise. * gcc.target/powerpc/sse2-comisd-4.c: Likewise. * gcc.target/powerpc/sse2-comisd-5.c: Likewise. * gcc.target/powerpc/sse2-comisd-6.c: Likewise. * gcc.target/powerpc/sse2-cvtdq2pd-1.c: Likewise. * gcc.target/powerpc/sse2-cvtdq2ps-1.c: Likewise. * gcc.target/powerpc/sse2-cvtpd2dq-1.c: Likewise. * gcc.target/powerpc/sse2-cvtpd2ps-1.c: Likewise. * gcc.target/powerpc/sse2-cvtps2dq-1.c: Likewise. * gcc.target/powerpc/sse2-cvtps2pd-1.c: Likewise. * gcc.target/powerpc/sse2-cvtsd2si-1.c: Likewise. * gcc.target/powerpc/sse2-cvtsd2si-2.c: Likewise. * gcc.target/powerpc/sse2-cvtsd2ss-1.c: Likewise. * gcc.target/powerpc/sse2-cvtsi2sd-1.c: Likewise. * gcc.target/powerpc/sse2-cvtsi2sd-2.c: Likewise. * gcc.target/powerpc/sse2-cvtss2sd-1.c: Likewise. * gcc.target/powerpc/sse2-cvttpd2dq-1.c: Likewise. * gcc.target/powerpc/sse2-cvttps2dq-1.c: Likewise. * gcc.target/powerpc/sse2-cvttsd2si-1.c: Likewise. * gcc.target/powerpc/sse2-cvttsd2si-2.c: Likewise. * gcc.target/powerpc/sse2-divpd-1.c: Likewise. * gcc.target/powerpc/sse2-divsd-1.c: Likewise. * gcc.target/powerpc/sse2-maxpd-1.c: Likewise. * gcc.target/powerpc/sse2-maxsd-1.c: Likewise. * gcc.target/powerpc/sse2-minpd-1.c: Likewise. * gcc.target/powerpc/sse2-minsd-1.c: Likewise. * gcc.target/powerpc/sse2-mmx.c: Likewise. * gcc.target/powerpc/sse2-movhpd-1.c: Likewise. * gcc.target/powerpc/sse2-movhpd-2.c: Likewise. * gcc.target/powerpc/sse2-movlpd-1.c: Likewise. * gcc.target/powerpc/sse2-movlpd-2.c: Likewise. * gcc.target/powerpc/sse2-movmskpd-1.c: Likewise. * gcc.target/powerpc/sse2-movq-1.c: Likewise. * gcc.target/powerpc/sse2-movq-2.c: Likewise. * gcc.target/powerpc/sse2-movq-3.c: Likewise. * gcc.target/powerpc/sse2-movsd-1.c: Likewise. * gcc.target/powerpc/sse2-movsd-2.c: Likewise. * gcc.target/powerpc/sse2-movsd-3.c: Likewise. * gcc.target/powerpc/sse2-mulpd-1.c: Likewise. * gcc.target/powerpc/sse2-mulsd-1.c: Likewise. * gcc.target/powerpc/sse2-orpd-1.c: Likewise. * gcc.target/powerpc/sse2-packssdw-1.c: Likewise. * gcc.target/powerpc/sse2-packsswb-1.c: Likewise. * gcc.target/powerpc/sse2-packuswb-1.c: Likewise. * gcc.target/powerpc/sse2-paddb-1.c: Likewise. * gcc.target/powerpc/sse2-paddd-1.c: Likewise. * gcc.target/powerpc/sse2-paddq-1.c: Likewise. * gcc.target/powerpc/sse2-paddsb-1.c: Likewise. * gcc.target/powerpc/sse2-paddsw-1.c: Likewise. * gcc.target/powerpc/sse2-paddusb-1.c: Likewise. * gcc.target/powerpc/sse2-paddusw-1.c: Likewise. * gcc.target/powerpc/sse2-paddw-1.c: Likewise. * gcc.target/powerpc/sse2-pand-1.c: Likewise. * gcc.target/powerpc/sse2-pandn-1.c: Likewise. * gcc.target/powerpc/sse2-pavgb-1.c: Likewise. * gcc.target/powerpc/sse2-pavgw-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpeqb-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpeqd-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpeqw-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpgtb-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpgtd-1.c: Likewise. * gcc.target/powerpc/sse2-pcmpgtw-1.c: Likewise. * gcc.target/powerpc/sse2-pextrw.c: Likewise. * gcc.target/powerpc/sse2-pinsrw.c: Likewise. * gcc.target/powerpc/sse2-pmaddwd-1.c: Likewise. * gcc.target/powerpc/sse2-pmaxsw-1.c: Likewise. * gcc.target/powerpc/sse2-pmaxub-1.c: Likewise. * gcc.target/powerpc/sse2-pminsw-1.c: Likewise. * gcc.target/powerpc/sse2-pminub-1.c: Likewise. * gcc.target/powerpc/sse2-pmovmskb-1.c: Likewise. * gcc.target/powerpc/sse2-pmulhuw-1.c: Likewise. * gcc.target/powerpc/sse2-pmulhw-1.c: Likewise. * gcc.target/powerpc/sse2-pmullw-1.c: Likewise. * gcc.target/powerpc/sse2-pmuludq-1.c: Likewise. * gcc.target/powerpc/sse2-por-1.c: Likewise. * gcc.target/powerpc/sse2-psadbw-1.c: Likewise. * gcc.target/powerpc/sse2-pshufd-1.c: Likewise. * gcc.target/powerpc/sse2-pshufhw-1.c: Likewise. * gcc.target/powerpc/sse2-pshuflw-1.c: Likewise. * gcc.target/powerpc/sse2-pslld-1.c: Likewise. * gcc.target/powerpc/sse2-pslld-2.c: Likewise. * gcc.target/powerpc/sse2-pslldq-1.c: Likewise. * gcc.target/powerpc/sse2-psllq-1.c: Likewise. * gcc.target/powerpc/sse2-psllq-2.c: Likewise. * gcc.target/powerpc/sse2-psllw-1.c: Likewise. * gcc.target/powerpc/sse2-psllw-2.c: Likewise. * gcc.target/powerpc/sse2-psrad-1.c: Likewise. * gcc.target/powerpc/sse2-psrad-2.c: Likewise. * gcc.target/powerpc/sse2-psraw-1.c: Likewise. * gcc.target/powerpc/sse2-psraw-2.c: Likewise. * gcc.target/powerpc/sse2-psrld-1.c: Likewise. * gcc.target/powerpc/sse2-psrld-2.c: Likewise. * gcc.target/powerpc/sse2-psrldq-1.c: Likewise. * gcc.target/powerpc/sse2-psrlq-1.c: Likewise. * gcc.target/powerpc/sse2-psrlq-2.c: Likewise. * gcc.target/powerpc/sse2-psrlw-1.c: Likewise. * gcc.target/powerpc/sse2-psrlw-2.c: Likewise. * gcc.target/powerpc/sse2-psubb-1.c: Likewise. * gcc.target/powerpc/sse2-psubd-1.c: Likewise. * gcc.target/powerpc/sse2-psubq-1.c: Likewise. * gcc.target/powerpc/sse2-psubsb-1.c: Likewise. * gcc.target/powerpc/sse2-psubsw-1.c: Likewise. * gcc.target/powerpc/sse2-psubusb-1.c: Likewise. * gcc.target/powerpc/sse2-psubusw-1.c: Likewise. * gcc.target/powerpc/sse2-psubw-1.c: Likewise. * gcc.target/powerpc/sse2-punpckhbw-1.c: Likewise. * gcc.target/powerpc/sse2-punpckhdq-1.c: Likewise. * gcc.target/powerpc/sse2-punpckhqdq-1.c: Likewise. * gcc.target/powerpc/sse2-punpckhwd-1.c: Likewise. * gcc.target/powerpc/sse2-punpcklbw-1.c: Likewise. * gcc.target/powerpc/sse2-punpckldq-1.c: Likewise. * gcc.target/powerpc/sse2-punpcklqdq-1.c: Likewise. * gcc.target/powerpc/sse2-punpcklwd-1.c: Likewise. * gcc.target/powerpc/sse2-pxor-1.c: Likewise. * gcc.target/powerpc/sse2-shufpd-1.c: Likewise. * gcc.target/powerpc/sse2-sqrtpd-1.c: Likewise. * gcc.target/powerpc/sse2-subpd-1.c: Likewise. * gcc.target/powerpc/sse2-subsd-1.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-1.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-2.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-3.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-4.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-5.c: Likewise. * gcc.target/powerpc/sse2-ucomisd-6.c: Likewise. * gcc.target/powerpc/sse2-unpckhpd-1.c: Likewise. * gcc.target/powerpc/sse2-unpcklpd-1.c: Likewise. * gcc.target/powerpc/sse2-xorpd-1.c: Likewise. * gcc.target/powerpc/sse3-addsubpd.c: Likewise. * gcc.target/powerpc/sse3-addsubps.c: Likewise. * gcc.target/powerpc/sse3-haddpd.c: Likewise. * gcc.target/powerpc/sse3-haddps.c: Likewise. * gcc.target/powerpc/sse3-hsubpd.c: Likewise. * gcc.target/powerpc/sse3-hsubps.c: Likewise. * gcc.target/powerpc/sse3-lddqu.c: Likewise. * gcc.target/powerpc/sse3-movddup.c: Likewise. * gcc.target/powerpc/sse3-movshdup.c: Likewise. * gcc.target/powerpc/sse3-movsldup.c: Likewise. * gcc.target/powerpc/sse4_1-blendpd.c: Likewise. * gcc.target/powerpc/sse4_1-blendps-2.c: Likewise. * gcc.target/powerpc/sse4_1-blendps.c: Likewise. * gcc.target/powerpc/sse4_1-blendvpd.c: Likewise. * gcc.target/powerpc/sse4_1-blendvps.c: Likewise. * gcc.target/powerpc/sse4_1-ceilpd.c: Likewise. * gcc.target/powerpc/sse4_1-ceilps.c: Likewise. * gcc.target/powerpc/sse4_1-ceilsd.c: Likewise. * gcc.target/powerpc/sse4_1-ceilss.c: Likewise. * gcc.target/powerpc/sse4_1-floorpd.c: Likewise. * gcc.target/powerpc/sse4_1-floorps.c: Likewise. * gcc.target/powerpc/sse4_1-floorsd.c: Likewise. * gcc.target/powerpc/sse4_1-floorss.c: Likewise. * gcc.target/powerpc/sse4_1-pblendvb.c: Likewise. * gcc.target/powerpc/sse4_1-pblendw-2.c: Likewise. * gcc.target/powerpc/sse4_1-pblendw.c: Likewise. * gcc.target/powerpc/sse4_1-pcmpeqq.c: Likewise. * gcc.target/powerpc/sse4_1-pinsrb.c: Likewise. * gcc.target/powerpc/sse4_1-pinsrd.c: Likewise. * gcc.target/powerpc/sse4_1-pinsrq.c: Likewise. * gcc.target/powerpc/sse4_1-pmovsxbq.c: Likewise. * gcc.target/powerpc/sse4_1-pmovsxdq.c: Likewise. * gcc.target/powerpc/sse4_1-pmovsxwq.c: Likewise. * gcc.target/powerpc/sse4_1-pmuldq.c: Likewise. * gcc.target/powerpc/sse4_1-ptest-1.c: Likewise. * gcc.target/powerpc/sse4_1-roundpd-2.c: Likewise. * gcc.target/powerpc/sse4_1-roundpd-3.c: Likewise. * gcc.target/powerpc/sse4_2-pcmpgtq.c: Likewise. * gcc.target/powerpc/ssse3-pabsb.c: Likewise. * gcc.target/powerpc/ssse3-pabsd.c: Likewise. * gcc.target/powerpc/ssse3-pabsw.c: Likewise. * gcc.target/powerpc/ssse3-palignr.c: Likewise. * gcc.target/powerpc/ssse3-phaddd.c: Likewise. * gcc.target/powerpc/ssse3-phaddsw.c: Likewise. * gcc.target/powerpc/ssse3-phaddw.c: Likewise. * gcc.target/powerpc/ssse3-phsubd.c: Likewise. * gcc.target/powerpc/ssse3-phsubsw.c: Likewise. * gcc.target/powerpc/ssse3-phsubw.c: Likewise. * gcc.target/powerpc/ssse3-pmaddubsw.c: Likewise. * gcc.target/powerpc/ssse3-pmulhrsw.c: Likewise. * gcc.target/powerpc/ssse3-pshufb.c: Likewise. * gcc.target/powerpc/ssse3-psignb.c: Likewise. * gcc.target/powerpc/ssse3-psignd.c: Likewise. * gcc.target/powerpc/ssse3-psignw.c: Likewise. * gcc.target/powerpc/vec-cmp-sel.c: Likewise. * gcc.target/powerpc/vec-sld-modulo.c: Likewise. * gcc.target/powerpc/vec-srad-modulo.c: Likewise. * gcc.target/powerpc/vec-srd-modulo.c: Likewise. * gcc.target/powerpc/amo1.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok, replace -mpower9-vector with -mvsx, and add dg-additional-options -mdejagnu-cpu=power9 if !has_arch_pwr9. * gcc.target/powerpc/amo2.c: Likewise. * gcc.target/powerpc/dform-1.c: Likewise. * gcc.target/powerpc/dform-2.c: Likewise. * gcc.target/powerpc/float128-5.c: Likewise. * gcc.target/powerpc/float128-complex-2.c: Likewise. * gcc.target/powerpc/float128-fma1.c: Likewise. * gcc.target/powerpc/float128-hw.c: Likewise. * gcc.target/powerpc/float128-hw10.c: Likewise. * gcc.target/powerpc/float128-hw11.c: Likewise. * gcc.target/powerpc/float128-hw2.c: Likewise. * gcc.target/powerpc/float128-hw3.c: Likewise. * gcc.target/powerpc/float128-hw4.c: Likewise. * gcc.target/powerpc/float128-hw5.c: Likewise. * gcc.target/powerpc/float128-hw6.c: Likewise. * gcc.target/powerpc/float128-hw7.c: Likewise. * gcc.target/powerpc/float128-hw8.c: Likewise. * gcc.target/powerpc/float128-hw9.c: Likewise. * gcc.target/powerpc/float128-minmax.c: Likewise. * gcc.target/powerpc/float128-odd.c: Likewise. * gcc.target/powerpc/float128-sqrt1.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-int.p9.c: Likewise. * gcc.target/powerpc/gnuattr2.c: Likewise. * gcc.target/powerpc/pr71656-1.c: Likewise. * gcc.target/powerpc/pr71656-2.c: Likewise. * gcc.target/powerpc/pr81959.c: Likewise. * gcc.target/powerpc/pr82748-1.c: Likewise. * gcc.target/powerpc/pr82748-2.c: Likewise. * gcc.target/powerpc/pr111449-2.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok. * gcc.target/powerpc/pr98914.c: Likewise. * gcc.target/powerpc/versioned-copy-loop.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok and append -mvsx to dg-options. * gcc.target/powerpc/clone2.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok. * gcc.target/powerpc/p9-options-1.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok, replace -mno-power9-vector with -mno-vsx. * gcc.target/powerpc/pr84226.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok and append -mvsx to dg-options. * g++.dg/pr69667.C: Replace powerpc_p8vector_ok with powerpc_vsx_ok and append -mvsx to dg-options. * gcc.dg/vect/costmodel/ppc/costmodel-slp-perm.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok and replace -mpower9-vector with -mvsx. * gcc.dg/vect/pr109011-1.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok, and replace -mpower8-vector with -mdejagnu-cpu=power8 -mvsx or -mvsx under different conditions. * gcc.dg/vect/pr109011-2.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok, and replace -mpower9-vector with -mdejagnu-cpu=power9 -mvsx or -mvsx under different conditions. * gcc.dg/vect/pr109011-4.c: Likewise. * gcc.dg/vect/pr109011-3.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok, and replace -mpower8-vector -mno-power9-vector with -mdejagnu-cpu=power8 -mvsx. * gcc.dg/vect/pr109011-5.c: Likewise. * gcc.target/powerpc/altivec-35.c: Remove -mno-power8-vector. * gcc.target/powerpc/vsx-vector-7.c: Replace -mno-power8-vector with -mdejagnu-cpu=power7. * gcc.dg/vect/O3-pr70130.c: Replace -mcpu=power7 with options -mdejagnu-cpu=power7 -mvsx and remove option -mno-power9-vector -mno-power8-vector. * gfortran.dg/vect/pr45714-b.f: Likewise. * gcc.dg/vect/pr48765.c: Remove dg-skip-if and replace -mcpu=power7 with option -mdejagnu-cpu=power6. * gcc.target/powerpc/pr78056-2.c: Likewise. * gcc.target/powerpc/altivec-2-runnable.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok, remove -mpower8-vector and add dg-additional-options -mdejagnu-cpu=power8 if !has_arch_pwr8. * gcc.target/powerpc/altivec-37.c: Likewise. * gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p8.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok and replace -mpower8-vector with -mvsx. * gcc.target/powerpc/fold-vec-abs-longlong.p8.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-char.p8.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-int.p8.c: Likewise. * gcc.target/powerpc/fold-vec-cmp-short.p8.c: Likewise. * gcc.target/powerpc/fold-vec-mergeeo-floatdouble.c: Likewise. * gcc.target/powerpc/fold-vec-mergeeo-int.c: Likewise. * gcc.target/powerpc/fold-vec-mergeeo-longlong.c: Likewise. * gcc.target/powerpc/fold-vec-mult-int128-p8.c: Likewise. * gcc.target/powerpc/fold-vec-neg-longlong.p8.c: Likewise. * gcc.target/powerpc/pr104124.c: Likewise. * gcc.target/powerpc/vec-cmpne-long.c: Likewise. * gcc.target/powerpc/pr86731-fwrapv-longlong.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok, replace -mpower8-vector with -mvsx and add dg-additional-options -mdejagnu-cpu=power8 if !has_arch_pwr8. * gcc.target/powerpc/pr80098-1.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok and replace -mno-power9-vector with -mno-vsx. * gcc.target/powerpc/pr80098-2.c: Replace powerpc_p8vector_ok with powerpc_vsx_ok and replace -mno-power8-vector with -mno-vsx. * gcc.target/powerpc/pragma_misc9.c: Replace powerpc_p9vector_ok with powerpc_vsx_ok. --- gcc/config/rs6000/constraints.md | 4 +- gcc/config/rs6000/driver-rs6000.cc | 7 +- gcc/config/rs6000/rs6000-cpus.def | 20 ++---- gcc/config/rs6000/rs6000.cc | 60 ++-------------- gcc/config/rs6000/rs6000.h | 8 +-- gcc/config/rs6000/rs6000.opt | 4 +- gcc/doc/extend.texi | 4 +- gcc/doc/invoke.texi | 26 +++---- gcc/doc/md.texi | 4 +- gcc/doc/sourcebuild.texi | 3 - gcc/testsuite/g++.dg/pr69667.C | 4 +- gcc/testsuite/g++.target/powerpc/altivec-19.C | 4 +- gcc/testsuite/g++.target/powerpc/pr65240-1.C | 4 +- gcc/testsuite/g++.target/powerpc/pr65240-2.C | 4 +- gcc/testsuite/g++.target/powerpc/pr65240-3.C | 4 +- gcc/testsuite/g++.target/powerpc/pr65242.C | 4 +- gcc/testsuite/g++.target/powerpc/pr67211.C | 2 +- gcc/testsuite/g++.target/powerpc/pr71294.C | 4 +- gcc/testsuite/g++.target/powerpc/pr84279.C | 4 +- gcc/testsuite/g++.target/powerpc/pr93974.C | 4 +- gcc/testsuite/gcc.dg/vect/O3-pr70130.c | 2 +- .../vect/costmodel/ppc/costmodel-slp-perm.c | 4 +- gcc/testsuite/gcc.dg/vect/pr109011-1.c | 7 +- gcc/testsuite/gcc.dg/vect/pr109011-2.c | 5 +- gcc/testsuite/gcc.dg/vect/pr109011-3.c | 4 +- gcc/testsuite/gcc.dg/vect/pr109011-4.c | 5 +- gcc/testsuite/gcc.dg/vect/pr109011-5.c | 4 +- gcc/testsuite/gcc.dg/vect/pr48765.c | 3 +- .../gcc.target/powerpc/altivec-2-runnable.c | 7 +- gcc/testsuite/gcc.target/powerpc/altivec-35.c | 2 +- gcc/testsuite/gcc.target/powerpc/altivec-37.c | 7 +- gcc/testsuite/gcc.target/powerpc/amo1.c | 5 +- gcc/testsuite/gcc.target/powerpc/amo2.c | 5 +- gcc/testsuite/gcc.target/powerpc/atomic-p8.c | 4 +- .../gcc.target/powerpc/atomic_load_store-p8.c | 4 +- gcc/testsuite/gcc.target/powerpc/bcd-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/bcd-3.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-eq-0.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-eq-1.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-eq-2.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-gt-0.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-gt-1.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-gt-2.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-lt-0.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-lt-1.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-lt-2.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-unordered-0.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-unordered-1.c | 4 +- .../powerpc/bfp/scalar-cmp-exp-unordered-2.c | 4 +- .../powerpc/bfp/scalar-extract-exp-0.c | 4 +- .../powerpc/bfp/scalar-extract-exp-1.c | 4 +- .../powerpc/bfp/scalar-extract-exp-3.c | 4 +- .../powerpc/bfp/scalar-extract-exp-4.c | 4 +- .../powerpc/bfp/scalar-extract-exp-5.c | 4 +- .../powerpc/bfp/scalar-extract-sig-0.c | 4 +- .../powerpc/bfp/scalar-extract-sig-1.c | 4 +- .../powerpc/bfp/scalar-extract-sig-2.c | 4 +- .../powerpc/bfp/scalar-extract-sig-3.c | 4 +- .../powerpc/bfp/scalar-extract-sig-4.c | 4 +- .../powerpc/bfp/scalar-extract-sig-5.c | 4 +- .../powerpc/bfp/scalar-insert-exp-0.c | 4 +- .../powerpc/bfp/scalar-insert-exp-1.c | 4 +- .../powerpc/bfp/scalar-insert-exp-10.c | 4 +- .../powerpc/bfp/scalar-insert-exp-11.c | 4 +- .../powerpc/bfp/scalar-insert-exp-2.c | 4 +- .../powerpc/bfp/scalar-insert-exp-3.c | 4 +- .../powerpc/bfp/scalar-insert-exp-4.c | 4 +- .../powerpc/bfp/scalar-insert-exp-5.c | 4 +- .../powerpc/bfp/scalar-insert-exp-6.c | 4 +- .../powerpc/bfp/scalar-insert-exp-7.c | 4 +- .../powerpc/bfp/scalar-insert-exp-8.c | 4 +- .../powerpc/bfp/scalar-insert-exp-9.c | 4 +- .../powerpc/bfp/scalar-test-data-class-0.c | 4 +- .../powerpc/bfp/scalar-test-data-class-1.c | 4 +- .../powerpc/bfp/scalar-test-data-class-10.c | 4 +- .../powerpc/bfp/scalar-test-data-class-11.c | 4 +- .../powerpc/bfp/scalar-test-data-class-2.c | 4 +- .../powerpc/bfp/scalar-test-data-class-3.c | 4 +- .../powerpc/bfp/scalar-test-data-class-4.c | 4 +- .../powerpc/bfp/scalar-test-data-class-5.c | 4 +- .../powerpc/bfp/scalar-test-data-class-6.c | 4 +- .../powerpc/bfp/scalar-test-data-class-7.c | 4 +- .../powerpc/bfp/scalar-test-data-class-8.c | 4 +- .../powerpc/bfp/scalar-test-data-class-9.c | 4 +- .../powerpc/bfp/scalar-test-neg-0.c | 4 +- .../powerpc/bfp/scalar-test-neg-1.c | 4 +- .../powerpc/bfp/scalar-test-neg-2.c | 4 +- .../powerpc/bfp/scalar-test-neg-3.c | 4 +- .../powerpc/bfp/scalar-test-neg-4.c | 4 +- .../powerpc/bfp/scalar-test-neg-5.c | 4 +- .../powerpc/bfp/vec-extract-exp-0.c | 4 +- .../powerpc/bfp/vec-extract-exp-1.c | 4 +- .../powerpc/bfp/vec-extract-exp-2.c | 4 +- .../powerpc/bfp/vec-extract-exp-3.c | 4 +- .../powerpc/bfp/vec-extract-sig-0.c | 4 +- .../powerpc/bfp/vec-extract-sig-1.c | 4 +- .../powerpc/bfp/vec-extract-sig-2.c | 4 +- .../powerpc/bfp/vec-extract-sig-3.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-0.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-1.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-2.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-3.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-4.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-5.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-6.c | 4 +- .../gcc.target/powerpc/bfp/vec-insert-exp-7.c | 4 +- .../powerpc/bfp/vec-test-data-class-0.c | 4 +- .../powerpc/bfp/vec-test-data-class-1.c | 4 +- .../powerpc/bfp/vec-test-data-class-2.c | 4 +- .../powerpc/bfp/vec-test-data-class-3.c | 4 +- .../powerpc/bfp/vec-test-data-class-4.c | 4 +- .../powerpc/bfp/vec-test-data-class-5.c | 4 +- .../powerpc/bfp/vec-test-data-class-6.c | 4 +- .../powerpc/bfp/vec-test-data-class-7.c | 4 +- gcc/testsuite/gcc.target/powerpc/bool2-p8.c | 4 +- gcc/testsuite/gcc.target/powerpc/bool3-p8.c | 4 +- gcc/testsuite/gcc.target/powerpc/builtins-1.c | 4 +- .../gcc.target/powerpc/builtins-3-p8.c | 4 +- .../gcc.target/powerpc/builtins-3-p9.c | 4 +- .../powerpc/builtins-4-int128-runnable.c | 3 +- gcc/testsuite/gcc.target/powerpc/builtins-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/builtins-9.c | 4 +- .../powerpc/builtins-mergew-mergow.c | 3 +- .../powerpc/byte-in-either-range-0.c | 4 +- .../powerpc/byte-in-either-range-1.c | 4 +- .../gcc.target/powerpc/byte-in-range-0.c | 4 +- .../gcc.target/powerpc/byte-in-range-1.c | 4 +- .../gcc.target/powerpc/byte-in-set-0.c | 4 +- .../gcc.target/powerpc/byte-in-set-1.c | 4 +- .../gcc.target/powerpc/byte-in-set-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/clone1.c | 4 +- gcc/testsuite/gcc.target/powerpc/clone2.c | 2 +- .../gcc.target/powerpc/crypto-builtin-1.c | 4 +- .../gcc.target/powerpc/crypto-builtin-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/ctz-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/ctz-4.c | 4 +- gcc/testsuite/gcc.target/powerpc/darn-0.c | 4 +- gcc/testsuite/gcc.target/powerpc/darn-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/darn-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/dform-1.c | 5 +- gcc/testsuite/gcc.target/powerpc/dform-2.c | 5 +- gcc/testsuite/gcc.target/powerpc/dform-3.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-0.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-1.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-10.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-11.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-12.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-13.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-14.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-15.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-16.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-17.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-18.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-19.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-2.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-20.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-21.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-22.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-23.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-24.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-25.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-26.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-27.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-28.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-29.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-3.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-30.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-31.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-32.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-33.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-34.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-35.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-36.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-37.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-38.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-39.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-4.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-40.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-41.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-42.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-43.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-44.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-45.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-46.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-47.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-48.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-49.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-5.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-50.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-51.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-52.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-53.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-54.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-55.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-56.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-57.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-58.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-59.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-6.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-60.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-61.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-62.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-63.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-64.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-65.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-66.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-67.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-68.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-69.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-7.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-70.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-71.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-72.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-73.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-74.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-75.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-76.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-77.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-78.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-79.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-8.c | 4 +- .../gcc.target/powerpc/dfp/dtstsfi-9.c | 4 +- .../gcc.target/powerpc/direct-move-double1.c | 4 +- .../gcc.target/powerpc/direct-move-float1.c | 4 +- .../gcc.target/powerpc/direct-move-float3.c | 5 +- .../gcc.target/powerpc/direct-move-long1.c | 4 +- .../gcc.target/powerpc/direct-move-vector.c | 4 +- .../gcc.target/powerpc/direct-move-vint1.c | 4 +- gcc/testsuite/gcc.target/powerpc/divkc3-2.c | 5 +- gcc/testsuite/gcc.target/powerpc/divkc3-3.c | 5 +- gcc/testsuite/gcc.target/powerpc/float128-5.c | 5 +- .../gcc.target/powerpc/float128-complex-2.c | 3 +- .../gcc.target/powerpc/float128-fma1.c | 5 +- .../gcc.target/powerpc/float128-hw.c | 5 +- .../gcc.target/powerpc/float128-hw10.c | 5 +- .../gcc.target/powerpc/float128-hw11.c | 3 +- .../gcc.target/powerpc/float128-hw2.c | 5 +- .../gcc.target/powerpc/float128-hw3.c | 5 +- .../gcc.target/powerpc/float128-hw4.c | 5 +- .../gcc.target/powerpc/float128-hw5.c | 5 +- .../gcc.target/powerpc/float128-hw6.c | 5 +- .../gcc.target/powerpc/float128-hw7.c | 5 +- .../gcc.target/powerpc/float128-hw8.c | 5 +- .../gcc.target/powerpc/float128-hw9.c | 5 +- .../gcc.target/powerpc/float128-minmax.c | 3 +- .../gcc.target/powerpc/float128-odd.c | 5 +- .../gcc.target/powerpc/float128-sqrt1.c | 5 +- .../gcc.target/powerpc/float128-type-1.c | 4 +- .../gcc.target/powerpc/float128-type-2.c | 4 +- .../powerpc/fold-vec-abs-int-fwrapv.p9.c | 4 +- .../gcc.target/powerpc/fold-vec-abs-int.p9.c | 4 +- .../powerpc/fold-vec-abs-longlong-fwrapv.c | 5 +- .../powerpc/fold-vec-abs-longlong-fwrapv.p8.c | 4 +- .../powerpc/fold-vec-abs-longlong-fwrapv.p9.c | 4 +- .../powerpc/fold-vec-abs-longlong.c | 5 +- .../powerpc/fold-vec-abs-longlong.p8.c | 4 +- .../powerpc/fold-vec-abs-longlong.p9.c | 4 +- .../gcc.target/powerpc/fold-vec-add-4.c | 5 +- .../gcc.target/powerpc/fold-vec-add-7.c | 5 +- .../gcc.target/powerpc/fold-vec-cmp-char.p8.c | 4 +- .../gcc.target/powerpc/fold-vec-cmp-char.p9.c | 4 +- .../gcc.target/powerpc/fold-vec-cmp-int.h | 5 +- .../gcc.target/powerpc/fold-vec-cmp-int.p8.c | 4 +- .../gcc.target/powerpc/fold-vec-cmp-int.p9.c | 5 +- .../powerpc/fold-vec-cmp-longlong.c | 5 +- .../gcc.target/powerpc/fold-vec-cmp-short.h | 5 +- .../powerpc/fold-vec-cmp-short.p8.c | 4 +- .../powerpc/fold-vec-cmp-short.p9.c | 4 +- .../gcc.target/powerpc/fold-vec-cntlz-char.c | 5 +- .../gcc.target/powerpc/fold-vec-cntlz-int.c | 5 +- .../powerpc/fold-vec-cntlz-longlong.c | 5 +- .../gcc.target/powerpc/fold-vec-cntlz-short.c | 5 +- .../powerpc/fold-vec-extract-char.p8.c | 4 +- .../powerpc/fold-vec-extract-char.p9.c | 4 +- .../powerpc/fold-vec-extract-double.p8.c | 4 +- .../powerpc/fold-vec-extract-float.p8.c | 4 +- .../powerpc/fold-vec-extract-float.p9.c | 4 +- .../powerpc/fold-vec-extract-int.p8.c | 4 +- .../powerpc/fold-vec-extract-int.p9.c | 4 +- .../powerpc/fold-vec-extract-longlong.p8.c | 4 +- .../powerpc/fold-vec-extract-longlong.p9.c | 4 +- .../powerpc/fold-vec-extract-short.p8.c | 4 +- .../powerpc/fold-vec-extract-short.p9.c | 4 +- .../powerpc/fold-vec-insert-char-p8.c | 4 +- .../powerpc/fold-vec-insert-char-p9.c | 4 +- .../powerpc/fold-vec-insert-float-p8.c | 4 +- .../powerpc/fold-vec-insert-float-p9.c | 4 +- .../powerpc/fold-vec-insert-int-p8.c | 4 +- .../powerpc/fold-vec-insert-int-p9.c | 4 +- .../powerpc/fold-vec-insert-longlong.c | 4 +- .../powerpc/fold-vec-insert-short-p8.c | 4 +- .../powerpc/fold-vec-insert-short-p9.c | 4 +- .../gcc.target/powerpc/fold-vec-ld-longlong.c | 5 +- .../powerpc/fold-vec-logical-eqv-char.c | 5 +- .../powerpc/fold-vec-logical-eqv-float.c | 5 +- .../fold-vec-logical-eqv-floatdouble.c | 5 +- .../powerpc/fold-vec-logical-eqv-int.c | 5 +- .../powerpc/fold-vec-logical-eqv-longlong.c | 5 +- .../powerpc/fold-vec-logical-eqv-short.c | 5 +- .../powerpc/fold-vec-logical-ors-longlong.c | 7 +- .../powerpc/fold-vec-logical-other-char.c | 5 +- .../powerpc/fold-vec-logical-other-int.c | 5 +- .../powerpc/fold-vec-logical-other-longlong.c | 5 +- .../powerpc/fold-vec-logical-other-short.c | 5 +- .../powerpc/fold-vec-mergeeo-floatdouble.c | 4 +- .../gcc.target/powerpc/fold-vec-mergeeo-int.c | 4 +- .../powerpc/fold-vec-mergeeo-longlong.c | 4 +- .../powerpc/fold-vec-mergehl-longlong.c | 5 +- .../powerpc/fold-vec-minmax-longlong.c | 5 +- .../gcc.target/powerpc/fold-vec-mult-int.c | 5 +- .../powerpc/fold-vec-mult-int128-p8.c | 4 +- .../powerpc/fold-vec-mult-int128-p9.c | 4 +- .../powerpc/fold-vec-mult-longlong.c | 5 +- .../gcc.target/powerpc/fold-vec-neg-char.c | 2 +- .../powerpc/fold-vec-neg-floatdouble.c | 4 +- .../gcc.target/powerpc/fold-vec-neg-int.c | 5 +- .../gcc.target/powerpc/fold-vec-neg-int.p8.c | 4 +- .../gcc.target/powerpc/fold-vec-neg-int.p9.c | 4 +- .../powerpc/fold-vec-neg-longlong.h | 5 +- .../powerpc/fold-vec-neg-longlong.p8.c | 4 +- .../powerpc/fold-vec-neg-longlong.p9.c | 4 +- .../gcc.target/powerpc/fold-vec-neg-short.c | 2 +- .../gcc.target/powerpc/fold-vec-pack-double.c | 5 +- .../powerpc/fold-vec-pack-longlong.c | 5 +- .../powerpc/fold-vec-select-double.c | 4 +- .../fold-vec-shift-left-longlong-fwrapv.c | 5 +- .../powerpc/fold-vec-shift-left-longlong.c | 5 +- .../powerpc/fold-vec-shift-longlong.c | 5 +- .../gcc.target/powerpc/fold-vec-st-longlong.c | 5 +- .../fold-vec-store-builtin_vec_xst-longlong.c | 2 +- .../gcc.target/powerpc/fold-vec-sub-int128.c | 5 +- .../powerpc/fold-vec-sub-longlong.c | 5 +- .../powerpc/fold-vec-unpack-float.c | 5 +- .../gcc.target/powerpc/fold-vec-unpack-int.c | 5 +- gcc/testsuite/gcc.target/powerpc/fusion.c | 2 +- gcc/testsuite/gcc.target/powerpc/fusion2.c | 2 +- gcc/testsuite/gcc.target/powerpc/gnuattr2.c | 5 +- gcc/testsuite/gcc.target/powerpc/mmx-packs.c | 3 +- .../gcc.target/powerpc/mmx-packssdw-1.c | 3 +- .../gcc.target/powerpc/mmx-packsswb-1.c | 3 +- .../gcc.target/powerpc/mmx-packuswb-1.c | 3 +- .../gcc.target/powerpc/mmx-paddb-1.c | 3 +- .../gcc.target/powerpc/mmx-paddd-1.c | 3 +- .../gcc.target/powerpc/mmx-paddsb-1.c | 3 +- .../gcc.target/powerpc/mmx-paddsw-1.c | 3 +- .../gcc.target/powerpc/mmx-paddusb-1.c | 3 +- .../gcc.target/powerpc/mmx-paddusw-1.c | 3 +- .../gcc.target/powerpc/mmx-paddw-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpeqb-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpeqd-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpeqw-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpgtb-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpgtd-1.c | 3 +- .../gcc.target/powerpc/mmx-pcmpgtw-1.c | 3 +- .../gcc.target/powerpc/mmx-pmaddwd-1.c | 3 +- .../gcc.target/powerpc/mmx-pmulhw-1.c | 3 +- .../gcc.target/powerpc/mmx-pmullw-1.c | 3 +- .../gcc.target/powerpc/mmx-pslld-1.c | 3 +- .../gcc.target/powerpc/mmx-psllw-1.c | 3 +- .../gcc.target/powerpc/mmx-psrad-1.c | 3 +- .../gcc.target/powerpc/mmx-psraw-1.c | 3 +- .../gcc.target/powerpc/mmx-psrld-1.c | 3 +- .../gcc.target/powerpc/mmx-psrlw-1.c | 3 +- .../gcc.target/powerpc/mmx-psubb-2.c | 3 +- .../gcc.target/powerpc/mmx-psubd-2.c | 3 +- .../gcc.target/powerpc/mmx-psubsb-1.c | 3 +- .../gcc.target/powerpc/mmx-psubsw-1.c | 3 +- .../gcc.target/powerpc/mmx-psubusb-1.c | 3 +- .../gcc.target/powerpc/mmx-psubusw-1.c | 3 +- .../gcc.target/powerpc/mmx-psubw-2.c | 3 +- .../gcc.target/powerpc/mmx-punpckhbw-1.c | 3 +- .../gcc.target/powerpc/mmx-punpckhdq-1.c | 3 +- .../gcc.target/powerpc/mmx-punpckhwd-1.c | 3 +- .../gcc.target/powerpc/mmx-punpcklbw-1.c | 3 +- .../gcc.target/powerpc/mmx-punpckldq-1.c | 3 +- .../gcc.target/powerpc/mmx-punpcklwd-1.c | 3 +- .../gcc.target/powerpc/mul-vectorize-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/mulkc3-2.c | 5 +- gcc/testsuite/gcc.target/powerpc/mulkc3-3.c | 5 +- .../gcc.target/powerpc/p8-vec-xl-xst-v2.c | 4 +- .../gcc.target/powerpc/p8-vec-xl-xst.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-1.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-2.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-3.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-4.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-5.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-6.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-7.c | 4 +- .../gcc.target/powerpc/p8vector-builtin-8.c | 5 +- .../gcc.target/powerpc/p8vector-fp.c | 4 +- .../gcc.target/powerpc/p8vector-int128-1.c | 4 +- .../gcc.target/powerpc/p8vector-ldst.c | 4 +- .../gcc.target/powerpc/p8vector-vbpermq.c | 4 +- .../gcc.target/powerpc/p8vector-vectorize-1.c | 4 +- .../gcc.target/powerpc/p8vector-vectorize-2.c | 4 +- .../gcc.target/powerpc/p8vector-vectorize-3.c | 4 +- .../gcc.target/powerpc/p8vector-vectorize-4.c | 4 +- .../gcc.target/powerpc/p8vector-vectorize-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-dimode1.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-dimode2.c | 4 +- .../gcc.target/powerpc/p9-extract-1.c | 4 +- .../gcc.target/powerpc/p9-extract-2.c | 4 +- .../gcc.target/powerpc/p9-extract-3.c | 4 +- .../gcc.target/powerpc/p9-extract-4.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-fpcvt-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-fpcvt-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-fpcvt-3.c | 4 +- .../gcc.target/powerpc/p9-lxvx-stxvx-1.c | 4 +- .../gcc.target/powerpc/p9-lxvx-stxvx-2.c | 4 +- .../gcc.target/powerpc/p9-lxvx-stxvx-3.c | 4 +- .../gcc.target/powerpc/p9-minmax-1.c | 4 +- .../gcc.target/powerpc/p9-minmax-2.c | 4 +- .../gcc.target/powerpc/p9-minmax-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-novsx.c | 4 +- .../gcc.target/powerpc/p9-options-1.c | 8 +-- gcc/testsuite/gcc.target/powerpc/p9-permute.c | 4 +- .../powerpc/p9-sign_extend-runnable.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-splat-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-splat-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-splat-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-splat-4.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-splat-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-vbpermd.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-1.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-2.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-3.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-4.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-5.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-6.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-7.c | 4 +- .../gcc.target/powerpc/p9-vec-length-epil-8.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-1.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-2.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-3.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-4.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-5.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-6.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-7.c | 4 +- .../gcc.target/powerpc/p9-vec-length-full-8.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-vneg.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-vparity.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-vpermr.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-xxbr-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-xxbr-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/p9-xxbr-3.c | 4 +- .../powerpc/ppc-fortran/pr80108-1.f90 | 2 +- gcc/testsuite/gcc.target/powerpc/ppc-round2.c | 4 +- gcc/testsuite/gcc.target/powerpc/ppc-round3.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr100866-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr100866-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr103124.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr104015-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr104124.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr104239-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr104239-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr104239-3.c | 4 +- .../gcc.target/powerpc/pr106769-p8.c | 4 +- .../gcc.target/powerpc/pr106769-p9.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr107412.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr108396.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr110429.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr111449-1.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr111449-2.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr37191.c | 3 +- gcc/testsuite/gcc.target/powerpc/pr57744.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr58673-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr58673-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr60137.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr60203.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr66144-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr66144-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr66144-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr68163.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr69548.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr70669.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71186.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71309.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71656-1.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr71656-2.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr71670.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71698.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71720.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71977-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr71977-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr72717.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr72853.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78056-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78056-2.c | 6 +- gcc/testsuite/gcc.target/powerpc/pr78056-3.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr78056-4.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr78102.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78543.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78604.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78658.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr78953.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79004.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79038-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79179.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79251.p8.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr79251.p9.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr79354.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79544.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79799-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79799-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79799-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79799-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79907.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr79951.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80098-1.c | 6 +- gcc/testsuite/gcc.target/powerpc/pr80098-2.c | 6 +- gcc/testsuite/gcc.target/powerpc/pr80315-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80315-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80315-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80315-4.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80510-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80695-p8.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80695-p9.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr80718.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr81348.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr81622.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr81959.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr82748-1.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr82748-2.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr83862.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr84154-1.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr84154-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr84154-3.c | 4 +- .../gcc.target/powerpc/pr84220-sld2.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr84226.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr85456.c | 5 +- .../powerpc/pr86731-fwrapv-longlong.c | 7 +- .../gcc.target/powerpc/pr86731-longlong.c | 5 +- gcc/testsuite/gcc.target/powerpc/pr88558-p8.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr88845.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr90763.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr91903.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr92923-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr96933-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr96933-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr97019.c | 4 +- gcc/testsuite/gcc.target/powerpc/pr98914.c | 2 +- .../gcc.target/powerpc/pragma_misc9.c | 2 +- .../gcc.target/powerpc/pragma_power8.c | 2 +- .../gcc.target/powerpc/sad-vectorize-1.c | 4 +- .../gcc.target/powerpc/sad-vectorize-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/signbit-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/signbit-2.c | 4 +- .../gcc.target/powerpc/sse-addps-1.c | 3 +- .../gcc.target/powerpc/sse-addss-1.c | 3 +- .../gcc.target/powerpc/sse-andnps-1.c | 3 +- .../gcc.target/powerpc/sse-andps-1.c | 3 +- .../gcc.target/powerpc/sse-cmpss-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpi16ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpi32ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpi32x2ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpi8ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpspi16-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpspi8-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpu16ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtpu8ps-1.c | 3 +- .../gcc.target/powerpc/sse-cvtsi2ss-1.c | 3 +- .../gcc.target/powerpc/sse-cvtsi2ss-2.c | 3 +- .../gcc.target/powerpc/sse-cvtss2si-1.c | 3 +- .../gcc.target/powerpc/sse-cvtss2si-2.c | 3 +- .../gcc.target/powerpc/sse-cvttss2si-1.c | 3 +- .../gcc.target/powerpc/sse-cvttss2si-2.c | 3 +- .../gcc.target/powerpc/sse-divps-1.c | 3 +- .../gcc.target/powerpc/sse-divss-1.c | 3 +- .../gcc.target/powerpc/sse-maxps-1.c | 3 +- .../gcc.target/powerpc/sse-maxps-2.c | 3 +- .../gcc.target/powerpc/sse-maxss-1.c | 3 +- .../gcc.target/powerpc/sse-minps-1.c | 3 +- .../gcc.target/powerpc/sse-minps-2.c | 3 +- .../gcc.target/powerpc/sse-minss-1.c | 3 +- .../gcc.target/powerpc/sse-movaps-1.c | 3 +- .../gcc.target/powerpc/sse-movaps-2.c | 3 +- .../gcc.target/powerpc/sse-movhlps-1.c | 3 +- .../gcc.target/powerpc/sse-movhps-1.c | 3 +- .../gcc.target/powerpc/sse-movhps-2.c | 3 +- .../gcc.target/powerpc/sse-movlhps-1.c | 3 +- .../gcc.target/powerpc/sse-movlps-1.c | 3 +- .../gcc.target/powerpc/sse-movlps-2.c | 3 +- .../gcc.target/powerpc/sse-movmskb-1.c | 3 +- .../gcc.target/powerpc/sse-movmskps-1.c | 3 +- .../gcc.target/powerpc/sse-movss-1.c | 3 +- .../gcc.target/powerpc/sse-movss-2.c | 3 +- .../gcc.target/powerpc/sse-movss-3.c | 3 +- .../gcc.target/powerpc/sse-mulps-1.c | 3 +- .../gcc.target/powerpc/sse-mulss-1.c | 3 +- gcc/testsuite/gcc.target/powerpc/sse-orps-1.c | 3 +- .../gcc.target/powerpc/sse-pavgw-1.c | 3 +- .../gcc.target/powerpc/sse-pmaxsw-1.c | 3 +- .../gcc.target/powerpc/sse-pmaxub-1.c | 3 +- .../gcc.target/powerpc/sse-pminsw-1.c | 3 +- .../gcc.target/powerpc/sse-pminub-1.c | 3 +- .../gcc.target/powerpc/sse-pmulhuw-1.c | 3 +- .../gcc.target/powerpc/sse-psadbw-1.c | 3 +- .../gcc.target/powerpc/sse-rcpps-1.c | 3 +- .../gcc.target/powerpc/sse-rsqrtps-1.c | 3 +- .../gcc.target/powerpc/sse-shufps-1.c | 3 +- .../gcc.target/powerpc/sse-sqrtps-1.c | 3 +- .../gcc.target/powerpc/sse-subps-1.c | 3 +- .../gcc.target/powerpc/sse-subss-1.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-1.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-2.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-3.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-4.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-5.c | 3 +- .../gcc.target/powerpc/sse-ucomiss-6.c | 3 +- .../gcc.target/powerpc/sse-unpckhps-1.c | 3 +- .../gcc.target/powerpc/sse-unpcklps-1.c | 3 +- .../gcc.target/powerpc/sse-xorps-1.c | 3 +- .../gcc.target/powerpc/sse2-addpd-1.c | 3 +- .../gcc.target/powerpc/sse2-addsd-1.c | 3 +- .../gcc.target/powerpc/sse2-andnpd-1.c | 3 +- .../gcc.target/powerpc/sse2-andpd-1.c | 3 +- .../gcc.target/powerpc/sse2-cmppd-1.c | 3 +- .../gcc.target/powerpc/sse2-cmpsd-1.c | 3 +- .../gcc.target/powerpc/sse2-comisd-1.c | 3 +- .../gcc.target/powerpc/sse2-comisd-2.c | 3 +- .../gcc.target/powerpc/sse2-comisd-3.c | 3 +- .../gcc.target/powerpc/sse2-comisd-4.c | 3 +- .../gcc.target/powerpc/sse2-comisd-5.c | 3 +- .../gcc.target/powerpc/sse2-comisd-6.c | 3 +- .../gcc.target/powerpc/sse2-cvtdq2pd-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtdq2ps-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtpd2dq-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtpd2ps-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtps2dq-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtps2pd-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtsd2si-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtsd2si-2.c | 3 +- .../gcc.target/powerpc/sse2-cvtsd2ss-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtsi2sd-1.c | 3 +- .../gcc.target/powerpc/sse2-cvtsi2sd-2.c | 3 +- .../gcc.target/powerpc/sse2-cvtss2sd-1.c | 3 +- .../gcc.target/powerpc/sse2-cvttpd2dq-1.c | 3 +- .../gcc.target/powerpc/sse2-cvttps2dq-1.c | 3 +- .../gcc.target/powerpc/sse2-cvttsd2si-1.c | 3 +- .../gcc.target/powerpc/sse2-cvttsd2si-2.c | 3 +- .../gcc.target/powerpc/sse2-divpd-1.c | 3 +- .../gcc.target/powerpc/sse2-divsd-1.c | 3 +- .../gcc.target/powerpc/sse2-maxpd-1.c | 3 +- .../gcc.target/powerpc/sse2-maxsd-1.c | 3 +- .../gcc.target/powerpc/sse2-minpd-1.c | 3 +- .../gcc.target/powerpc/sse2-minsd-1.c | 3 +- gcc/testsuite/gcc.target/powerpc/sse2-mmx.c | 3 +- .../gcc.target/powerpc/sse2-movhpd-1.c | 3 +- .../gcc.target/powerpc/sse2-movhpd-2.c | 3 +- .../gcc.target/powerpc/sse2-movlpd-1.c | 3 +- .../gcc.target/powerpc/sse2-movlpd-2.c | 3 +- .../gcc.target/powerpc/sse2-movmskpd-1.c | 3 +- .../gcc.target/powerpc/sse2-movq-1.c | 3 +- .../gcc.target/powerpc/sse2-movq-2.c | 3 +- .../gcc.target/powerpc/sse2-movq-3.c | 3 +- .../gcc.target/powerpc/sse2-movsd-1.c | 3 +- .../gcc.target/powerpc/sse2-movsd-2.c | 3 +- .../gcc.target/powerpc/sse2-movsd-3.c | 3 +- .../gcc.target/powerpc/sse2-mulpd-1.c | 3 +- .../gcc.target/powerpc/sse2-mulsd-1.c | 3 +- .../gcc.target/powerpc/sse2-orpd-1.c | 3 +- .../gcc.target/powerpc/sse2-packssdw-1.c | 3 +- .../gcc.target/powerpc/sse2-packsswb-1.c | 3 +- .../gcc.target/powerpc/sse2-packuswb-1.c | 3 +- .../gcc.target/powerpc/sse2-paddb-1.c | 3 +- .../gcc.target/powerpc/sse2-paddd-1.c | 3 +- .../gcc.target/powerpc/sse2-paddq-1.c | 3 +- .../gcc.target/powerpc/sse2-paddsb-1.c | 3 +- .../gcc.target/powerpc/sse2-paddsw-1.c | 3 +- .../gcc.target/powerpc/sse2-paddusb-1.c | 3 +- .../gcc.target/powerpc/sse2-paddusw-1.c | 3 +- .../gcc.target/powerpc/sse2-paddw-1.c | 3 +- .../gcc.target/powerpc/sse2-pand-1.c | 3 +- .../gcc.target/powerpc/sse2-pandn-1.c | 3 +- .../gcc.target/powerpc/sse2-pavgb-1.c | 3 +- .../gcc.target/powerpc/sse2-pavgw-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpeqb-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpeqd-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpeqw-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpgtb-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpgtd-1.c | 3 +- .../gcc.target/powerpc/sse2-pcmpgtw-1.c | 3 +- .../gcc.target/powerpc/sse2-pextrw.c | 3 +- .../gcc.target/powerpc/sse2-pinsrw.c | 3 +- .../gcc.target/powerpc/sse2-pmaddwd-1.c | 3 +- .../gcc.target/powerpc/sse2-pmaxsw-1.c | 3 +- .../gcc.target/powerpc/sse2-pmaxub-1.c | 3 +- .../gcc.target/powerpc/sse2-pminsw-1.c | 3 +- .../gcc.target/powerpc/sse2-pminub-1.c | 3 +- .../gcc.target/powerpc/sse2-pmovmskb-1.c | 3 +- .../gcc.target/powerpc/sse2-pmulhuw-1.c | 3 +- .../gcc.target/powerpc/sse2-pmulhw-1.c | 3 +- .../gcc.target/powerpc/sse2-pmullw-1.c | 3 +- .../gcc.target/powerpc/sse2-pmuludq-1.c | 3 +- gcc/testsuite/gcc.target/powerpc/sse2-por-1.c | 3 +- .../gcc.target/powerpc/sse2-psadbw-1.c | 3 +- .../gcc.target/powerpc/sse2-pshufd-1.c | 3 +- .../gcc.target/powerpc/sse2-pshufhw-1.c | 3 +- .../gcc.target/powerpc/sse2-pshuflw-1.c | 3 +- .../gcc.target/powerpc/sse2-pslld-1.c | 3 +- .../gcc.target/powerpc/sse2-pslld-2.c | 3 +- .../gcc.target/powerpc/sse2-pslldq-1.c | 3 +- .../gcc.target/powerpc/sse2-psllq-1.c | 3 +- .../gcc.target/powerpc/sse2-psllq-2.c | 3 +- .../gcc.target/powerpc/sse2-psllw-1.c | 3 +- .../gcc.target/powerpc/sse2-psllw-2.c | 3 +- .../gcc.target/powerpc/sse2-psrad-1.c | 3 +- .../gcc.target/powerpc/sse2-psrad-2.c | 3 +- .../gcc.target/powerpc/sse2-psraw-1.c | 3 +- .../gcc.target/powerpc/sse2-psraw-2.c | 3 +- .../gcc.target/powerpc/sse2-psrld-1.c | 3 +- .../gcc.target/powerpc/sse2-psrld-2.c | 3 +- .../gcc.target/powerpc/sse2-psrldq-1.c | 3 +- .../gcc.target/powerpc/sse2-psrlq-1.c | 3 +- .../gcc.target/powerpc/sse2-psrlq-2.c | 3 +- .../gcc.target/powerpc/sse2-psrlw-1.c | 3 +- .../gcc.target/powerpc/sse2-psrlw-2.c | 3 +- .../gcc.target/powerpc/sse2-psubb-1.c | 3 +- .../gcc.target/powerpc/sse2-psubd-1.c | 3 +- .../gcc.target/powerpc/sse2-psubq-1.c | 3 +- .../gcc.target/powerpc/sse2-psubsb-1.c | 3 +- .../gcc.target/powerpc/sse2-psubsw-1.c | 3 +- .../gcc.target/powerpc/sse2-psubusb-1.c | 3 +- .../gcc.target/powerpc/sse2-psubusw-1.c | 3 +- .../gcc.target/powerpc/sse2-psubw-1.c | 3 +- .../gcc.target/powerpc/sse2-punpckhbw-1.c | 3 +- .../gcc.target/powerpc/sse2-punpckhdq-1.c | 3 +- .../gcc.target/powerpc/sse2-punpckhqdq-1.c | 3 +- .../gcc.target/powerpc/sse2-punpckhwd-1.c | 3 +- .../gcc.target/powerpc/sse2-punpcklbw-1.c | 3 +- .../gcc.target/powerpc/sse2-punpckldq-1.c | 3 +- .../gcc.target/powerpc/sse2-punpcklqdq-1.c | 3 +- .../gcc.target/powerpc/sse2-punpcklwd-1.c | 3 +- .../gcc.target/powerpc/sse2-pxor-1.c | 3 +- .../gcc.target/powerpc/sse2-shufpd-1.c | 3 +- .../gcc.target/powerpc/sse2-sqrtpd-1.c | 3 +- .../gcc.target/powerpc/sse2-subpd-1.c | 3 +- .../gcc.target/powerpc/sse2-subsd-1.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-1.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-2.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-3.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-4.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-5.c | 3 +- .../gcc.target/powerpc/sse2-ucomisd-6.c | 3 +- .../gcc.target/powerpc/sse2-unpckhpd-1.c | 3 +- .../gcc.target/powerpc/sse2-unpcklpd-1.c | 3 +- .../gcc.target/powerpc/sse2-xorpd-1.c | 3 +- .../gcc.target/powerpc/sse3-addsubpd.c | 3 +- .../gcc.target/powerpc/sse3-addsubps.c | 3 +- .../gcc.target/powerpc/sse3-haddpd.c | 3 +- .../gcc.target/powerpc/sse3-haddps.c | 3 +- .../gcc.target/powerpc/sse3-hsubpd.c | 3 +- .../gcc.target/powerpc/sse3-hsubps.c | 3 +- gcc/testsuite/gcc.target/powerpc/sse3-lddqu.c | 3 +- .../gcc.target/powerpc/sse3-movddup.c | 3 +- .../gcc.target/powerpc/sse3-movshdup.c | 3 +- .../gcc.target/powerpc/sse3-movsldup.c | 3 +- .../gcc.target/powerpc/sse4_1-blendpd.c | 3 +- .../gcc.target/powerpc/sse4_1-blendps-2.c | 3 +- .../gcc.target/powerpc/sse4_1-blendps.c | 3 +- .../gcc.target/powerpc/sse4_1-blendvpd.c | 3 +- .../gcc.target/powerpc/sse4_1-blendvps.c | 3 +- .../gcc.target/powerpc/sse4_1-ceilpd.c | 3 +- .../gcc.target/powerpc/sse4_1-ceilps.c | 3 +- .../gcc.target/powerpc/sse4_1-ceilsd.c | 3 +- .../gcc.target/powerpc/sse4_1-ceilss.c | 3 +- .../gcc.target/powerpc/sse4_1-floorpd.c | 3 +- .../gcc.target/powerpc/sse4_1-floorps.c | 3 +- .../gcc.target/powerpc/sse4_1-floorsd.c | 3 +- .../gcc.target/powerpc/sse4_1-floorss.c | 3 +- .../gcc.target/powerpc/sse4_1-pblendvb.c | 3 +- .../gcc.target/powerpc/sse4_1-pblendw-2.c | 3 +- .../gcc.target/powerpc/sse4_1-pblendw.c | 3 +- .../gcc.target/powerpc/sse4_1-pcmpeqq.c | 3 +- .../gcc.target/powerpc/sse4_1-pinsrb.c | 3 +- .../gcc.target/powerpc/sse4_1-pinsrd.c | 3 +- .../gcc.target/powerpc/sse4_1-pinsrq.c | 3 +- .../gcc.target/powerpc/sse4_1-pmovsxbq.c | 3 +- .../gcc.target/powerpc/sse4_1-pmovsxdq.c | 3 +- .../gcc.target/powerpc/sse4_1-pmovsxwq.c | 3 +- .../gcc.target/powerpc/sse4_1-pmuldq.c | 3 +- .../gcc.target/powerpc/sse4_1-ptest-1.c | 3 +- .../gcc.target/powerpc/sse4_1-roundpd-2.c | 3 +- .../gcc.target/powerpc/sse4_1-roundpd-3.c | 3 +- .../gcc.target/powerpc/sse4_2-pcmpgtq.c | 3 +- .../gcc.target/powerpc/ssse3-pabsb.c | 3 +- .../gcc.target/powerpc/ssse3-pabsd.c | 3 +- .../gcc.target/powerpc/ssse3-pabsw.c | 3 +- .../gcc.target/powerpc/ssse3-palignr.c | 3 +- .../gcc.target/powerpc/ssse3-phaddd.c | 3 +- .../gcc.target/powerpc/ssse3-phaddsw.c | 3 +- .../gcc.target/powerpc/ssse3-phaddw.c | 3 +- .../gcc.target/powerpc/ssse3-phsubd.c | 3 +- .../gcc.target/powerpc/ssse3-phsubsw.c | 3 +- .../gcc.target/powerpc/ssse3-phsubw.c | 3 +- .../gcc.target/powerpc/ssse3-pmaddubsw.c | 3 +- .../gcc.target/powerpc/ssse3-pmulhrsw.c | 3 +- .../gcc.target/powerpc/ssse3-pshufb.c | 3 +- .../gcc.target/powerpc/ssse3-psignb.c | 3 +- .../gcc.target/powerpc/ssse3-psignd.c | 3 +- .../gcc.target/powerpc/ssse3-psignw.c | 3 +- gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c | 4 +- .../gcc.target/powerpc/swaps-p8-12.c | 4 +- .../gcc.target/powerpc/swaps-p8-14.c | 4 +- .../gcc.target/powerpc/swaps-p8-15.c | 4 +- .../gcc.target/powerpc/swaps-p8-16.c | 4 +- .../gcc.target/powerpc/swaps-p8-17.c | 4 +- .../gcc.target/powerpc/swaps-p8-18.c | 4 +- .../gcc.target/powerpc/swaps-p8-19.c | 4 +- gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c | 4 +- .../gcc.target/powerpc/swaps-p8-22.c | 4 +- .../gcc.target/powerpc/swaps-p8-23.c | 4 +- .../gcc.target/powerpc/swaps-p8-24.c | 4 +- .../gcc.target/powerpc/swaps-p8-25.c | 4 +- .../gcc.target/powerpc/swaps-p8-26.c | 4 +- .../gcc.target/powerpc/swaps-p8-27.c | 4 +- gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c | 4 +- .../gcc.target/powerpc/swaps-p8-30.c | 4 +- .../gcc.target/powerpc/swaps-p8-33.c | 4 +- .../gcc.target/powerpc/swaps-p8-36.c | 4 +- .../gcc.target/powerpc/swaps-p8-39.c | 4 +- gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c | 4 +- .../gcc.target/powerpc/swaps-p8-42.c | 4 +- .../gcc.target/powerpc/swaps-p8-45.c | 4 +- .../gcc.target/powerpc/swaps-p8-46.c | 4 +- gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c | 4 +- .../gcc.target/powerpc/unpack-vectorize-3.c | 4 +- .../gcc.target/powerpc/upper-regs-sf.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-0.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-4.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdu-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdub-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsdub-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsduh-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsduh-2.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsduw-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/vadsduw-2.c | 4 +- .../gcc.target/powerpc/vec-cmp-sel.c | 5 +- gcc/testsuite/gcc.target/powerpc/vec-cmp.c | 4 +- .../gcc.target/powerpc/vec-cmpne-long.c | 4 +- .../gcc.target/powerpc/vec-extract-1.c | 4 +- .../gcc.target/powerpc/vec-extract-3.c | 4 +- .../gcc.target/powerpc/vec-extract-4.c | 4 +- .../gcc.target/powerpc/vec-extract-5.c | 4 +- .../gcc.target/powerpc/vec-extract-6.c | 4 +- .../gcc.target/powerpc/vec-extract-7.c | 4 +- .../gcc.target/powerpc/vec-extract-8.c | 4 +- .../gcc.target/powerpc/vec-extract-9.c | 4 +- .../gcc.target/powerpc/vec-init-10.c | 4 +- gcc/testsuite/gcc.target/powerpc/vec-init-3.c | 4 +- gcc/testsuite/gcc.target/powerpc/vec-init-6.c | 4 +- gcc/testsuite/gcc.target/powerpc/vec-init-7.c | 4 +- .../gcc.target/powerpc/vec-minmax-1.c | 4 +- .../gcc.target/powerpc/vec-minmax-2.c | 4 +- .../gcc.target/powerpc/vec-set-char.c | 4 +- .../gcc.target/powerpc/vec-set-int.c | 4 +- .../gcc.target/powerpc/vec-set-short.c | 4 +- .../gcc.target/powerpc/vec-sld-modulo.c | 3 +- .../gcc.target/powerpc/vec-srad-modulo.c | 3 +- .../gcc.target/powerpc/vec-srd-modulo.c | 3 +- gcc/testsuite/gcc.target/powerpc/vec_reve_2.c | 4 +- .../gcc.target/powerpc/vector_float.c | 4 +- .../gcc.target/powerpc/versioned-copy-loop.c | 4 +- gcc/testsuite/gcc.target/powerpc/vslv-0.c | 4 +- gcc/testsuite/gcc.target/powerpc/vslv-1.c | 4 +- gcc/testsuite/gcc.target/powerpc/vsrv-0.c | 4 +- gcc/testsuite/gcc.target/powerpc/vsrv-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-10.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-11.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-12.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-13.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-14.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-8.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-ne-9.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-all-nez-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-10.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-11.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-12.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-13.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-14.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-8.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eq-9.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-any-eqz-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-8.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpne-9.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-cmpnez-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-10.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-11.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-12.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-13.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-8.c | 4 +- .../gcc.target/powerpc/vsu/vec-xl-len-9.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-xlx-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-xrx-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-0.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-1.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-10.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-11.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-12.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-13.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-2.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-3.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-4.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-5.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-6.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-7.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-8.c | 4 +- .../gcc.target/powerpc/vsu/vec-xst-len-9.c | 4 +- .../gcc.target/powerpc/vsx-builtin-msum.c | 4 +- .../gcc.target/powerpc/vsx-extract-3.c | 4 +- .../gcc.target/powerpc/vsx-extract-4.c | 4 +- .../gcc.target/powerpc/vsx-extract-5.c | 4 +- gcc/testsuite/gcc.target/powerpc/vsx-himode.c | 4 +- .../gcc.target/powerpc/vsx-himode2.c | 4 +- .../gcc.target/powerpc/vsx-himode3.c | 4 +- gcc/testsuite/gcc.target/powerpc/vsx-qimode.c | 4 +- .../gcc.target/powerpc/vsx-qimode2.c | 4 +- .../gcc.target/powerpc/vsx-qimode3.c | 4 +- gcc/testsuite/gcc.target/powerpc/vsx-simode.c | 4 +- .../gcc.target/powerpc/vsx-simode2.c | 4 +- .../gcc.target/powerpc/vsx-simode3.c | 4 +- .../gcc.target/powerpc/vsx-vector-7.c | 2 +- gcc/testsuite/gfortran.dg/vect/pr45714-b.f | 2 +- gcc/testsuite/lib/target-supports.exp | 71 +++---------------- libgcc/config/rs6000/t-float128-hw | 2 +- libgcc/configure | 2 +- libgcc/configure.ac | 2 +- 1003 files changed, 2095 insertions(+), 1835 deletions(-) -- 2.39.1 diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md index c99997bf82b..774203f6121 100644 --- a/gcc/config/rs6000/constraints.md +++ b/gcc/config/rs6000/constraints.md @@ -78,8 +78,8 @@ (define_register_constraint "z" "CA_REGS" ;; It is currently used for that purpose in LLVM. (define_register_constraint "we" "rs6000_constraints[RS6000_CONSTRAINT_we]" - "@internal Like @code{wa}, if @option{-mpower9-vector} and @option{-m64} are - used; otherwise, @code{NO_REGS}.") + "@internal Like @code{wa}, if the cpu type is power9 or up, meanwhile + @option{-mvsx} and @option{-m64} are used; otherwise, @code{NO_REGS}.") ;; NO_REGs register constraint, used to merge mov{sd,sf}, since movsd can use ;; direct move directly, and movsf can't to move between the register sets. diff --git a/gcc/config/rs6000/driver-rs6000.cc b/gcc/config/rs6000/driver-rs6000.cc index 244b3388c2a..3ebbaa42622 100644 --- a/gcc/config/rs6000/driver-rs6000.cc +++ b/gcc/config/rs6000/driver-rs6000.cc @@ -476,13 +476,13 @@ static const struct asm_name asm_names[] = { { "power6", "-mpower6 %{!mvsx:%{!maltivec:-maltivec}}" }, { "power6x", "-mpower6 %{!mvsx:%{!maltivec:-maltivec}}" }, { "power7", "-mpower7" }, - { "power8", "%{mpower9-vector:-mpower9;:-mpower8}" }, + { "power8", "-mpower8" }, { "power9", "-mpower9" }, { "power10", "-mpower10" }, { "a2", "-ma2" }, { "powerpc", "-mppc" }, { "powerpc64", "-mppc64" }, - { "powerpc64le", "%{mpower9-vector:-mpower9;:-mpower8}" }, + { "powerpc64le", "-mpower8" }, { "rs64", "-mppc64" }, { "401", "-mppc" }, { "403", "-m403" }, @@ -526,8 +526,7 @@ static const struct asm_name asm_names[] = { { "e6500", "-me6500" }, { "titan", "-mtitan" }, { NULL, "\ -%{mpower9-vector: -mpower9; \ - mpower8-vector|mcrypto|mdirect-move|mhtm: -mpower8; \ +%{mcrypto|mdirect-move|mhtm: -mpower8; \ mvsx: -mpower7; \ mpowerpc64: -mppc64; \ : %(asm_default)}" }, diff --git a/gcc/config/rs6000/rs6000-cpus.def b/gcc/config/rs6000/rs6000-cpus.def index 276f3cdecaf..28249600318 100644 --- a/gcc/config/rs6000/rs6000-cpus.def +++ b/gcc/config/rs6000/rs6000-cpus.def @@ -86,21 +86,15 @@ | OPTION_MASK_POWER10 \ | OTHER_POWER10_MASKS) -/* Flags that need to be turned off if -mno-power9-vector. */ -#define OTHER_P9_VECTOR_MASKS (OPTION_MASK_FLOAT128_HW \ - | OPTION_MASK_P9_MINMAX) - -/* Flags that need to be turned off if -mno-power8-vector. */ -#define OTHER_P8_VECTOR_MASKS (OTHER_P9_VECTOR_MASKS \ - | OPTION_MASK_P9_VECTOR \ - | OPTION_MASK_DIRECT_MOVE \ - | OPTION_MASK_CRYPTO) - /* Flags that need to be turned off if -mno-vsx. */ -#define OTHER_VSX_VECTOR_MASKS (OTHER_P8_VECTOR_MASKS \ - | OPTION_MASK_EFFICIENT_UNALIGNED_VSX \ +#define OTHER_VSX_VECTOR_MASKS (OPTION_MASK_EFFICIENT_UNALIGNED_VSX \ | OPTION_MASK_FLOAT128_KEYWORD \ - | OPTION_MASK_P8_VECTOR) + | OPTION_MASK_P8_VECTOR \ + | OPTION_MASK_DIRECT_MOVE \ + | OPTION_MASK_CRYPTO \ + | OPTION_MASK_P9_VECTOR \ + | OPTION_MASK_FLOAT128_HW \ + | OPTION_MASK_P9_MINMAX) /* Flags that need to be turned off if -mno-altivec. */ #define OTHER_ALTIVEC_MASKS (OTHER_VSX_VECTOR_MASKS \ diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 5d975dab921..bc53afc8502 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -3864,8 +3864,8 @@ rs6000_option_override_internal (bool global_init_p) dwarf_offset_size = POINTER_SIZE_UNITS; #endif - /* Handle explicit -mno-{altivec,vsx,power8-vector,power9-vector} and turn - off all of the options that depend on those flags. */ + /* Handle explicit -mno-{altivec,vsx} and turn off all of + the options that depend on those flags. */ ignore_masks = rs6000_disable_incompatible_switches (); /* For the newer switches (vsx, dfp, etc.) set some of the older options, @@ -3945,31 +3945,10 @@ rs6000_option_override_internal (bool global_init_p) } if (TARGET_P8_VECTOR && !TARGET_ALTIVEC) - { - if (rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR) - error ("%qs requires %qs", "-mpower8-vector", "-maltivec"); - rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR; - } + rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR; if (TARGET_P8_VECTOR && !TARGET_VSX) - { - if ((rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR) - && (rs6000_isa_flags_explicit & OPTION_MASK_VSX)) - error ("%qs requires %qs", "-mpower8-vector", "-mvsx"); - else if ((rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR) == 0) - { - rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR; - if (rs6000_isa_flags_explicit & OPTION_MASK_VSX) - rs6000_isa_flags_explicit |= OPTION_MASK_P8_VECTOR; - } - else - { - /* OPTION_MASK_P8_VECTOR is explicit, and OPTION_MASK_VSX is - not explicit. */ - rs6000_isa_flags |= OPTION_MASK_VSX; - rs6000_isa_flags_explicit |= OPTION_MASK_VSX; - } - } + rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR; if (TARGET_DFP && !TARGET_HARD_FLOAT) { @@ -4056,28 +4035,7 @@ rs6000_option_override_internal (bool global_init_p) /* ISA 3.0 vector instructions include ISA 2.07. */ if (TARGET_P9_VECTOR && !TARGET_P8_VECTOR) - { - /* We prefer to not mention undocumented options in - error messages. However, if users have managed to select - power9-vector without selecting power8-vector, they - already know about undocumented flags. */ - if ((rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR) && - (rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR)) - error ("%qs requires %qs", "-mpower9-vector", "-mpower8-vector"); - else if ((rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR) == 0) - { - rs6000_isa_flags &= ~OPTION_MASK_P9_VECTOR; - if (rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR) - rs6000_isa_flags_explicit |= OPTION_MASK_P9_VECTOR; - } - else - { - /* OPTION_MASK_P9_VECTOR is explicit and - OPTION_MASK_P8_VECTOR is not explicit. */ - rs6000_isa_flags |= OPTION_MASK_P8_VECTOR; - rs6000_isa_flags_explicit |= OPTION_MASK_P8_VECTOR; - } - } + rs6000_isa_flags &= ~OPTION_MASK_P9_VECTOR; /* Set -mallow-movmisalign to explicitly on if we have full ISA 2.07 support. If we only have ISA 2.06 support, and the user did not specify @@ -25188,12 +25146,6 @@ rs6000_print_isa_options (FILE *file, int indent, const char *string, 2.07, and 3.0 options that relate to the vector unit (-mdirect-move, -mupper-regs-df, etc.). - If the user used -mno-power8-vector, we need to turn off all of the implicit - ISA 2.07 and 3.0 options that relate to the vector unit. - - If the user used -mno-power9-vector, we need to turn off all of the implicit - ISA 3.0 options that relate to the vector unit. - This function does not handle explicit options such as the user specifying -mdirect-move. These are handled in rs6000_option_override_internal, and the appropriate error is given if needed. @@ -25212,8 +25164,6 @@ rs6000_disable_incompatible_switches (void) const HOST_WIDE_INT dep_flags; /* flags that depend on this option. */ const char *const name; /* name of the switch. */ } flags[] = { - { OPTION_MASK_P9_VECTOR, OTHER_P9_VECTOR_MASKS, "power9-vector" }, - { OPTION_MASK_P8_VECTOR, OTHER_P8_VECTOR_MASKS, "power8-vector" }, { OPTION_MASK_VSX, OTHER_VSX_VECTOR_MASKS, "vsx" }, { OPTION_MASK_ALTIVEC, OTHER_ALTIVEC_MASKS, "altivec" }, }; diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 2291fe8d3a3..68bc45d65ba 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -103,13 +103,12 @@ /* Common ASM definitions used by ASM_SPEC among the various targets for handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.cc to provide the default assembler options if the user uses -mcpu=native, so if - you make changes here, make them also there. PR63177: Do not pass -mpower8 - to the assembler if -mpower9-vector was also used. */ + you make changes here, make them also there. */ #define ASM_CPU_SPEC \ "%{mcpu=native: %(asm_cpu_native); \ mcpu=power10: -mpower10; \ mcpu=power9: -mpower9; \ - mcpu=power8|mcpu=powerpc64le: %{mpower9-vector: -mpower9;: -mpower8}; \ + mcpu=power8|mcpu=powerpc64le: -mpower8; \ mcpu=power7: -mpower7; \ mcpu=power6x: -mpower6 %{!mvsx:%{!maltivec:-maltivec}}; \ mcpu=power6: -mpower6 %{!mvsx:%{!maltivec:-maltivec}}; \ @@ -163,8 +162,7 @@ mcpu=e5500: -me5500; \ mcpu=e6500: -me6500; \ mcpu=titan: -mtitan; \ - !mcpu*: %{mpower9-vector: -mpower9; \ - mpower8-vector|mcrypto|mdirect-move|mhtm: -mpower8; \ + !mcpu*: %{mcrypto|mdirect-move|mhtm: -mpower8; \ mvsx: -mpower7; \ mpowerpc64: -mppc64;: %(asm_default)}; \ :%eMissing -mcpu option in ASM_CPU_SPEC?\n} \ diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt index 5e32ee9b685..83197681b66 100644 --- a/gcc/config/rs6000/rs6000.opt +++ b/gcc/config/rs6000/rs6000.opt @@ -479,7 +479,7 @@ Target Undocumented Mask(P8_FUSION_SIGN) Var(rs6000_isa_flags) Allow sign extension in fusion operations. mpower8-vector -Target Mask(P8_VECTOR) Var(rs6000_isa_flags) +Target Undocumented Mask(P8_VECTOR) Var(rs6000_isa_flags) WarnRemoved Use vector and scalar instructions added in ISA 2.07. mpower10-fusion @@ -522,7 +522,7 @@ Target Undocumented Mask(P9_MISC) Var(rs6000_isa_flags) Use certain scalar instructions added in ISA 3.0. mpower9-vector -Target Undocumented Mask(P9_VECTOR) Var(rs6000_isa_flags) +Target Undocumented Mask(P9_VECTOR) Var(rs6000_isa_flags) WarnRemoved Use vector instructions added in ISA 3.0. mpower9-minmax diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b9129d1b464..34bd598df4a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -21300,8 +21300,8 @@ available on the PowerPC family of processors starting with ISA 2.07 or later. Unless specific options are explicitly disabled on the command line, specifying option @option{-mcpu=power8} has the effect of enabling all the same options as for @option{-mcpu=power7} in -addition to the @option{-mpower8-fusion}, @option{-mpower8-vector}, -@option{-mcrypto}, @option{-mhtm}, @option{-mquad-memory}, and +addition to the @option{-mpower8-fusion}, @option{-mcrypto}, +@option{-mhtm}, @option{-mquad-memory}, and @option{-mquad-memory-atomic} options. This section intentionally empty. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b7a201317ce..f30722ee8af 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1314,7 +1314,7 @@ See RS/6000 and PowerPC Options. -mveclibabi=@var{type} -mfriz -mno-friz -mpointers-to-nested-functions -mno-pointers-to-nested-functions -msave-toc-indirect -mno-save-toc-indirect --mpower8-fusion -mno-mpower8-fusion -mpower8-vector -mno-power8-vector +-mpower8-fusion -mno-mpower8-fusion -mcrypto -mno-crypto -mhtm -mno-htm -mquad-memory -mno-quad-memory -mquad-memory-atomic -mno-quad-memory-atomic @@ -30468,7 +30468,7 @@ following options: -mpopcntb -mpopcntd -mpowerpc64 -mpowerpc-gpopt -mpowerpc-gfxopt -mmulhw -mdlmzb -mmfpgpr -mvsx --mcrypto -mhtm -mpower8-fusion -mpower8-vector +-mcrypto -mhtm -mpower8-fusion -mquad-memory -mquad-memory-atomic -mfloat128 -mfloat128-hardware -mprefixed -mpcrel -mmma -mrop-protect} @@ -30591,15 +30591,6 @@ Generate code that keeps (does not keeps) some integer operations adjacent so that the instructions can be fused together on power8 and later processors. -@opindex mpower8-vector -@opindex mno-power8-vector -@item -mpower8-vector -@itemx -mno-power8-vector -Generate code that uses (does not use) the vector and scalar -instructions that were added in version 2.07 of the PowerPC ISA. Also -enable the use of built-in functions that allow more direct access to -the vector instructions. - @opindex mquad-memory @opindex mno-quad-memory @item -mquad-memory @@ -30631,13 +30622,12 @@ supported on Linux. The default for @option{-mfloat128} is enabled on PowerPC Linux systems using the VSX instruction set, and disabled on other systems. -If you use the ISA 3.0 instruction set (@option{-mpower9-vector} or -@option{-mcpu=power9}) on a 64-bit system, the IEEE 128-bit floating -point support will also enable the generation of ISA 3.0 IEEE 128-bit -floating point instructions. Otherwise, if you do not specify to -generate ISA 3.0 instructions or you are targeting a 32-bit big endian -system, IEEE 128-bit floating point will be done with software -emulation. +If you use the ISA 3.0 instruction set (@option{-mcpu=power9}) on a +64-bit system, the IEEE 128-bit floating point support will also enable +the generation of ISA 3.0 IEEE 128-bit floating point instructions. +Otherwise, if you do not specify to generate ISA 3.0 instructions or you +are targeting a 32-bit big endian system, IEEE 128-bit floating point +will be done with software emulation. @opindex mfloat128-hardware @opindex mno-float128-hardware diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 47a87d6ceec..d0bd5c24aa8 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3425,8 +3425,8 @@ Any condition register field, @code{cr0}@dots{}@code{cr7}. The carry bit, @code{XER[CA]}. @item we -Like @code{wa}, if @option{-mpower9-vector} and @option{-m64} are used; -otherwise, @code{NO_REGS}. +Like @code{wa}, if the cpu type is power9 or up, meanwhile +@option{-mvsx} and @option{-m64} are used; otherwise, @code{NO_REGS}. @item wn No register (@code{NO_REGS}). diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 8082100a3c9..1936842e5b1 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2423,9 +2423,6 @@ PowerPC target supports hardware double-precision floating-point. @item powerpc_htm_ok PowerPC target supports @code{-mhtm} -@item powerpc_p8vector_ok -PowerPC target supports @code{-mpower8-vector} - @item powerpc_popcntb_ok PowerPC target supports the @code{popcntb} instruction, indicating that this target supports @code{-mcpu=power5}. diff --git a/gcc/testsuite/g++.dg/pr69667.C b/gcc/testsuite/g++.dg/pr69667.C index 422116dd599..cfe25a82fb1 100644 --- a/gcc/testsuite/g++.dg/pr69667.C +++ b/gcc/testsuite/g++.dg/pr69667.C @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -w -std=c++14" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -w -std=c++14" } */ /* target/69667, compiler got internal compiler error: Max. number of generated reload insns per insn is achieved (90) */ diff --git a/gcc/testsuite/g++.target/powerpc/altivec-19.C b/gcc/testsuite/g++.target/powerpc/altivec-19.C index 5879e72dfd2..4a1bf188983 100644 --- a/gcc/testsuite/g++.target/powerpc/altivec-19.C +++ b/gcc/testsuite/g++.target/powerpc/altivec-19.C @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 " } */ #include diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-1.C b/gcc/testsuite/g++.target/powerpc/pr65240-1.C index 1cf158c6909..c22c2c2d1a5 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-1.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-1.C @@ -1,6 +1,6 @@ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mno-fp-in-toc -Wno-return-type" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math -mno-fp-in-toc -Wno-return-type" } */ /* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-2.C b/gcc/testsuite/g++.target/powerpc/pr65240-2.C index 32d1c799b0d..99ca68cf7cd 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-2.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-2.C @@ -1,6 +1,6 @@ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mfp-in-toc -Wno-return-type" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math -mfp-in-toc -Wno-return-type" } */ /* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-3.C b/gcc/testsuite/g++.target/powerpc/pr65240-3.C index 02567647f30..a8869d5510a 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-3.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-3.C @@ -1,6 +1,6 @@ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -Wno-return-type" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math -Wno-return-type" } */ /* { dg-additional-options "-mcmodel=medium" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65242.C b/gcc/testsuite/g++.target/powerpc/pr65242.C index 3f5c2eaa909..278fe960159 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65242.C +++ b/gcc/testsuite/g++.target/powerpc/pr65242.C @@ -1,6 +1,6 @@ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ class A { public: diff --git a/gcc/testsuite/g++.target/powerpc/pr67211.C b/gcc/testsuite/g++.target/powerpc/pr67211.C index 7d5dd42765f..95d90dabd4a 100644 --- a/gcc/testsuite/g++.target/powerpc/pr67211.C +++ b/gcc/testsuite/g++.target/powerpc/pr67211.C @@ -1,5 +1,5 @@ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3 -w" } */ /* target/67211, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr71294.C b/gcc/testsuite/g++.target/powerpc/pr71294.C index 7f12c8d5c90..85b9f811d11 100644 --- a/gcc/testsuite/g++.target/powerpc/pr71294.C +++ b/gcc/testsuite/g++.target/powerpc/pr71294.C @@ -1,5 +1,5 @@ -// { dg-require-effective-target powerpc_p8vector_ok } */ -// { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector" } +// { dg-require-effective-target powerpc_vsx_ok } */ +// { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -fstack-protector" } // PAR target/71294 failed because RELOAD could not figure how create a V2DI // vector that auto vectorization created with each element being the same diff --git a/gcc/testsuite/g++.target/powerpc/pr84279.C b/gcc/testsuite/g++.target/powerpc/pr84279.C index 02632420744..ee9747cc48b 100644 --- a/gcc/testsuite/g++.target/powerpc/pr84279.C +++ b/gcc/testsuite/g++.target/powerpc/pr84279.C @@ -1,8 +1,8 @@ /* { dg-do compile } */ /* { dg-skip-if "" { *-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target fpic } */ -/* { dg-options "-O3 -mdejagnu-cpu=power8 -g -fPIC -fvisibility=hidden -fstack-protector-strong" } */ +/* { dg-options "-O3 -mdejagnu-cpu=power8 -mvsx -g -fPIC -fvisibility=hidden -fstack-protector-strong" } */ template struct E { T e; }; struct J { diff --git a/gcc/testsuite/g++.target/powerpc/pr93974.C b/gcc/testsuite/g++.target/powerpc/pr93974.C index 562de0a6017..86401bd4629 100644 --- a/gcc/testsuite/g++.target/powerpc/pr93974.C +++ b/gcc/testsuite/g++.target/powerpc/pr93974.C @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector-strong" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -fstack-protector-strong" } */ class a { double b[2]; diff --git a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c index 17ce6c39254..378ec5118aa 100644 --- a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c +++ b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c @@ -1,5 +1,5 @@ /* { dg-require-effective-target vsx_hw { target powerpc*-*-* } } */ -/* { dg-additional-options "-mcpu=power7 -mno-power9-vector -mno-power8-vector" { target powerpc*-*-* } } */ +/* { dg-additional-options "-mdejagnu-cpu=power7 -mvsx" { target powerpc*-*-* } } */ #include "tree-vect.h" diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-perm.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-perm.c index e5c4dceddfb..624881b581f 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-perm.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-perm.c @@ -1,10 +1,10 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* Specify power9 to ensure the vectorization is profitable and test point stands, otherwise it could be not profitable to vectorize. */ -/* { dg-additional-options "-mdejagnu-cpu=power9 -mpower9-vector" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9 -mvsx" } */ /* Verify we cost the exact count for required vec_perm. */ diff --git a/gcc/testsuite/gcc.dg/vect/pr109011-1.c b/gcc/testsuite/gcc.dg/vect/pr109011-1.c index 9bb8ee10a37..98362d6bc40 100644 --- a/gcc/testsuite/gcc.dg/vect/pr109011-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr109011-1.c @@ -3,7 +3,8 @@ /* { dg-options "-O3 -fno-unroll-loops --param=vect-epilogues-nomask=0 -fdump-tree-optimized" } */ /* { dg-additional-options "-mavx512cd" { target { { i?86-*-* x86_64-*-* } && avx512cd } } } */ /* { dg-additional-options "-mavx512vpopcntdq" { target { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } } } */ -/* { dg-additional-options "-mpower8-vector" { target powerpc_p8vector_ok } } */ +/* { dg-additional-options "-mvsx" { target { powerpc_vsx_ok && has_arch_pwr8 } } } */ +/* { dg-additional-options "-mdejagnu-cpu=power8 -mvsx" { target { powerpc_vsx_ok && { ! has_arch_pwr8 } } } } */ /* { dg-additional-options "-march=z13 -mzarch" { target s390_vx } } */ void @@ -15,7 +16,7 @@ foo (long long *p, long long *q) } /* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 1 "optimized" { target { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } } } } */ -/* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 1 "optimized" { target { powerpc_p8vector_ok || s390_vx } } } } */ +/* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 1 "optimized" { target { powerpc_vsx_ok || s390_vx } } } } */ void bar (long long *p, long long *q) @@ -26,4 +27,4 @@ bar (long long *p, long long *q) } /* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 1 "optimized" { target { { i?86-*-* x86_64-*-* } && avx512cd } } } } */ -/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 1 "optimized" { target { powerpc_p8vector_ok || s390_vx } } } } */ +/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 1 "optimized" { target { powerpc_vsx_ok || s390_vx } } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/pr109011-2.c b/gcc/testsuite/gcc.dg/vect/pr109011-2.c index 6d18eb28bcf..a737e3fa03a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr109011-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr109011-2.c @@ -2,7 +2,8 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fno-unroll-loops --param=vect-epilogues-nomask=0 -fdump-tree-optimized" } */ /* { dg-additional-options "-mavx512cd -mbmi -mlzcnt -mno-avx512vpopcntdq" { target { { { { i?86-*-* x86_64-*-* } && avx512cd } && lzcnt } && bmi } } } */ -/* { dg-additional-options "-mpower9-vector" { target powerpc_p9vector_ok } } */ +/* { dg-additional-options "-mvsx" { target { powerpc_vsx_ok && has_arch_pwr9 } } } */ +/* { dg-additional-options "-mdejagnu-cpu=power9 -mvsx" { target { powerpc_vsx_ok && { ! has_arch_pwr9 } } } } */ /* { dg-additional-options "-march=z13 -mzarch" { target s390_vx } } */ void @@ -30,6 +31,6 @@ baz (int *p, int *q) } /* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target { { { { i?86-*-* x86_64-*-* } && avx512cd } && lzcnt } && bmi } } } } */ -/* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 3 "optimized" { target powerpc_p9vector_ok } } } */ +/* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 3 "optimized" { target powerpc_vsx_ok } } } */ /* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 2 "optimized" { target s390_vx } } } */ /* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 1 "optimized" { target s390_vx } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/pr109011-3.c b/gcc/testsuite/gcc.dg/vect/pr109011-3.c index 0c6c8261790..21c364dfdfd 100644 --- a/gcc/testsuite/gcc.dg/vect/pr109011-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr109011-3.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fno-unroll-loops --param=vect-epilogues-nomask=0 -fdump-tree-optimized" } */ /* { dg-additional-options "-mno-avx512cd -mbmi -mlzcnt -mavx512vpopcntdq" { target { { { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } && lzcnt } && bmi } } } */ -/* { dg-additional-options "-mpower8-vector -mno-power9-vector" { target powerpc_p8vector_ok } } */ +/* { dg-additional-options "-mdejagnu-cpu=power8 -mvsx" { target powerpc_vsx_ok } } */ void foo (int *p, int *q) @@ -29,4 +29,4 @@ baz (int *p, int *q) } /* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 3 "optimized" { target { { { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } && lzcnt } && bmi } } } } */ -/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target powerpc_p8vector_ok } } } */ +/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target powerpc_vsx_ok } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/pr109011-4.c b/gcc/testsuite/gcc.dg/vect/pr109011-4.c index 7bb337794b9..76af7884224 100644 --- a/gcc/testsuite/gcc.dg/vect/pr109011-4.c +++ b/gcc/testsuite/gcc.dg/vect/pr109011-4.c @@ -2,7 +2,8 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fno-unroll-loops --param=vect-epilogues-nomask=0 -fdump-tree-optimized" } */ /* { dg-additional-options "-mavx512cd -mbmi -mlzcnt -mno-avx512vpopcntdq" { target { { { { i?86-*-* x86_64-*-* } && avx512cd } && lzcnt } && bmi } } } */ -/* { dg-additional-options "-mpower9-vector" { target powerpc_p9vector_ok } } */ +/* { dg-additional-options "-mvsx" { target { powerpc_vsx_ok && has_arch_pwr9 } } } */ +/* { dg-additional-options "-mdejagnu-cpu=power9 -mvsx" { target { powerpc_vsx_ok && { ! has_arch_pwr9 } } } } */ /* { dg-additional-options "-march=z13 -mzarch" { target s390_vx } } */ void @@ -30,6 +31,6 @@ baz (long long *p, long long *q) } /* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target { { { { i?86-*-* x86_64-*-* } && avx512cd } && lzcnt } && bmi } } } } */ -/* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 3 "optimized" { target powerpc_p9vector_ok } } } */ +/* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 3 "optimized" { target powerpc_vsx_ok } } } */ /* { dg-final { scan-tree-dump-times " = \.CTZ \\\(vect" 2 "optimized" { target s390_vx } } } */ /* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 1 "optimized" { target s390_vx } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/pr109011-5.c b/gcc/testsuite/gcc.dg/vect/pr109011-5.c index 61fac0bb549..19dbfb3356a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr109011-5.c +++ b/gcc/testsuite/gcc.dg/vect/pr109011-5.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fno-unroll-loops --param=vect-epilogues-nomask=0 -fdump-tree-optimized" } */ /* { dg-additional-options "-mno-avx512cd -mbmi -mlzcnt -mavx512vpopcntdq" { target { { { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } && lzcnt } && bmi } } } */ -/* { dg-additional-options "-mpower8-vector -mno-power9-vector" { target powerpc_p8vector_ok } } */ +/* { dg-additional-options "-mdejagnu-cpu=power8 -mvsx" { target powerpc_vsx_ok } } */ void foo (long long *p, long long *q) @@ -29,4 +29,4 @@ baz (long long *p, long long *q) } /* { dg-final { scan-tree-dump-times " = \.POPCOUNT \\\(vect" 3 "optimized" { target { { { { i?86-*-* x86_64-*-* } && avx512vpopcntdq } && lzcnt } && bmi } } } } */ -/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target powerpc_p8vector_ok } } } */ +/* { dg-final { scan-tree-dump-times " = \.CLZ \\\(vect" 3 "optimized" { target powerpc_vsx_ok } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/pr48765.c b/gcc/testsuite/gcc.dg/vect/pr48765.c index b091a145d0f..23748a9f151 100644 --- a/gcc/testsuite/gcc.dg/vect/pr48765.c +++ b/gcc/testsuite/gcc.dg/vect/pr48765.c @@ -1,6 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ -/* { dg-additional-options "-O3 -mcpu=power6 -mno-power9-vector -mno-power8-vector -mno-vsx" } */ +/* { dg-additional-options "-O3 -mdejagnu-cpu=power6 -mno-vsx" } */ enum reg_class { diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-2-runnable.c b/gcc/testsuite/gcc.target/powerpc/altivec-2-runnable.c index 041edcb213d..7d1eda909f7 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-2-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-2-runnable.c @@ -1,6 +1,7 @@ /* { dg-do compile { target powerpc*-*-* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mvsx" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include @@ -33,7 +34,7 @@ int main () /* Use of 'double' and ‘long long’ in AltiVec types requires -mvsx */ /* __builtin_altivec_vupkhsw and __builtin_altivec_vupklsw - requires the -mpower8-vector option */ + requires the -mcpu=power8 -mvsx option */ vec_bi_arg = (vector bool int){ 0, 1, 1, 0 }; diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-35.c b/gcc/testsuite/gcc.target/powerpc/altivec-35.c index 08365285b09..8173dca94ac 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-35.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-35.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_altivec_ok } */ -/* { dg-options "-maltivec -mno-vsx -mno-power8-vector -O0" } */ +/* { dg-options "-maltivec -mno-vsx -O0" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-37.c b/gcc/testsuite/gcc.target/powerpc/altivec-37.c index 06d4bb155f0..2a84e0bdb35 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-37.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-37.c @@ -1,6 +1,7 @@ /* { dg-do compile { target powerpc*-*-* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mvsx" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include @@ -14,7 +15,7 @@ int main () /* use of ‘long long’ in AltiVec types requires -mvsx */ /* __builtin_altivec_vupkhsw and __builtin_altivec_vupklsw - requires the -mpower8-vector option */ + requires the -mcpu=power8 and -mvsx option */ *vecublli++ = vec_unpackh(vecubi[0]); *vecublli++ = vec_unpackl(vecubi[0]); *vecslli++ = vec_unpackh(vecsi[0]); diff --git a/gcc/testsuite/gcc.target/powerpc/amo1.c b/gcc/testsuite/gcc.target/powerpc/amo1.c index 152f0e5874b..d2a67d81bc5 100644 --- a/gcc/testsuite/gcc.target/powerpc/amo1.c +++ b/gcc/testsuite/gcc.target/powerpc/amo1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -mpower9-misc -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -mpower9-misc -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Verify P9 atomic memory operations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/amo2.c b/gcc/testsuite/gcc.target/powerpc/amo2.c index cc7cfe4b450..9cb493da53e 100644 --- a/gcc/testsuite/gcc.target/powerpc/amo2.c +++ b/gcc/testsuite/gcc.target/powerpc/amo2.c @@ -1,6 +1,7 @@ /* { dg-do run { target { powerpc*-*-linux* && { lp64 && p9vector_hw } } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mpower9-vector -mpower9-misc" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mvsx -mpower9-misc" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/atomic-p8.c b/gcc/testsuite/gcc.target/powerpc/atomic-p8.c index 1588d74ad8d..b24ca4cbfd8 100644 --- a/gcc/testsuite/gcc.target/powerpc/atomic-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/atomic-p8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler-times "lbarx" 7 } } */ /* { dg-final { scan-assembler-times "lharx" 7 } } */ /* { dg-final { scan-assembler-times "lwarx" 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 1fc96ae4228..94b21ba9973 100644 --- a/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/atomic_load_store-p8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler-times "lq" 1 } } */ /* { dg-final { scan-assembler-times "stq" 1 } } */ /* { dg-final { scan-assembler-not "bl __atomic" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-2.c b/gcc/testsuite/gcc.target/powerpc/bcd-2.c index 95c3699a144..a5b4f2cf3d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler-times "bcdadd\[.\] " 2 } } */ /* { dg-final { scan-assembler-times "bcdsub\[.\] " 2 } } */ /* { dg-final { scan-assembler-not "bl __builtin" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-3.c b/gcc/testsuite/gcc.target/powerpc/bcd-3.c index 9891f4ff08e..ff35ef54eb3 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler-times "bcdadd\[.\] " 4 } } */ /* { dg-final { scan-assembler-times "bcdsub\[.\] " 6 } } */ /* { dg-final { scan-assembler-not "bl __builtin" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-0.c index 92fea8937b4..f1b3bc3fd53 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-1.c index fec8b9b577a..720ba5d5fa9 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c index 604dbbc0a97..46c459cbb76 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-0.c index 0eb99ce5398..e412d73f7d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-1.c index 33f155518ac..bd9f5229de2 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c index 2f01b87fe55..b9f306dd076 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-0.c index 511f79f4af8..ca25ac24c7a 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-1.c index 6ee364fd40d..77302a3d9f5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c index 75969c28a59..6045bda6c4c 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-0.c index 48528590fc9..1893fc5eb56 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-1.c index 8bc1eac1495..45acdb4a5e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c index f59b4a35280..64176314058 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on 32-bit and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-0.c index d971833748e..b59fdd6d3f7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-1.c index 1cb438f9b70..32179cd134a 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-3.c index 8ddf87cfc86..48a0ee2117f 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-4.c index 850ff620490..ae3ab80873f 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-5.c index 8cbb3191e31..79956d7698b 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, where a compiler error should be issued because this builtin is not available on diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-0.c index d22f7d1b274..92e894413ed 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-1.c index 64747d73a51..848fce33d86 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-2.c index 148b5fbd9fa..b8c89ac00c5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { has_arch_ppc64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, producing a compiler error because the builtin requires 64 bits. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-3.c index 3225a557f84..d3ae94b4f00 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-4.c index 32a53c6fffd..24e382fe494 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-5.c index f3b64734d10..7f86801e228 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, producing a compiler error because the builtin requires 64 bits. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-0.c index 88d77564158..ae345915f5b 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-1.c index 2f219ddc83a..50a21f9aa68 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-10.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-10.c index 769d3b0546a..743cf4401bc 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-10.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-10.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-11.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-11.c index bee5460b60e..469f6d94eab 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-11.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-11.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, where a compiler error should be issued because this builtin is not available on diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-2.c index 956c1183beb..a3ab1f2d007 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { has_arch_ppc64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, where a compiler error should be issued because this builtin is not available on diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-3.c index afa2b83f2d2..fe0a7a7eac6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-4.c index 6dc06dd34ea..7078a677eaa 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* { dg-require-effective-target has_arch_ppc64 } */ /* This test should succeed only on 64-bit configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-5.c index 9a7949fb89a..5ccc7aee962 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { has_arch_ppc64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, where a compiler error should be issued because this builtin is not available on diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-6.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-6.c index f81dff4e1ad..3aca1ae7770 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-6.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-6.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-7.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-7.c index 2e03e15d025..2651745c161 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-7.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-8.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-8.c index b1be8284b4e..265b4ae1cbe 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-8.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test only runs on 32-bit configurations, where a compiler error should be issued because this builtin is not available on diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-9.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-9.c index 209f82dd799..84a0156c2e6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-9.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-9.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-0.c index a74028be489..7d69447f738 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-1.c index ec31cff9232..403f54ba6b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-10.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-10.c index fcf6a9dca79..45f380f9ce5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-10.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-10.c @@ -2,8 +2,8 @@ /* Require 64-bit target to select expected error message below. 32-bit target produces different error message. */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-11.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-11.c index 7c6fca2b729..170f641b587 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-11.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-11.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-2.c index 9130c9714bf..b519dd6dcd2 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-3.c index b863bb2bc27..3beb620a952 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-4.c index 83ddffa77a3..1687f965d71 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-5.c index 101a919c9e4..465af2db76f 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-6.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-6.c index 7fb6601e54b..014ebb713fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-6.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-7.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-7.c index 02e9ec51881..4c46db9f5b8 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-7.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-8.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-8.c index a9e107a816c..7fa834e879c 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-8.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-9.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-9.c index f87851c2c5f..3998d45fe41 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-9.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-9.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-0.c index cebca0a468b..941187efe54 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-1.c index 65a6462e5a5..215437c79d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-2.c index 46d743a899b..abdac3ade49 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-3.c index bfc892b116e..f4774a937e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-4.c index 4a3f25e7f63..112023cf923 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-5.c index 8c55c1cfb5c..3bee45d9851 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-0.c index 4147891445f..9979aa98860 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-1.c index ca67a750cca..981bcb47419 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-2.c index 86d0260ccd8..efd7d4abf3e 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-3.c index e909a2648be..94f8c79dfac 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-0.c index afac62360c2..03a91b228d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-1.c index ee243fe11c6..60e090d489e 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-2.c index eab667304ef..4f079e81e00 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-3.c index ab1967b1be9..7843cb5cd76 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-0.c index dcdf6688bdb..96dc96a7097 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-1.c index 5f2c350b552..fcc6bee6352 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-2.c index 6aa6b403987..6d8198ff9cd 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-3.c index ab4c2f1f2e3..b4b88c2d9b5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-4.c index d69a315eeaa..c654f7ec323 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-5.c index 95ceb835f57..f0a41e16df3 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-6.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-6.c index 70ed82b6a20..0a893a10276 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-6.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-7.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-7.c index eb5dda41e5b..b0f81a5cf80 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-7.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-0.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-0.c index ddf8bb43060..1cad09ccf83 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-0.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-1.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-1.c index 90dcf136498..4baa2ae4aa2 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-2.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-2.c index f53efdc0248..f463152e521 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-3.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-3.c index 5ec7019e7a0..e0e346a547f 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-4.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-4.c index 448406c0d47..f6fa7d04653 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-5.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-5.c index 64a52a15439..29387071b99 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-6.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-6.c index 5f35e0e368a..41652778456 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-6.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-7.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-7.c index bda2c6d9db3..d6301d07ea1 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-7.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/bool2-p8.c b/gcc/testsuite/gcc.target/powerpc/bool2-p8.c index 76f6043b101..545d523608c 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool2-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/bool2-p8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-not "\[ \t\]and " } } */ /* { dg-final { scan-assembler-not "\[ \t\]or " } } */ /* { dg-final { scan-assembler-not "\[ \t\]xor " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bool3-p8.c b/gcc/testsuite/gcc.target/powerpc/bool3-p8.c index 3660e69b0f3..f2b1b1df5e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/bool3-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/bool3-p8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler "\[ \t\]and " } } */ /* { dg-final { scan-assembler "\[ \t\]or " } } */ /* { dg-final { scan-assembler "\[ \t\]xor " } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-1.c b/gcc/testsuite/gcc.target/powerpc/builtins-1.c index 28cd1aa6b1a..155895ffef8 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-1.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c b/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c index 1633dfab393..e5a7db6d83d 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c b/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c index 96bdc4852ec..c354fd5f198 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-4-int128-runnable.c b/gcc/testsuite/gcc.target/powerpc/builtins-4-int128-runnable.c index 4f4e7a9ee5e..62c11132cf3 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-4-int128-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-4-int128-runnable.c @@ -1,7 +1,8 @@ /* { dg-do run } */ /* { dg-require-effective-target int128 } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-mpower8-vector" } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include #include // vector diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-5.c b/gcc/testsuite/gcc.target/powerpc/builtins-5.c index c6c7ebf3aef..fc3cf211d37 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-5.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-5.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O0 -dp" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O0 -dp" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-9.c b/gcc/testsuite/gcc.target/powerpc/builtins-9.c index fa486e06102..d1b7dba8f3c 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-9.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-9.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mdejagnu-cpu=power8 -mvsx -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c b/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c index 51c8701f22f..e17f20092de 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-mpower8-vector" } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include // vector #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-0.c b/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-0.c index 647186d1678..c93e2eff5c2 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-0.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-1.c b/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-1.c index 3a07f7fba9d..59040a53c93 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-1.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-either-range-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-range-0.c b/gcc/testsuite/gcc.target/powerpc/byte-in-range-0.c index 960317738cd..12668b77b3b 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-range-0.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-range-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-range-1.c b/gcc/testsuite/gcc.target/powerpc/byte-in-range-1.c index ec1740d7930..fb97f3efe52 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-range-1.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-range-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-set-0.c b/gcc/testsuite/gcc.target/powerpc/byte-in-set-0.c index 16126bf49c7..b709378537e 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-set-0.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-set-0.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed only on 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-set-1.c b/gcc/testsuite/gcc.target/powerpc/byte-in-set-1.c index 53fa5d8b329..6b8b414935d 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-set-1.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-set-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c b/gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c index 4c676ba356d..bbdcbbd08f5 100644 --- a/gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c +++ b/gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/clone1.c b/gcc/testsuite/gcc.target/powerpc/clone1.c index 74323ca0e8c..0506b141fc2 100644 --- a/gcc/testsuite/gcc.target/powerpc/clone1.c +++ b/gcc/testsuite/gcc.target/powerpc/clone1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target ppc_cpu_supports_hw } */ /* Power9 (aka, ISA 3.0) has a MODSD instruction to do modulus, while Power8 diff --git a/gcc/testsuite/gcc.target/powerpc/clone2.c b/gcc/testsuite/gcc.target/powerpc/clone2.c index ecad5eb8e29..e64940b7952 100644 --- a/gcc/testsuite/gcc.target/powerpc/clone2.c +++ b/gcc/testsuite/gcc.target/powerpc/clone2.c @@ -1,6 +1,6 @@ /* { dg-do run { target { powerpc*-*-linux* } } } */ /* { dg-options "-mvsx -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target ppc_cpu_supports_hw } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c index 89895bd7097..b8ff3b5760b 100644 --- a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #include typedef vector unsigned long long crypto_t; diff --git a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c index b3a6c737a3e..734f1ac29f3 100644 --- a/gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -mno-crypto" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -mno-crypto" } */ void use_builtins_d (__vector unsigned long long *p, __vector unsigned long long *q, __vector unsigned long long *r, __vector unsigned long long *s) { diff --git a/gcc/testsuite/gcc.target/powerpc/ctz-3.c b/gcc/testsuite/gcc.target/powerpc/ctz-3.c index a36a5c8b68c..0481d0233b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/ctz-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ctz-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE #define SIZE 1024 diff --git a/gcc/testsuite/gcc.target/powerpc/ctz-4.c b/gcc/testsuite/gcc.target/powerpc/ctz-4.c index 74d305a8fbc..ebff89f3ea0 100644 --- a/gcc/testsuite/gcc.target/powerpc/ctz-4.c +++ b/gcc/testsuite/gcc.target/powerpc/ctz-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/darn-0.c b/gcc/testsuite/gcc.target/powerpc/darn-0.c index 64d98f5f91d..ca339a1ceba 100644 --- a/gcc/testsuite/gcc.target/powerpc/darn-0.c +++ b/gcc/testsuite/gcc.target/powerpc/darn-0.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/darn-1.c b/gcc/testsuite/gcc.target/powerpc/darn-1.c index f483a89862d..d3a2a6202f4 100644 --- a/gcc/testsuite/gcc.target/powerpc/darn-1.c +++ b/gcc/testsuite/gcc.target/powerpc/darn-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/darn-2.c b/gcc/testsuite/gcc.target/powerpc/darn-2.c index 56a9ffb677b..0bbd69be3c7 100644 --- a/gcc/testsuite/gcc.target/powerpc/darn-2.c +++ b/gcc/testsuite/gcc.target/powerpc/darn-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dform-1.c b/gcc/testsuite/gcc.target/powerpc/dform-1.c index 1a0b0cf4c34..9d0e8702554 100644 --- a/gcc/testsuite/gcc.target/powerpc/dform-1.c +++ b/gcc/testsuite/gcc.target/powerpc/dform-1.c @@ -1,8 +1,9 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* Now O2 enables vectorization by default, which makes expected scalar loads gone, so simply disable it. */ -/* { dg-options "-mpower9-vector -O2 -fno-tree-vectorize" } */ +/* { dg-options "-mvsx -O2 -fno-tree-vectorize" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #ifndef TYPE #define TYPE double diff --git a/gcc/testsuite/gcc.target/powerpc/dform-2.c b/gcc/testsuite/gcc.target/powerpc/dform-2.c index cc91f55b82d..d9d01116387 100644 --- a/gcc/testsuite/gcc.target/powerpc/dform-2.c +++ b/gcc/testsuite/gcc.target/powerpc/dform-2.c @@ -1,8 +1,9 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* Now O2 enables vectorization by default, which generates unexpected float conversion for vector construction, so simply disable it. */ -/* { dg-options "-mpower9-vector -O2 -fno-tree-vectorize" } */ +/* { dg-options "-mvsx -O2 -fno-tree-vectorize" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #ifndef TYPE #define TYPE float diff --git a/gcc/testsuite/gcc.target/powerpc/dform-3.c b/gcc/testsuite/gcc.target/powerpc/dform-3.c index d4114f5578b..84885ecbcb6 100644 --- a/gcc/testsuite/gcc.target/powerpc/dform-3.c +++ b/gcc/testsuite/gcc.target/powerpc/dform-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #ifndef TYPE #define TYPE vector double diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-0.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-0.c index 4f7562b9c38..4903184a8da 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-0.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c index 6338a0e4278..6e1750d37ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-10.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-10.c index 822030bf737..b8d5662d2a1 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-10.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-10.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c index 044e7683cf1..706ba22ff68 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-12.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-12.c index 4feb3918767..642814adcae 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-12.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-12.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-13.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-13.c index cc54c6b265e..ec22452349a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-13.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-13.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-14.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-14.c index ef4d6ad707b..1b9fe417880 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-14.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-14.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-15.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-15.c index 54d2557fa2f..19158a18fed 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-15.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-15.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c index 8626c579a25..da3ba1cb644 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-17.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-17.c index 5a9ab5126fc..6c5b608ba15 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-17.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-17.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-18.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-18.c index 8ce9390feaf..c612e6672e1 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-18.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-18.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-19.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-19.c index f1918a251c2..586b43a6cef 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-19.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-19.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-2.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-2.c index b353d63f5a5..daf12308959 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-2.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-20.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-20.c index ee098bcb999..03e8c2eec07 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-20.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-20.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c index 0d47cc27897..0d157eea92a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-22.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-22.c index 464dc66d457..3d9249bbcaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-22.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-22.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-23.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-23.c index 236f39393e0..66bc0d2052f 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-23.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-23.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-24.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-24.c index 6e5e07b1c88..eb58202c34a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-24.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-24.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-25.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-25.c index 1390c8381f8..98dbba4956a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-25.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-25.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c index f070a0c4a7b..9a96dd9a1e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-27.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-27.c index d8760cefc94..6ffd1e7582b 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-27.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-27.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-28.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-28.c index a2b922955f6..f8dbc8d70bf 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-28.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-28.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-29.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-29.c index fed06bbbb6c..dcc85579a36 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-29.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-29.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-3.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-3.c index af07fbb4a01..01c0d69d2f3 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-3.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-30.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-30.c index 6d8869e5435..d7a8df16bc5 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-30.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-30.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c index 439fcb2a548..97bf3d5d814 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-32.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-32.c index 868146c8f53..2ca7e118335 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-32.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-32.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-33.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-33.c index 6d978a09750..92539502b1b 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-33.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-33.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-34.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-34.c index de174998d21..0731a896432 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-34.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-34.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-35.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-35.c index fdafaf9ceb8..5dd564ec1bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-35.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-35.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c index 822f6d57003..e7aca95cefb 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-37.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-37.c index 1e5ff356ceb..01f7154d96f 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-37.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-37.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-38.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-38.c index fce744cd916..6f8fddb72f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-38.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-38.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-39.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-39.c index b5f886d861a..ee779995689 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-39.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-39.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-4.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-4.c index ad840bf5465..485f8a71b5b 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-4.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-4.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-40.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-40.c index 4663fc653bb..a6a2c592df8 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-40.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-40.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c index 451a9e74c28..a790ed57c23 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-42.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-42.c index 586c86f2ab7..68827dcd231 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-42.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-42.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-43.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-43.c index 9c194374187..0e4c4bc15a9 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-43.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-43.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-44.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-44.c index dc01b7fc614..dc3580a70ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-44.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-44.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-45.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-45.c index 5c6fcc4ec83..3097f1ef281 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-45.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-45.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c index d0833c80f60..a36df7f473a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-47.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-47.c index 9ff41263531..a49dfea9949 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-47.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-47.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-48.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-48.c index 9a94371da35..65a920f6aac 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-48.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-48.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-49.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-49.c index 5040ac87ed6..1d4db3300bf 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-49.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-49.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-5.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-5.c index 6f57baf0150..c5be1ca11f0 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-5.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-5.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-50.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-50.c index 25b35ed4bc9..d67c0a375bc 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-50.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-50.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c index e6b5fe5469e..a35903412b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-52.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-52.c index a79e6b5dbb1..817ea469e1b 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-52.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-52.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-53.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-53.c index d11f497b137..85e2ec827df 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-53.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-53.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-54.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-54.c index 5e9a93fd05e..57590d85047 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-54.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-54.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-55.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-55.c index 912ae7f3492..6646d8e91b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-55.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-55.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c index 218d2f64d3e..b80d4fefaea 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c index ec2abc6499f..04f729d2c7b 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-58.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-58.c index 0626d87d9be..ff81cbbcf70 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-58.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-58.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-59.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-59.c index 6f63d0f831f..dfd566d0c97 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-59.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-59.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c index d889bdd385c..c3ab62d4614 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-60.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-60.c index c584d988b4b..06c2ed8e19e 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-60.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-60.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c index 1a54150617e..dbdf64fbe29 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-62.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-62.c index 4786be7bb48..f0f8cbbf943 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-62.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-62.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-63.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-63.c index e7d2a27ecfd..527f656d668 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-63.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-63.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-64.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-64.c index c406d4d1ca8..f2de23ab411 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-64.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-64.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-65.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-65.c index 7c75265de08..a1ddc103a50 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-65.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-65.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c index 74269fac328..b7adb7eaa4d 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-67.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-67.c index d7b3b6f01ac..9f4961c1753 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-67.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-67.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-68.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-68.c index 1bda795b55a..35de6a5f9c7 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-68.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-68.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-69.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-69.c index bc9ced3ceb0..ed9bc04b921 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-69.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-69.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-7.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-7.c index dcfe162c832..52a34f62575 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-7.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-7.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-70.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-70.c index 875354c9ab8..7ef9f4cbf16 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-70.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-70.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c index 68758cf535a..1848b1e7275 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-72.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-72.c index 04d950e3df5..55aa7c87bcb 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-72.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-72.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-73.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-73.c index f368c38204b..8c525ca4049 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-73.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-73.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-74.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-74.c index 369312d84ea..c8b108da1ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-74.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-74.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-75.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-75.c index 910fb7d98c8..089a71fd13a 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-75.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-75.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c index d867a987df8..f3354797386 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-77.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-77.c index ca6c739a045..6bca0d62f6e 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-77.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-77.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-78.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-78.c index 3034300f72b..300e5b6b796 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-78.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-78.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-79.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-79.c index 9ee60cfe8e2..53ac646630e 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-79.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-79.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-8.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-8.c index 28bc10c3145..59df46e4458 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-8.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-8.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-9.c b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-9.c index 9a9ff3899f2..c6749f2ebc0 100644 --- a/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-9.c +++ b/gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-9.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c index e75daec2456..03402f1d14e 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c index 285aca65ca4..5e5097be520 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler {\mmtvsrd\M} } } */ /* { dg-final { scan-assembler {\mmfvsrwz\M} } } */ /* { dg-final { scan-assembler {\mxscvdpspn\M} } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c index f6c5f23808a..0eb19456286 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Test that we generate XSCVDPSP instead of FRSP and XSCVDPSPN when we combine a round from double to float and moving the float value to a GPR. */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c index ad90b2ed232..931f1e91754 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vector.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vector.c index 16f2674fc71..1d06cd8a28f 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vector.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vector.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Check code generation for direct move for long types. */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c index 2db8dbcfd86..8e22297b159 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler "mtvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/divkc3-2.c b/gcc/testsuite/gcc.target/powerpc/divkc3-2.c index e34ed40bac2..223f413453c 100644 --- a/gcc/testsuite/gcc.target/powerpc/divkc3-2.c +++ b/gcc/testsuite/gcc.target/powerpc/divkc3-2.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-options "-O2 -mpower8-vector -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Check that complex multiply generates the right call when long double is IEEE 128-bit floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/divkc3-3.c b/gcc/testsuite/gcc.target/powerpc/divkc3-3.c index c0fda8b2452..3a33b506304 100644 --- a/gcc/testsuite/gcc.target/powerpc/divkc3-3.c +++ b/gcc/testsuite/gcc.target/powerpc/divkc3-3.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-options "-O2 -mpower8-vector -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Check that complex multiply generates the right call when long double is IBM extended double floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/float128-5.c b/gcc/testsuite/gcc.target/powerpc/float128-5.c index 17f2fb203c3..85da4b87092 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-5.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-5.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mpower9-vector -mno-float128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mvsx -mno-float128" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Test that we can use #pragma GCC target to enable -mfloat128 and generate code on ISA 3.0 for the float128 built-in functions. Lp64 is required diff --git a/gcc/testsuite/gcc.target/powerpc/float128-complex-2.c b/gcc/testsuite/gcc.target/powerpc/float128-complex-2.c index 01f45b1ad98..339af47f39e 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-complex-2.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-complex-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ /* { dg-require-effective-target powerpc_float128_hw_ok } */ -/* { dg-options "-O2 -mpower9-vector -mfloat128-hardware" } */ +/* { dg-options "-O2 -mvsx -mfloat128-hardware" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #ifndef NO_FLOAT typedef _Complex float float_complex; diff --git a/gcc/testsuite/gcc.target/powerpc/float128-fma1.c b/gcc/testsuite/gcc.target/powerpc/float128-fma1.c index 5c90e7eac48..1ce1caa96c0 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-fma1.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-fma1.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ __float128 xfma (__float128 a, __float128 b, __float128 c) diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw.c b/gcc/testsuite/gcc.target/powerpc/float128-hw.c index 8c9beafa90a..74c0e92e07f 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #ifndef TYPE #define TYPE _Float128 diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw10.c b/gcc/testsuite/gcc.target/powerpc/float128-hw10.c index 539337c7879..983c372da5f 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw10.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw10.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 floorf128 (_Float128); extern _Float128 ceilf128 (_Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw11.c b/gcc/testsuite/gcc.target/powerpc/float128-hw11.c index dc78cf2f616..a3fe8d0b95d 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw11.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw11.c @@ -1,7 +1,8 @@ /* { dg-do run { target lp64 } } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw2.c b/gcc/testsuite/gcc.target/powerpc/float128-hw2.c index 1e3408b3757..663032e2e69 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw2.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw2.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2 -ffast-math -std=gnu11" } */ +/* { dg-options "-mvsx -O2 -ffast-math -std=gnu11" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Test to make sure the compiler handles the standard _Float128 functions that have hardware support in ISA 3.0/power9. */ diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw3.c b/gcc/testsuite/gcc.target/powerpc/float128-hw3.c index 630c93dfcb7..7f9bb6ce515 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw3.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw3.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2 -ffast-math -std=c11 -mno-pcrel" } */ +/* { dg-options "-mvsx -O2 -ffast-math -std=c11 -mno-pcrel" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Test to make sure the compiler calls the external function instead of doing the built-in processing for _Float128 functions that have hardware support diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw4.c b/gcc/testsuite/gcc.target/powerpc/float128-hw4.c index fc149169bc6..c07d34dc33b 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw4.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw4.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-options "-mvsx -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Insure that the ISA 3.0 IEEE 128-bit floating point built-in functions can be used with long double when the default is IEEE 128-bit. */ diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw5.c b/gcc/testsuite/gcc.target/powerpc/float128-hw5.c index b0edafbd3f4..3dd960a1f59 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw5.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw5.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2 -ffast-math" } */ +/* { dg-options "-mvsx -O2 -ffast-math" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 copysignf128 (_Float128, _Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw6.c b/gcc/testsuite/gcc.target/powerpc/float128-hw6.c index a96edc8b1b6..05bb2dc5320 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw6.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw6.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 fabsf128 (_Float128); extern _Float128 copysignf128 (_Float128, _Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw7.c b/gcc/testsuite/gcc.target/powerpc/float128-hw7.c index ffed847095c..300ca2367b0 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw7.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw7.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 fabsf128 (_Float128); extern _Float128 copysignf128 (_Float128, _Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw8.c b/gcc/testsuite/gcc.target/powerpc/float128-hw8.c index 23f9ec23577..6555fed923b 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw8.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw8.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 fminf128 (_Float128, _Float128); extern _Float128 fmaxf128 (_Float128, _Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-hw9.c b/gcc/testsuite/gcc.target/powerpc/float128-hw9.c index e37fd1b6397..ac6cf686e83 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-hw9.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-hw9.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2 -ffast-math" } */ +/* { dg-options "-mvsx -O2 -ffast-math" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ extern _Float128 sqrtf128 (_Float128); diff --git a/gcc/testsuite/gcc.target/powerpc/float128-minmax.c b/gcc/testsuite/gcc.target/powerpc/float128-minmax.c index ef8f729d9c2..e9ace19ef09 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-minmax.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-minmax.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target ppc_float128_hw } */ -/* { dg-options "-mpower9-vector -O2 -ffast-math" } */ +/* { dg-options "-mvsx -O2 -ffast-math" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #ifndef TYPE #define TYPE _Float128 diff --git a/gcc/testsuite/gcc.target/powerpc/float128-odd.c b/gcc/testsuite/gcc.target/powerpc/float128-odd.c index 8c8a34c74ca..3b82568d1be 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-odd.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-odd.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Test the generation of the round to odd instructions. */ __float128 diff --git a/gcc/testsuite/gcc.target/powerpc/float128-sqrt1.c b/gcc/testsuite/gcc.target/powerpc/float128-sqrt1.c index 7020664e4fd..ca9b24adcb2 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-sqrt1.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-sqrt1.c @@ -1,7 +1,8 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target float128 } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ __float128 xsqrt (__float128 a) diff --git a/gcc/testsuite/gcc.target/powerpc/float128-type-1.c b/gcc/testsuite/gcc.target/powerpc/float128-type-1.c index 53f9e357535..0fbd7f2cb05 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-type-1.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-type-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -mno-float128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -mno-float128" } */ /* This test tests whether the underlying IEEE 128-bit floating point) is enabled by default on VSX Linux 64-bit systems, even if the keyword diff --git a/gcc/testsuite/gcc.target/powerpc/float128-type-2.c b/gcc/testsuite/gcc.target/powerpc/float128-type-2.c index 02dbad1fa4f..459402133cb 100644 --- a/gcc/testsuite/gcc.target/powerpc/float128-type-2.c +++ b/gcc/testsuite/gcc.target/powerpc/float128-type-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mno-float128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mno-float128" } */ /* This test tests whether the underlying IEEE 128-bit floating point) is enabled by default on VSX Linux 64-bit systems, even if the keyword diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c index 07d5890567a..d7fc9d30eb8 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c @@ -2,8 +2,8 @@ inputs produce the right results when -mcpu=power9 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9 -fwrapv" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9 -mvsx -fwrapv" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int.p9.c index 3c0ffb01b36..569104e9aad 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int.p9.c @@ -2,8 +2,8 @@ inputs produce the right code when -mcpu=power9 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c index 6c3108c60c7..cd681d63a22 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2 -fwrapv" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -fwrapv" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p8.c index 5b746e51327..d4062a70b22 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p8.c @@ -3,8 +3,8 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p9.c index fb8dffc09fa..471244b74d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong-fwrapv.p9.c @@ -2,8 +2,8 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.c index 4f5148ed237..edd2c4e3031 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p8.c index 6a499f4c042..9650a470017 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p8.c @@ -2,8 +2,8 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p9.c index fb8dffc09fa..471244b74d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-longlong.p9.c @@ -2,8 +2,8 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-add-4.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-add-4.c index 389a20ccfd2..3db3ff104f7 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-add-4.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-add-4.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c index 71de0b6a22b..38f1fcb6b9a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c @@ -2,9 +2,10 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */ #include "altivec.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p8.c index bf17dea8656..606b773c745 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p8.c @@ -2,8 +2,8 @@ char inputs produce the right code when -mcpu=power8 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include "fold-vec-cmp-char.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p9.c index 66c14cf166f..385df08a7db 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-char.p9.c @@ -2,8 +2,8 @@ char inputs produce the right code when -mcpu=power9 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include "fold-vec-cmp-char.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.h b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.h index 0da58e0e0a9..5de4ff99a99 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.h +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.h @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p8.c index c8ce72c1e6d..8a5128ef7d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p8.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include "fold-vec-cmp-int.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p9.c index 3ece8fc8bef..9f5b4bd939a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-int.p9.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ #include "fold-vec-cmp-int.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-longlong.c index 536ee75a854..36f90b1735d 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-longlong.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.h b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.h index 5729db4aaee..596be67f9d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.h +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.h @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p8.c index 36cad0c89d9..832ea69e27f 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p8.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include "fold-vec-cmp-short.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p9.c index 46b1be1f5c4..87a87f3a78e 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cmp-short.p9.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include "fold-vec-cmp-short.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-char.c index 61dfbccd672..4257bef76ce 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-char.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-char.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-int.c index ae4dd577692..36ff16594af 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-int.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-longlong.c index 1a72a2d38c7..1811a6f3d64 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mvsx -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-short.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-short.c index 0f05cace2e6..afecc249a5c 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-short.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-cntlz-short.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p8.c index f3b9556b2e6..2f6589999ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p8.c @@ -2,8 +2,8 @@ inputs produce the right code with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // six tests total. Targeting P8LE / P8BE. // P8 LE variable offset: rldicl, subfic, sldi, mtvsrd, xxpermdi, vslo, mfvsrd, sradi, rlwinm, (extsb) diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p9.c index 8a4c380edad..f96eb7b91b0 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p9.c @@ -2,8 +2,8 @@ inputs produce the right code with a P9 (LE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 " } */ /* { dg-final { scan-assembler-times {\mli\M} 3 { target lp64 } } } */ /* Endian sensitive, vextubrx or vextublx. */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p8.c index 2b8dbb0182a..42e83f46583 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p8.c @@ -2,8 +2,8 @@ double inputs produce the right code with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // targeting P8, BE and LE. 2 tests. // P8 (LE) constants: xxlor diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p8.c index 4b1d75ee26d..ce4e43c1fb4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p8.c @@ -2,8 +2,8 @@ inputs produce the right code with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // targeting P8, BE and LE. 2 tests. // P8 (LE) constants: xxsldwi, xscvspdp diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c index aaa8a92b162..19a84e9fe38 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 " } */ /* { dg-final { scan-assembler-times {\mxscvspdp\M} 2 } } */ /* { dg-final { scan-assembler-times {\mrldicl\M} 1 { target le } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.c index f5f953320d8..152fbdd041b 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.c @@ -2,8 +2,8 @@ inputs produce the right code with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // Targeting P8 (LE) and (BE). 6 tests total. // P8 LE constant: vspltw, mfvsrwz, (1:extsw/2:rldicl) diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p9.c index 1abf19da40d..d6e71b9e7e9 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p9.c @@ -2,8 +2,8 @@ inputs produce the right code with a P9 (LE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 " } */ // Targeting P9 (LE). 6 tests total. // P9 constant: li, vextuwrx, (1:extsw) diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p8.c index 8ddce3fd2d8..a49822d52aa 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p8.c @@ -2,8 +2,8 @@ inputs produce the right code with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // Targeting P8LE and P8BE, six tests total. // P8 (LE) constants: mfvsrd diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c index 29814ed13db..0b83f3858d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c @@ -2,8 +2,8 @@ inputs produce the right code for a P9 target. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ // targeting P9 (LE), six tests. // p9 constants: mfvsrd diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p8.c index 0ddecb4e4b5..9eabc5068d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p8.c @@ -2,8 +2,8 @@ inputs produce the right results with a P8 (LE or BE) target. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ // six tests total. Targeting P8, both LE and BE. // p8 (le) variable offset: rldicl, subfic, sldi, mtvsrd, xxpermdi, vslo, mfvsrd, srdi, (1:extsh/2:rlwinm) diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c index fac35cb792f..7e6c122fbfa 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c @@ -2,8 +2,8 @@ inputs produce the right code for a P9 target. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ // six tests total. Targeting P9. // p9 (le) variable offset: slwi, vextuhlx, extsh diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p8.c index e0c7ee17bde..209f3c45a89 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p8.c @@ -2,8 +2,8 @@ inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* The below contains vec_insert () calls with both variable and constant values. Only the constant value calls are early-gimple folded, but all diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p9.c index c18444d50b6..7fdcad562c4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p9.c @@ -2,8 +2,8 @@ inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ /* The below contains vec_insert () calls with both variable and constant values. Only the constant value calls are early-gimple folded, but all diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p8.c index 1866ce27176..fef29c84190 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p8.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p9.c index 1c576723146..c2eacc0cdbd 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p9.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power9 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p8.c index bcee9b2989e..78e74ec9af3 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p8.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p9.c index 5512810ee46..95c03edaa72 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p9.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power9 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-longlong.c index 8ca4ac72443..bf982b6a880 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-longlong.c @@ -2,8 +2,8 @@ inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c index 0d9d4e78d5f..2ac72300148 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p9.c index 050adb2c49e..10fb3c3497e 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p9.c @@ -2,8 +2,8 @@ inputs produce the right codegen. Power9 variant. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c index 9b4a952d6f0..d5dd84c4c39 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-char.c index 6810848dee1..75d913b3321 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-char.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-char.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-float.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-float.c index d206cfe7d66..edbf2d4ff37 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-float.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-float.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-floatdouble.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-floatdouble.c index 56b7cac503d..7a1ff0b4ce1 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-floatdouble.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-floatdouble.c @@ -2,8 +2,9 @@ double inputs for VSX produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-int.c index f5d292e8550..ea0785277e5 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-int.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-longlong.c index 342b2bd8ec7..45673c10f60 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-short.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-short.c index 79ca8aa9029..995c6cbcf7d 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-short.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-eqv-short.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-longlong.c index 10c69d3d87b..d15ee5b02cf 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-ors-longlong.c @@ -2,8 +2,9 @@ * long long inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include @@ -153,7 +154,7 @@ test6_nor (vector unsigned long long x, vector unsigned long long y) // The number of xxlor instructions generated varies between 6 and 24 for // older systems (power6,power7), as well as for 32-bit versus 64-bit targets. -// For simplicity, this test now only targets "powerpc_p8vector_ok" environments +// For simplicity, this test now only targets "powerpc_vsx_ok" environments // where the answer is expected to be 6. /* { dg-final { scan-assembler-times {\mxxlor\M} 6 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-char.c index 7fe3e0b8e0e..62a084f34ea 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-char.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-char.c @@ -3,8 +3,9 @@ * vec_nand) were added as part of ISA 2.07 (P8). */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O1" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-int.c index 61d34059b67..4dde6bc9f8a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-int.c @@ -3,8 +3,9 @@ * vec_nand) were added as part of ISA 2.07 (P8). */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O1" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-longlong.c index d33006c17e0..a8af3b059b9 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O1" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-short.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-short.c index cc354b935dc..dbb7884d6b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-short.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-logical-other-short.c @@ -3,8 +3,9 @@ * vec_nand) were added as part of ISA 2.07 (P8). */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O1" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-floatdouble.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-floatdouble.c index b604b3fb482..4e4f4450b32 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-floatdouble.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-floatdouble.c @@ -2,8 +2,8 @@ with float and double inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -mpower8-vector " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-int.c index 4c67a32121d..815e466824a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-int.c @@ -2,8 +2,8 @@ with int inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-longlong.c index 73d1e73940b..c733522d8d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergeeo-longlong.c @@ -2,8 +2,8 @@ with long long inputs produce the right codegen. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergehl-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergehl-longlong.c index 3cb566c3007..ad7e51b1253 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mergehl-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mergehl-longlong.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-minmax-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-minmax-longlong.c index 234d078b07c..af6ba51189a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-minmax-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-minmax-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int.c index b536bcedaa9..49c28f032ce 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p8.c index 83052e75e3f..b1250d59f4a 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p8.c @@ -2,10 +2,10 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */ #include "altivec.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c index 0223191fdb3..dc82b59238f 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c @@ -2,9 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mpower9-vector -mdejagnu-cpu=power9 -O2" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */ #include "altivec.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-longlong.c index dff073d372d..2d791838936 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-char.c index 116b2497136..8cb686bcb9d 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-char.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-char.c @@ -2,7 +2,7 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mvsx -O2 -mdejagnu-cpu=power8" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-floatdouble.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-floatdouble.c index 1202eeafea8..ad4b874be99 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-floatdouble.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-floatdouble.c @@ -2,8 +2,8 @@ double inputs for VSX produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mvsx -O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c index f7682adfdd8..35b211f914c 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p8.c index 058ea0d9b11..878cf794ad8 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p8.c @@ -2,8 +2,8 @@ inputs produce the right code when -mcpu=power8 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p9.c index cc9f886966e..7635d0adef1 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.p9.c @@ -2,8 +2,8 @@ inputs produce the right code when -mcpu=power9 is specified. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.h b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.h index 53312ac00d0..2c9daa40619 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.h +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.h @@ -4,8 +4,9 @@ /* vec_neg testcase, included by fold-vec-neg-longlong.p*.c */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p8.c index 16e05609f36..ceb28a75c83 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p8.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include "fold-vec-neg-longlong.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p9.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p9.c index af59037222a..54b58372956 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-longlong.p9.c @@ -2,8 +2,8 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include "fold-vec-neg-longlong.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-short.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-short.c index 8b4e71b24c4..e777d358718 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-short.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-short.c @@ -2,7 +2,7 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mvsx -O2 -mdejagnu-cpu=power8" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-double.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-double.c index 362ba0c19b5..d5164f46a80 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-double.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-double.c @@ -2,8 +2,9 @@ double inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mvsx -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-longlong.c index 25c3c3710d2..b5e8db2ec42 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-pack-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mvsx -mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-select-double.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-select-double.c index bb7dce10f01..14dcd1210d9 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-select-double.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-select-double.c @@ -2,8 +2,8 @@ double inputs for VSX produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c index 486426a4318..72aa5f0cd95 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c @@ -2,8 +2,9 @@ /* This test covers the shift left tests with the -fwrapv option. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2 -fwrapv" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -fwrapv" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong.c index 4116dbc5fdb..6afa91797fb 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong.c @@ -2,8 +2,9 @@ * This is a counterpart to the fold-vec-shift-left-frwapv test. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-longlong.c index 97b82cf3117..9403552d4da 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-shift-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-st-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-st-longlong.c index a33f64e3727..bc81123f4d5 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-st-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-st-longlong.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-store-builtin_vec_xst-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-store-builtin_vec_xst-longlong.c index bb72d9b2a99..6df11514d51 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-store-builtin_vec_xst-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-store-builtin_vec_xst-longlong.c @@ -1,7 +1,7 @@ /* Verify that overloaded built-ins for __builtin_vec_xst with long long inputs produce the right code. */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mvsx -O2 -mdejagnu-cpu=power8" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int128.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int128.c index 13caa9e6455..2c7b454edba 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int128.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-int128.c @@ -2,9 +2,10 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */ #include "altivec.h" diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-longlong.c index 889fba4b2aa..f38312cb6bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-sub-longlong.c @@ -2,8 +2,9 @@ inputs produce the right results. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-float.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-float.c index 78e8eb35e73..4e1d603a28f 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-float.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-float.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-int.c index 621c4eb250d..17e4ad797be 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-unpack-int.c @@ -2,8 +2,9 @@ inputs produce the right code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/fusion.c b/gcc/testsuite/gcc.target/powerpc/fusion.c index 2a115580439..2906f8a9159 100644 --- a/gcc/testsuite/gcc.target/powerpc/fusion.c +++ b/gcc/testsuite/gcc.target/powerpc/fusion.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3 -dp" } */ #define LARGE 0x12345 diff --git a/gcc/testsuite/gcc.target/powerpc/fusion2.c b/gcc/testsuite/gcc.target/powerpc/fusion2.c index 40ca00a7405..925b6d83fd2 100644 --- a/gcc/testsuite/gcc.target/powerpc/fusion2.c +++ b/gcc/testsuite/gcc.target/powerpc/fusion2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-skip-if "" { powerpc*le-*-* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3" } */ vector double fusion_vector (vector double *p) { return p[2]; } diff --git a/gcc/testsuite/gcc.target/powerpc/gnuattr2.c b/gcc/testsuite/gcc.target/powerpc/gnuattr2.c index 32a4ba255a8..70efb7b34c8 100644 --- a/gcc/testsuite/gcc.target/powerpc/gnuattr2.c +++ b/gcc/testsuite/gcc.target/powerpc/gnuattr2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-linux-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mpower9-vector -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mvsx -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* { dg-final { scan-assembler "gnu_attribute 4, 13" } } */ /* Check that if we can do the long double operation without doing an emulator diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-packs.c b/gcc/testsuite/gcc.target/powerpc/mmx-packs.c index dd8cc96cc5a..b6da584a444 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-packs.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-packs.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-packssdw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-packssdw-1.c index ecfe2d694cd..dff0e3cd573 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-packssdw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-packssdw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-packsswb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-packsswb-1.c index 4ca69b126a9..63f787a8637 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-packsswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-packsswb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-packuswb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-packuswb-1.c index 2f74e130823..54c63f01f22 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-packuswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-packuswb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddb-1.c index 0affc3ac0ef..7b4cc274639 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddd-1.c index ed7ca449246..517de1d2618 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddsb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddsb-1.c index 16b75890597..16afd1fd050 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddsb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddsb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddsw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddsw-1.c index d53e08aa8ef..166fb33c3ca 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddusb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddusb-1.c index 1336cdc909e..4cd3d3a62ae 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddusb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddusw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddusw-1.c index 16f2ce8d0b4..8f410901d63 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddusw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddusw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-paddw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-paddw-1.c index 0768de79128..be0b711457c 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-paddw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-paddw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqb-1.c index b4b62b38104..58f93ad2473 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqd-1.c index e9bc6d58c56..d3c94894b8c 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqw-1.c index ee90ab495d6..7e691e0b9f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpeqw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtb-1.c index ab81bd4976e..d2783868191 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtd-1.c index 84074726861..39a81700bf0 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtw-1.c index 348d1bfa7e6..99d2a49ac80 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pcmpgtw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pmaddwd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pmaddwd-1.c index 1a8bd3fada0..e92aa8b89f1 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pmaddwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pmaddwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pmulhw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pmulhw-1.c index 631324c4cd9..ce3577022a2 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pmulhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pmulhw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pmullw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pmullw-1.c index c3c33f54e54..9377dd7bee6 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pmullw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pmullw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-pslld-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-pslld-1.c index 857d0d95e54..73b46e7ad40 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-pslld-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-pslld-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psllw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psllw-1.c index 1c072f99e66..5671398af70 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psllw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psllw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psrad-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psrad-1.c index a421a168bc9..5f62c7a0376 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psrad-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psrad-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psraw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psraw-1.c index 1f486aee44f..595bf5d7139 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psraw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psraw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psrld-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psrld-1.c index 97c74f8fc12..bfdade7a583 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psrld-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psrld-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psrlw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psrlw-1.c index 4b039e8a788..d3206a1cbe4 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psrlw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psrlw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubb-2.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubb-2.c index 6dfb88dca6d..9dee536e4cd 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubb-2.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubb-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubd-2.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubd-2.c index 178590177f0..db4fd5e13b4 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubsb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubsb-1.c index 70dff88a974..b74c9c015b4 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubsb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubsb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubsw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubsw-1.c index e204dd411ff..5dd89c97ca7 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubusb-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubusb-1.c index f98f550e099..37218874854 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubusb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubusw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubusw-1.c index 52fbe4142df..eca45dec3d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubusw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubusw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-psubw-2.c b/gcc/testsuite/gcc.target/powerpc/mmx-psubw-2.c index 04b57bf9082..1b70c1e9a7b 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-psubw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-psubw-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhbw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhbw-1.c index 26c6f44f096..2a7363ae827 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhdq-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhdq-1.c index 81b9f6d8fac..040721abdb3 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhdq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhdq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhwd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhwd-1.c index 8c44fe90dcf..177ad5248d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpckhwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpckhwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpcklbw-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpcklbw-1.c index 4030850110c..af9bf0493fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpcklbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpcklbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpckldq-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpckldq-1.c index df76e05a63f..9a68bbc5678 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpckldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpckldq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mmx-punpcklwd-1.c b/gcc/testsuite/gcc.target/powerpc/mmx-punpcklwd-1.c index ef8ae17719d..a8e61c2e07b 100644 --- a/gcc/testsuite/gcc.target/powerpc/mmx-punpcklwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mmx-punpcklwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/mul-vectorize-1.c b/gcc/testsuite/gcc.target/powerpc/mul-vectorize-1.c index ba01d5cec8f..bd9e1f9ee51 100644 --- a/gcc/testsuite/gcc.target/powerpc/mul-vectorize-1.c +++ b/gcc/testsuite/gcc.target/powerpc/mul-vectorize-1.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */ /* Test vectorizer can exploit ISA 2.07 instruction vmuluwm (Vector Multiply Unsigned Word Modulo) for both signed and unsigned word multiplication. */ diff --git a/gcc/testsuite/gcc.target/powerpc/mulkc3-2.c b/gcc/testsuite/gcc.target/powerpc/mulkc3-2.c index eee6de9e2a5..6c59a284a9f 100644 --- a/gcc/testsuite/gcc.target/powerpc/mulkc3-2.c +++ b/gcc/testsuite/gcc.target/powerpc/mulkc3-2.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-options "-O2 -mpower8-vector -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Check that complex multiply generates the right call when long double is IEEE 128-bit floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/mulkc3-3.c b/gcc/testsuite/gcc.target/powerpc/mulkc3-3.c index b6d2bdf73cc..54671f813ef 100644 --- a/gcc/testsuite/gcc.target/powerpc/mulkc3-3.c +++ b/gcc/testsuite/gcc.target/powerpc/mulkc3-3.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-options "-O2 -mpower8-vector -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Check that complex multiply generates the right call when long double is IBM extended double floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c index f5c3858725c..7a624297ae9 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { le } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Verify fix for problem where vec_xl and vec_xst are not recognized for the vector char and vector short cases on P8 only. diff --git a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst.c b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst.c index ed31e608296..46d5d6f6fe9 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst.c +++ b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { le } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Verify fix for problem where vec_xl and vec_xst are not recognized for the vector char and vector short cases on P8 only. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c index f1dd62c6514..47a5f88c4ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef TYPE #define TYPE long long diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c index 102e1d1f813..d3aab195bef 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 33304fe6132..ca354c54ed5 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ftree-vectorize -fvect-cost-model=dynamic" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 8329e2bae5a..074d23c5d91 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ftree-vectorize -fvect-cost-model=dynamic" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 1f50043b05b..35b7e2a189f 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 0a349ba7e71..6a10054146a 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-6.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ vector float dbl_to_float_p8 (double x) { return __builtin_vsx_xscvdpspn (x); } double float_to_dbl_p8 (vector float x) { return __builtin_vsx_xscvspdpn (x); } diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c index fcfac7c50b1..9f2d80cdef3 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-8.c b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-8.c index 0cfbe68c3a4..d8f23d1741d 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-8.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-builtin-8.c @@ -1,7 +1,8 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c b/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c index a86f05b2f17..d990691f499 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -fno-math-errno" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -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 28b148c692c..c763187cda9 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-int128-1.c @@ -1,8 +1,8 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c b/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c index 856029f5668..6ac5d465438 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ float load_store_sf (unsigned long num, diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c index c2ab68ba761..486ae40cd93 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O3 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler "vbpermq" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */ /* { dg-final { scan-assembler-not "stfd" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c index a58d959af39..a2dd1a4f55f 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE #define SIZE 1024 diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c index 78ff176f4ef..46dc31807f8 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 2f32b352c48..b464bdce246 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 e767af37e23..1f2a0cd06ef 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE #define SIZE 1024 diff --git a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c index bd27a9eb950..1d161968b14 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p8vector-vectorize-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-unroll-loops -fno-unroll-all-loops" } */ #ifndef SIZE #define SIZE 1024 diff --git a/gcc/testsuite/gcc.target/powerpc/p9-dimode1.c b/gcc/testsuite/gcc.target/powerpc/p9-dimode1.c index 9914f94a563..125252e7423 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-dimode1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-dimode1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify P9 changes to allow DImode into Altivec registers, and generate constants using XXSPLTIB. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-dimode2.c b/gcc/testsuite/gcc.target/powerpc/p9-dimode2.c index 6d747289da5..d4392d4cf08 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-dimode2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-dimode2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify that large integer constants are loaded via direct move instead of being loaded from memory. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c b/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c index d7d3ad77aea..5c0f00e4cd6 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Test to make sure VEXTU{B,H,W}{L,R}X is generated for various vector extract operations for ISA 3.0 (-mcpu=power9). In addition, make sure that neither diff --git a/gcc/testsuite/gcc.target/powerpc/p9-extract-2.c b/gcc/testsuite/gcc.target/powerpc/p9-extract-2.c index ffbc6b93fdd..824665a20f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-extract-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-extract-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-extract-3.c b/gcc/testsuite/gcc.target/powerpc/p9-extract-3.c index 3c1361d3b6d..1317c59e587 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-extract-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-extract-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Test that under ISA 3.0 (-mcpu=power9), the compiler optimizes conversion to double after a vec_extract to use the VEXTRACTU{B,H} or XXEXTRACTUW diff --git a/gcc/testsuite/gcc.target/powerpc/p9-extract-4.c b/gcc/testsuite/gcc.target/powerpc/p9-extract-4.c index 347f63ddc6f..8968696040e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-extract-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-extract-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* This file tests the extraction of 64-bit values. On Power 9, the direct move is prefered for the 64-bit extract as it is either lower latency or diff --git a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-1.c b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-1.c index 3ad81980e8f..19b2c0dc0a6 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ void sc (signed char *p, double x) { *p = x; } void uc (unsigned char *p, double x) { *p = x; } diff --git a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-2.c b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-2.c index c7ea1c29928..2356815ad5e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ double sc (signed char *p) { return (double)*p; } double uc (unsigned char *p) { return (double)*p; } diff --git a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-3.c b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-3.c index 19701c84add..fbb73a56535 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-fpcvt-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Note that for unsigned cases, the differences from those ones in p9-fpcvt-2.c is that they will be converted to int implicitly first diff --git a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-1.c b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-1.c index 553942907b6..936a0377b92 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvx" } } */ /* { dg-final { scan-assembler "stxvx" } } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-2.c b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-2.c index edab6164814..b8e1e78623b 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ /* { dg-final { scan-assembler "lxvx" } } */ /* { dg-final { scan-assembler "stvewx" } } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-3.c b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-3.c index 3cb28ee5b2a..2d3f63f56eb 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-3.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target ppc_float128_sw } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3 -mfloat128" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-final { scan-assembler "lxvx" } } */ /* { dg-final { scan-assembler "stxvx" } } */ /* { dg-final { scan-assembler-not "lxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-minmax-1.c b/gcc/testsuite/gcc.target/powerpc/p9-minmax-1.c index 686fdccb850..616c2f01151 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-minmax-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-minmax-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mpower9-minmax -ffast-math" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mpower9-minmax -ffast-math" } */ /* { dg-final { scan-assembler-not "fsel" } } */ /* { dg-final { scan-assembler "xscmpeqdp" } } */ /* { dg-final { scan-assembler "xscmpgtdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-minmax-2.c b/gcc/testsuite/gcc.target/powerpc/p9-minmax-2.c index 78a3d9ae217..73ec1607a72 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-minmax-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-minmax-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mpower9-minmax" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mpower9-minmax" } */ /* { dg-final { scan-assembler-not "fsel" } } */ /* { dg-final { scan-assembler "xscmpeqdp" } } */ /* { dg-final { scan-assembler "xscmpgtdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-minmax-3.c b/gcc/testsuite/gcc.target/powerpc/p9-minmax-3.c index 3248b9aa62a..c97eedecd4e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-minmax-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-minmax-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mpower9-minmax" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mpower9-minmax" } */ /* { dg-final { scan-assembler-not "xsmaxcdp" } } */ /* { dg-final { scan-assembler-not "xsmincdp" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-novsx.c b/gcc/testsuite/gcc.target/powerpc/p9-novsx.c index d847274d6ca..719267665d2 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-novsx.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-novsx.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mno-vsx -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -mno-vsx -O1" } */ /* { dg-final { scan-assembler-times "lvx %?v?2,%?r?3" 1 } } */ /* { dg-final { scan-assembler-times "stvx %?v?2,%?r?3" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-options-1.c b/gcc/testsuite/gcc.target/powerpc/p9-options-1.c index 5685b4a66cd..9da4d3630c0 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-options-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-options-1.c @@ -1,11 +1,11 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mno-power9-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mno-vsx" } */ #include /* This program's "test for excess errors" demonstrates that combining - the target options -mcpu=power9 and -mno-power9-vector does not + the target options -mcpu=power9 and -mno-vsx does not result in an error. A previous version of the compiler aborted with the error message: @@ -14,7 +14,7 @@ when these two options were used in combination. The newer version of the compiler, instead, automatically disables - power9-dform when the -mno-power9-vector command-line option is + power9-dform when the -mno-vsx command-line option is specified. */ int test_any_equal (vector bool char *arg1_p, vector bool char *arg2_p) diff --git a/gcc/testsuite/gcc.target/powerpc/p9-permute.c b/gcc/testsuite/gcc.target/powerpc/p9-permute.c index b9bf05ad5ae..9ac9493986f 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-permute.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-permute.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-sign_extend-runnable.c b/gcc/testsuite/gcc.target/powerpc/p9-sign_extend-runnable.c index 03c0f1201e4..f0514993bc0 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-sign_extend-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-sign_extend-runnable.c @@ -1,6 +1,6 @@ /* { dg-do run { target { *-*-linux* && { lp64 && p9vector_hw } } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9 -save-temps" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx -save-temps" } */ /* These builtins were not defined until ISA 3.1 but only require ISA 3.0 support. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-splat-1.c b/gcc/testsuite/gcc.target/powerpc/p9-splat-1.c index ecb8d26961e..72ff87c0249 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-splat-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-splat-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-splat-2.c b/gcc/testsuite/gcc.target/powerpc/p9-splat-2.c index efbe7e1a229..55492506d26 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-splat-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-splat-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-splat-3.c b/gcc/testsuite/gcc.target/powerpc/p9-splat-3.c index 3cfacb2914c..8bd3fec0e85 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-splat-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-splat-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-splat-4.c b/gcc/testsuite/gcc.target/powerpc/p9-splat-4.c index b31744500ee..886a75c31c5 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-splat-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-splat-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-splat-5.c b/gcc/testsuite/gcc.target/powerpc/p9-splat-5.c index 46faa38bbdf..3f9e729b8b9 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-splat-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-splat-5.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* { dg-final { scan-assembler "vspltish" } } */ /* { dg-final { scan-assembler-not "xxspltib" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vbpermd.c b/gcc/testsuite/gcc.target/powerpc/p9-vbpermd.c index b26a8f99d2f..83606dda8c2 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vbpermd.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vbpermd.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify P9 vector bit-permute doubleword instruction. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-1.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-1.c index f57d9457bd9..e28da9eaf9b 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-1.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-2.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-2.c index 19856407d27..499dcef34fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-2.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-3.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-3.c index eaea96d1ead..cf28122d56e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-3.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-4.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-4.c index 01991325ca8..83c67ff4a0e 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-4.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-5.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-5.c index c68faa8c557..0f31dcdda2b 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-5.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-6.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-6.c index 18076cc8218..ac4de8fad5d 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-6.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-6.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-7.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-7.c index 4e37c0a0095..89f8d3476bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-7.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-7.c @@ -1,7 +1,7 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ /* Pass cunroll isn't disabled by -fno-unroll-loops, so use explicit disabling option for it. */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-8.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-8.c index 0f3cd072268..fbd1a353ade 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-8.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-epil-8.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-1.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-1.c index 2818bac36a2..a501873967f 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-1.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-2.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-2.c index b476910753f..d30feff9ff0 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-2.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-3.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-3.c index 0f502423c88..ecef0fd1393 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-3.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-4.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-4.c index 20ddfb392e1..0c8f223f122 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-4.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-4.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-5.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-5.c index 0bad6938bf8..0165eed62f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-5.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-5.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-6.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-6.c index a73178e3ad3..ff66a114195 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-6.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-6.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c index b50ff3cf6ef..f5b2d1abe96 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c @@ -1,7 +1,7 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ /* Pass cunroll isn't disabled by -fno-unroll-loops, so use explicit disabling option for it. */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c index 94f2aa48f57..daf62ac8f46 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ +/* { dg-do compile { target { lp64 && powerpc_vsx_ok } } } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */ /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vneg.c b/gcc/testsuite/gcc.target/powerpc/p9-vneg.c index 7d6e9bcb5eb..e07bc437e72 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vneg.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vneg.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify P9 vector negate instructions. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vparity.c b/gcc/testsuite/gcc.target/powerpc/p9-vparity.c index 8f6f1239f7a..978ddefaf92 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vparity.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vparity.c @@ -1,8 +1,8 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-require-effective-target int128 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-vpermr.c b/gcc/testsuite/gcc.target/powerpc/p9-vpermr.c index 6f87640d268..07c86e6264c 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-vpermr.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-vpermr.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Test generation of VPERMR/XXPERMR on ISA 3.0 in little endian. */ diff --git a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-1.c b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-1.c index a449dda9cb1..956f6c10103 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-2.c b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-2.c index a14ac68f1c5..7e89daafe5c 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-2.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-3.c b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-3.c index 62a946fd2b3..efb9acf4fc1 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-xxbr-3.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-xxbr-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify that the XXBR{H,W} instructions are generated if the value is forced to be in a vector register, and XXBRD is generated all of the diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 index dac5c361689..00392b5fed9 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 @@ -1,6 +1,6 @@ ! Originally contributed by Tobias Burnas. ! { dg-do compile { target { powerpc*-*-* } } } -! { dg-require-effective-target powerpc_p9vector_ok } +! { dg-require-effective-target powerpc_vsx_ok } ! { dg-options "-mdejagnu-cpu=405 -mpower9-minmax -mfloat128" } ! { dg-excess-errors "expect error due to conflicting target options" } ! Since the error message is not associated with a particular line diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-round2.c b/gcc/testsuite/gcc.target/powerpc/ppc-round2.c index bebecfae99d..c50f00825b0 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-round2.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-round2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-times "fcfid \|xscvsxddp " 2 } } */ /* { dg-final { scan-assembler-times "fcfids \|xscvsxdsp " 2 } } */ /* { dg-final { scan-assembler-times "fctiwz \|xscvdpsxws " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-round3.c b/gcc/testsuite/gcc.target/powerpc/ppc-round3.c index 043fce7958b..873c90ae335 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-round3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-round3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ /* { dg-final { scan-assembler-times "fcfid \|xscvsxddp " 2 } } */ /* { dg-final { scan-assembler-times "fcfids \|xscvsxdsp " 2 } } */ /* { dg-final { scan-assembler-times "fctiwz \|xscvdpsxws " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr100866-1.c b/gcc/testsuite/gcc.target/powerpc/pr100866-1.c index 63872f21bf8..856d7b7b93b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr100866-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr100866-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-not {\mxxlnor\M} } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr100866-2.c b/gcc/testsuite/gcc.target/powerpc/pr100866-2.c index 4357d1beb09..79193cfdd17 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr100866-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr100866-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler {\mvspltish\M} } } */ /* { dg-final { scan-assembler {\mvrlh\M} } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr103124.c b/gcc/testsuite/gcc.target/powerpc/pr103124.c index dc7bb9c91d4..c6942e4724e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr103124.c +++ b/gcc/testsuite/gcc.target/powerpc/pr103124.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ /* { dg-final { scan-assembler-not {\mmr\M} } } */ vector __int128 add (long long a) diff --git a/gcc/testsuite/gcc.target/powerpc/pr104015-1.c b/gcc/testsuite/gcc.target/powerpc/pr104015-1.c index 895c243aaf8..272499cfa5c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104015-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104015-1.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details" } */ /* As PR104015, we don't expect vectorizer will re-try some vector modes for epilogues on Power9, since Power9 doesn't support partial vector diff --git a/gcc/testsuite/gcc.target/powerpc/pr104124.c b/gcc/testsuite/gcc.target/powerpc/pr104124.c index 30e3b6f86eb..7859ca2608c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104124.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104124.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-mdejagnu-cpu=power8 -mpower8-vector -O2" } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-final { scan-assembler {\mvspltisw\M} } } */ /* { dg-final { scan-assembler {\mvupkhsw\M} } } */ /* { dg-final { scan-assembler-not {\mlvx\M} } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr104239-1.c b/gcc/testsuite/gcc.target/powerpc/pr104239-1.c index eacdedd5c38..8c1862a329b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104239-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104239-1.c @@ -1,7 +1,7 @@ /* PR target/104239 */ /* { dg-do compile } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -DNO_WARN_X86_INTRINSICS" } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #if __has_include() #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr104239-2.c b/gcc/testsuite/gcc.target/powerpc/pr104239-2.c index 1bf316f9701..b021550a038 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104239-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104239-2.c @@ -1,7 +1,7 @@ /* PR target/104239 */ /* { dg-do compile } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -DNO_WARN_X86_INTRINSICS" } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #if __has_include() #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr104239-3.c b/gcc/testsuite/gcc.target/powerpc/pr104239-3.c index 6d64e5dcbac..7436597f19b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104239-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104239-3.c @@ -1,7 +1,7 @@ /* PR target/104239 */ /* { dg-do compile } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -DNO_WARN_X86_INTRINSICS -std=c89" } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -DNO_WARN_X86_INTRINSICS -std=c89" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr106769-p8.c b/gcc/testsuite/gcc.target/powerpc/pr106769-p8.c index e7cdbc76298..51e72477566 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr106769-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr106769-p8.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-require-effective-target has_arch_ppc64 } */ #include "pr106769.h" diff --git a/gcc/testsuite/gcc.target/powerpc/pr106769-p9.c b/gcc/testsuite/gcc.target/powerpc/pr106769-p9.c index 2248b525d43..b602e7d5768 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr106769-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/pr106769-p9.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* { dg-require-effective-target has_arch_ppc64 } */ #include "pr106769.h" diff --git a/gcc/testsuite/gcc.target/powerpc/pr107412.c b/gcc/testsuite/gcc.target/powerpc/pr107412.c index 4526ea8639d..9e21f96be59 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr107412.c +++ b/gcc/testsuite/gcc.target/powerpc/pr107412.c @@ -1,6 +1,6 @@ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -funroll-loops -fno-tree-loop-distribute-patterns --param vect-partial-vector-usage=2 -fdump-tree-optimized" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -funroll-loops -fno-tree-loop-distribute-patterns --param vect-partial-vector-usage=2 -fdump-tree-optimized" } */ /* Verify there is only one IFN call LEN_LOAD and IFN_STORE separately. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr108396.c b/gcc/testsuite/gcc.target/powerpc/pr108396.c index a783f0823a6..262a4468675 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr108396.c +++ b/gcc/testsuite/gcc.target/powerpc/pr108396.c @@ -1,6 +1,6 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* Verify there is no error message. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr110429.c b/gcc/testsuite/gcc.target/powerpc/pr110429.c index d0ea3e56ae8..b9241ed7d14 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr110429.c +++ b/gcc/testsuite/gcc.target/powerpc/pr110429.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* { dg-require-effective-target has_arch_ppc64 } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr111449-1.c b/gcc/testsuite/gcc.target/powerpc/pr111449-1.c index 0c9e176d288..ce97e4f7dfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr111449-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr111449-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Ensure vector mode is used for 16-byte by pieces equality compare. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr111449-2.c b/gcc/testsuite/gcc.target/powerpc/pr111449-2.c index 7003bdc0208..49871cab899 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr111449-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr111449-2.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { has_arch_pwr8 } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mvsx -O2" } */ /* Ensure 16-byte by pieces move is enabled. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr37191.c b/gcc/testsuite/gcc.target/powerpc/pr37191.c index 1b69c3b7785..bff90dfa38f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr37191.c +++ b/gcc/testsuite/gcc.target/powerpc/pr37191.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/pr57744.c b/gcc/testsuite/gcc.target/powerpc/pr57744.c index 617ac56f09c..9e51dc7fb9c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr57744.c +++ b/gcc/testsuite/gcc.target/powerpc/pr57744.c @@ -1,7 +1,7 @@ /* { dg-do run { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ void abort (void); diff --git a/gcc/testsuite/gcc.target/powerpc/pr58673-1.c b/gcc/testsuite/gcc.target/powerpc/pr58673-1.c index dd2194fc4d7..9ebe3c579d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr58673-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr58673-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O1" } */ enum typecode { diff --git a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c index d70f061fc70..d59cc217bb5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -funroll-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -funroll-loops" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr60137.c b/gcc/testsuite/gcc.target/powerpc/pr60137.c index 6ec6adf0add..1b1b69aab39 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60137.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60137.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -mno-vsx" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -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 a5a574a8837..56b676fde9b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr60203.c +++ b/gcc/testsuite/gcc.target/powerpc/pr60203.c @@ -1,8 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ #if defined(__LONG_DOUBLE_IEEE128__) /* If long double is IEEE 128-bit, we need to use the __ibm128 type instead of diff --git a/gcc/testsuite/gcc.target/powerpc/pr66144-1.c b/gcc/testsuite/gcc.target/powerpc/pr66144-1.c index dea4d00b75d..4fd5fc5ce6c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr66144-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr66144-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify that we optimize vector1 = (vector2 == vector3) by not loading up 0/-1. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr66144-2.c b/gcc/testsuite/gcc.target/powerpc/pr66144-2.c index 7f4a19395e6..6b12f25fd22 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr66144-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr66144-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Verify that we optimize vector1 = (vector2 != vector3) by not loading up 0/-1. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr66144-3.c b/gcc/testsuite/gcc.target/powerpc/pr66144-3.c index 488bb6cc987..46bf2e3fc8d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr66144-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr66144-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize" } */ /* Verify that we can optimize a vector conditional move, where one of the arms is all 1's into using the mask as one of the inputs to XXSEL. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr68163.c b/gcc/testsuite/gcc.target/powerpc/pr68163.c index 25371caa771..736fad172eb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr68163.c +++ b/gcc/testsuite/gcc.target/powerpc/pr68163.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Make sure that the register allocator does not move SF values to GPR registers in order to do an offsettable store. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr69548.c b/gcc/testsuite/gcc.target/powerpc/pr69548.c index 6782f6b7235..259d8d287c0 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr69548.c +++ b/gcc/testsuite/gcc.target/powerpc/pr69548.c @@ -1,7 +1,7 @@ /* { dg-do assemble { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -Os -mbig" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -Os -mbig" } */ __int128 quad_exchange (__int128 *ptr, __int128 newval) diff --git a/gcc/testsuite/gcc.target/powerpc/pr70669.c b/gcc/testsuite/gcc.target/powerpc/pr70669.c index 225681d3867..3082e292607 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70669.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70669.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -mfloat128" } */ #ifndef TYPE #define TYPE __float128 diff --git a/gcc/testsuite/gcc.target/powerpc/pr71186.c b/gcc/testsuite/gcc.target/powerpc/pr71186.c index 3d01609a61a..acc354ff2d9 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71186.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71186.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ static unsigned short x[(16384/sizeof(unsigned short))] __attribute__ ((aligned (16))); static unsigned short y[(16384/sizeof(unsigned short))] __attribute__ ((aligned (16))); diff --git a/gcc/testsuite/gcc.target/powerpc/pr71309.c b/gcc/testsuite/gcc.target/powerpc/pr71309.c index e1cbcea7e76..97489ad67ad 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71309.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71309.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #define TYPE void* #define TYPE2 void* diff --git a/gcc/testsuite/gcc.target/powerpc/pr71656-1.c b/gcc/testsuite/gcc.target/powerpc/pr71656-1.c index 52e2295bbd2..7009d990042 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71656-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71656-1.c @@ -1,7 +1,8 @@ /* Test for reload ICE arising from POWER9 Vector Dform code generation. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O1 -mpower9-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O1 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ typedef __attribute__((altivec(vector__))) int type_t; type_t diff --git a/gcc/testsuite/gcc.target/powerpc/pr71656-2.c b/gcc/testsuite/gcc.target/powerpc/pr71656-2.c index c2a054f085f..9ec1fca7aaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71656-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71656-2.c @@ -1,7 +1,8 @@ /* Test for reload ICE arising from POWER9 Vector Dform code generation. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O3 -mpower9-vector -funroll-loops -fno-aggressive-loop-optimizations" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mvsx -funroll-loops -fno-aggressive-loop-optimizations" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ typedef double vec[3]; struct vec_t diff --git a/gcc/testsuite/gcc.target/powerpc/pr71670.c b/gcc/testsuite/gcc.target/powerpc/pr71670.c index fec3e8731fe..f6a38ebbe14 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71670.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71670.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ volatile int a; int b; diff --git a/gcc/testsuite/gcc.target/powerpc/pr71698.c b/gcc/testsuite/gcc.target/powerpc/pr71698.c index e763741bc16..a34c410005e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71698.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71698.c @@ -1,8 +1,8 @@ /* Test for a reload ICE arising from trying to direct move a TDmode value. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target dfp } */ -/* { dg-options "-O1 -mdejagnu-cpu=power9" } */ +/* { dg-options "-O1 -mdejagnu-cpu=power9 -mvsx" } */ extern void testvad128 (int n, ...); void diff --git a/gcc/testsuite/gcc.target/powerpc/pr71720.c b/gcc/testsuite/gcc.target/powerpc/pr71720.c index dba540d74fc..236faa6a009 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71720.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71720.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* Verify that we generate xxspltw ,,0 for V4SFmode splat. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr71977-1.c b/gcc/testsuite/gcc.target/powerpc/pr71977-1.c index 6b6ff0928a9..ca60f204a0c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71977-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71977-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr71977-2.c b/gcc/testsuite/gcc.target/powerpc/pr71977-2.c index efb72882524..85b7a2292d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr71977-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr71977-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr72717.c b/gcc/testsuite/gcc.target/powerpc/pr72717.c index d6565faa88b..d9bea5a5636 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr72717.c +++ b/gcc/testsuite/gcc.target/powerpc/pr72717.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ typedef long V __attribute__((__vector_size__(32))); diff --git a/gcc/testsuite/gcc.target/powerpc/pr72853.c b/gcc/testsuite/gcc.target/powerpc/pr72853.c index 89c73cbc2da..de69bd9ecc0 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr72853.c +++ b/gcc/testsuite/gcc.target/powerpc/pr72853.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3 -funroll-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3 -funroll-loops" } */ /* derived from 20021120-1.c, compiled for -mcpu=power9. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-1.c b/gcc/testsuite/gcc.target/powerpc/pr78056-1.c index 0b9bec8d787..1af42296306 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-2.c b/gcc/testsuite/gcc.target/powerpc/pr78056-2.c index da650fa6e86..5cda9d6193b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-2.c @@ -1,8 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-skip-if "" { powerpc_p9vector_ok } } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-skip-if "" { powerpc_vsx_ok } } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-3.c b/gcc/testsuite/gcc.target/powerpc/pr78056-3.c index fcdfbfce4c1..545e93b3a70 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-3.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ /* { dg-options "-mdejagnu-cpu=power7" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-4.c b/gcc/testsuite/gcc.target/powerpc/pr78056-4.c index 2a663599c5c..0bea0f895fa 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-4.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* powerpc_vsx_ok represents power7 */ /* { dg-require-effective-target powerpc_vsx_ok } */ -/* { dg-skip-if "" { powerpc_p8vector_ok } } */ +/* { dg-skip-if "" { powerpc_vsx_ok } } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ /* { dg-options "-mdejagnu-cpu=power7" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr78102.c b/gcc/testsuite/gcc.target/powerpc/pr78102.c index 0b509108275..7ae0d02b835 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78102.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78102.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -DNO_WARN_X86_INTRINSICS" } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr78543.c b/gcc/testsuite/gcc.target/powerpc/pr78543.c index ac2dfd50fc2..9c5454df47e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78543.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78543.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O1" } */ typedef long a; enum c { e, f, g, h, i, ab } j(); diff --git a/gcc/testsuite/gcc.target/powerpc/pr78604.c b/gcc/testsuite/gcc.target/powerpc/pr78604.c index 7a371af8c28..f6ac7f15985 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78604.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78604.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fdump-tree-vect-details -fno-unroll-loops" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fdump-tree-vect-details -fno-unroll-loops" } */ #ifndef SIZE #define SIZE 1024 diff --git a/gcc/testsuite/gcc.target/powerpc/pr78658.c b/gcc/testsuite/gcc.target/powerpc/pr78658.c index 303c4fc0c0a..228736afcb2 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78658.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78658.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* This caused an unrecognizable insn message on development versions of GCC 7. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr78953.c b/gcc/testsuite/gcc.target/powerpc/pr78953.c index 9ee8ead77d9..a1b66cbd94a 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78953.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78953.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79004.c b/gcc/testsuite/gcc.target/powerpc/pr79004.c index 30cdebaad36..caf1f6c1eef 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79004.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79004.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mfloat128" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79038-1.c b/gcc/testsuite/gcc.target/powerpc/pr79038-1.c index bf93595fe65..fdf0c1a26d3 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79038-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79038-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mfloat128" } */ #ifndef TYPE #define TYPE _Float128 diff --git a/gcc/testsuite/gcc.target/powerpc/pr79179.c b/gcc/testsuite/gcc.target/powerpc/pr79179.c index ed09702cd42..f2f48c4e73f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79179.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79179.c @@ -1,6 +1,6 @@ /* { dg-do assemble { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3" } */ /* Compile with -O3 -mcpu=power9. It originally generated diff --git a/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c b/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c index 4fc3ea06382..7d83e72a7b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c b/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c index 9312aa60409..8ce6858e6ce 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79354.c b/gcc/testsuite/gcc.target/powerpc/pr79354.c index c9b1bb5d702..cdb2c363fae 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79354.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79354.c @@ -1,7 +1,7 @@ /* PR target/79354 */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler-not {\mstxssp\M} } } */ int b, f, g; diff --git a/gcc/testsuite/gcc.target/powerpc/pr79544.c b/gcc/testsuite/gcc.target/powerpc/pr79544.c index 3f782489bbd..172b9511675 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79544.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79544.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79799-1.c b/gcc/testsuite/gcc.target/powerpc/pr79799-1.c index 8d568409c72..a8d8d1df28d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79799-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79799-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79799-2.c b/gcc/testsuite/gcc.target/powerpc/pr79799-2.c index fb1dd8c81ad..fe27e5c0da2 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79799-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79799-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79799-3.c b/gcc/testsuite/gcc.target/powerpc/pr79799-3.c index c1fd7aac475..542601629ad 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79799-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79799-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79799-5.c b/gcc/testsuite/gcc.target/powerpc/pr79799-5.c index be01bb8fe7b..037bfc0895f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79799-5.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79799-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr79907.c b/gcc/testsuite/gcc.target/powerpc/pr79907.c index 385d03aa7e4..9597201fe9f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79907.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79907.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ int foo (short a[], int x) { diff --git a/gcc/testsuite/gcc.target/powerpc/pr79951.c b/gcc/testsuite/gcc.target/powerpc/pr79951.c index 6b070c55d8b..796fa7cbbbc 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79951.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79951.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -S -mno-cmpb" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -S -mno-cmpb" } */ float testf (float x, float y) { diff --git a/gcc/testsuite/gcc.target/powerpc/pr80098-1.c b/gcc/testsuite/gcc.target/powerpc/pr80098-1.c index 202c4bf2e90..f22c8d93fb4 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80098-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80098-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mno-power9-vector -mpower9-minmax" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mno-vsx -mpower9-minmax" } */ int i; -/* { dg-error "'-mno-power9-vector' turns off '-mpower9-minmax'" "PR80098" { target *-*-* } 0 } */ +/* { dg-error "'-mno-vsx' turns off '-mpower9-minmax'" "PR80098" { target *-*-* } 0 } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr80098-2.c b/gcc/testsuite/gcc.target/powerpc/pr80098-2.c index 7bf474ac510..964b849111b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80098-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80098-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -mno-power8-vector -mcrypto" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mno-vsx -mcrypto" } */ int i; -/* { dg-error "'-mno-power8-vector' turns off '-mcrypto'" "PR80098" { target *-*-* } 0 } */ +/* { dg-error "'-mno-vsx' turns off '-mcrypto'" "PR80098" { target *-*-* } 0 } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr80315-1.c b/gcc/testsuite/gcc.target/powerpc/pr80315-1.c index 7198611258f..b846e19a471 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80315-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80315-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ int main() diff --git a/gcc/testsuite/gcc.target/powerpc/pr80315-2.c b/gcc/testsuite/gcc.target/powerpc/pr80315-2.c index 0f77f775ad3..64b06283700 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80315-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80315-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ int main () diff --git a/gcc/testsuite/gcc.target/powerpc/pr80315-3.c b/gcc/testsuite/gcc.target/powerpc/pr80315-3.c index 398c512274d..2c335e76605 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80315-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80315-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr80315-4.c b/gcc/testsuite/gcc.target/powerpc/pr80315-4.c index 4326ff64c18..c003c9ba799 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80315-4.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80315-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr80510-2.c b/gcc/testsuite/gcc.target/powerpc/pr80510-2.c index d041d967c8b..627e52412d5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80510-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80510-2.c @@ -1,9 +1,9 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* Now O2 enables vectorization by default, which generates unexpected VSR to GPR movement for vector construction, so simply disable it. */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -fno-tree-vectorize" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -fno-tree-vectorize" } */ /* Make sure that STXSSPX is generated for float scalars in Altivec registers on power7 instead of moving the value to a FPR register and doing a X-FORM diff --git a/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c b/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c index 9719f295bcb..7d2d81804c7 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c @@ -1,6 +1,6 @@ -/* { dg-do compile { target { powerpc_p8vector_ok } } } */ +/* { dg-do compile { target { powerpc_vsx_ok } } } */ /* { dg-require-effective-target vect_int } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -fdump-tree-slp-details" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -fdump-tree-slp-details" } */ /* PR80695: Verify cost model for vec_construct on POWER8. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c b/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c index dc2488ab681..f35e45beb4a 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c @@ -1,6 +1,6 @@ -/* { dg-do compile { target { powerpc_p9vector_ok } } } */ +/* { dg-do compile { target { powerpc_vsx_ok } } } */ /* { dg-require-effective-target vect_int } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3 -fdump-tree-slp-details" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3 -fdump-tree-slp-details" } */ /* PR80695: Verify cost model for vec_construct on POWER9. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr80718.c b/gcc/testsuite/gcc.target/powerpc/pr80718.c index a72fc94b188..8ef2e80392d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr80718.c +++ b/gcc/testsuite/gcc.target/powerpc/pr80718.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math" } */ /* Taken from the Spec 2006 milc brenchmark. Ultimately, GCC wants to generate a DF splat from offsettable memory. The register allocator decided it was diff --git a/gcc/testsuite/gcc.target/powerpc/pr81348.c b/gcc/testsuite/gcc.target/powerpc/pr81348.c index 16a46c817f4..c275d5b0c10 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr81348.c +++ b/gcc/testsuite/gcc.target/powerpc/pr81348.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -Og" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -Og" } */ /* PR target/81348: Compiler died in doing short->float conversion due to using the wrong register in a define_split. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr81622.c b/gcc/testsuite/gcc.target/powerpc/pr81622.c index 34dcfb2ff6a..4cd4528e620 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr81622.c +++ b/gcc/testsuite/gcc.target/powerpc/pr81622.c @@ -1,7 +1,7 @@ /* PR target/81622 */ /* { dg-do compile { target { powerpc*-*-linux* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ void foo (void) diff --git a/gcc/testsuite/gcc.target/powerpc/pr81959.c b/gcc/testsuite/gcc.target/powerpc/pr81959.c index c4cc3733841..31d2163df83 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr81959.c +++ b/gcc/testsuite/gcc.target/powerpc/pr81959.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -mfloat128" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* PR 81959, the compiler raised on unrecognizable insn message in converting int to __float128, where the int had a PRE_INC in the address. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr82748-1.c b/gcc/testsuite/gcc.target/powerpc/pr82748-1.c index 15a746bcf63..fe053d9cc20 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr82748-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr82748-1.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Make sure the old 'q' builtin functions work correctly when the long double default has been changed to be IEEE 128-bit floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr82748-2.c b/gcc/testsuite/gcc.target/powerpc/pr82748-2.c index 0079394b101..fb8e9a5330c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr82748-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr82748-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-vector -O2 -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -mabi=ibmlongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power9" { target { ! has_arch_pwr9 } } } */ /* Make sure the old 'q' builtin functions work correctly when the long double default uses the IBM double-double format. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr83862.c b/gcc/testsuite/gcc.target/powerpc/pr83862.c index 3cadb57962b..e605194b528 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr83862.c +++ b/gcc/testsuite/gcc.target/powerpc/pr83862.c @@ -1,8 +1,9 @@ /* PR target/83862.c */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-require-effective-target ppc_float128_sw } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2 -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* On little endian systems, optimizing signbit of IEEE 128-bit values from memory could abort if the memory address was indexed (reg+reg). The diff --git a/gcc/testsuite/gcc.target/powerpc/pr84154-1.c b/gcc/testsuite/gcc.target/powerpc/pr84154-1.c index c7c61be0def..286b885fef6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr84154-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr84154-1.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mpower8-vector -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -O2" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* PR target/84154. Make sure conversion to char/short does not generate a store and a load on ISA 2.07 and newer systems. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr84154-2.c b/gcc/testsuite/gcc.target/powerpc/pr84154-2.c index acf00cbe632..64b355f51b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr84154-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr84154-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* PR target/84154. Make sure on ISA 2.07 (power8) that we store the result of a conversion to char/short using an offsettable address does not generate diff --git a/gcc/testsuite/gcc.target/powerpc/pr84154-3.c b/gcc/testsuite/gcc.target/powerpc/pr84154-3.c index 6afadc23a34..3bb663e71bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr84154-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr84154-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* PR target/84154. Make sure on ISA 3.0 we store the result of a conversion to char/short using an offsettable address does not generate direct moves diff --git a/gcc/testsuite/gcc.target/powerpc/pr84220-sld2.c b/gcc/testsuite/gcc.target/powerpc/pr84220-sld2.c index 5e973e01aa4..9f319864fdb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr84220-sld2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr84220-sld2.c @@ -2,8 +2,9 @@ /* Test to ensure we generate invalid parameter errors rather than an ICE when calling builtin_vec_sld() with invalid parameters. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-maltivec -mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr84226.c b/gcc/testsuite/gcc.target/powerpc/pr84226.c index aae922ba905..e3e771f2816 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr84226.c +++ b/gcc/testsuite/gcc.target/powerpc/pr84226.c @@ -1,6 +1,6 @@ /* PR target/84226 */ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mpower9-misc -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx -mpower9-misc -O1" } */ #include "builtins-revb-runnable.c" diff --git a/gcc/testsuite/gcc.target/powerpc/pr85456.c b/gcc/testsuite/gcc.target/powerpc/pr85456.c index 3f327fc2d03..7fb7a7a87a6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr85456.c +++ b/gcc/testsuite/gcc.target/powerpc/pr85456.c @@ -1,7 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target longdouble128 } */ -/* { dg-options "-O2 -mpower8-vector -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -mabi=ieeelongdouble -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* Check that the __builtin_powil generates a call to the correct function when long double uses IEEE 128-bit floating point. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c index 018e1cf9749..ea759d54bf6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c @@ -3,12 +3,13 @@ explicitly specifies -fwrapv, which is a condition for the gimple folding of the vec_sl() intrinsic. */ -/* specify -mpower8-vector, which provides vec_sl(long long,...) support. */ +/* specify -mcpu=power8 -mvsx, which provides vec_sl(long long,...) support. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-maltivec -O3 -fwrapv -mpower8-vector " } */ +/* { dg-options "-maltivec -O3 -fwrapv -mvsx " } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr86731-longlong.c b/gcc/testsuite/gcc.target/powerpc/pr86731-longlong.c index b86209178e1..8a7a9ce7753 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr86731-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/pr86731-longlong.c @@ -2,9 +2,10 @@ left shift properly. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-maltivec -O3 -mpower8-vector " } */ +/* { dg-options "-maltivec -O3 -mvsx " } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr88558-p8.c b/gcc/testsuite/gcc.target/powerpc/pr88558-p8.c index fffb5b88c20..c1fe3e04bfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88558-p8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88558-p8.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -fno-math-errno -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -fno-math-errno -mdejagnu-cpu=power8 -mvsx" } */ /* -fno-math-errno is required to make {i,l,ll}rint{,f} inlined */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr88845.c b/gcc/testsuite/gcc.target/powerpc/pr88845.c index f3d02c5a52d..002690a1be1 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88845.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88845.c @@ -1,7 +1,7 @@ /* { dg-do compile { target powerpc*-*-linux* } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* { dg-final { scan-assembler {\mmtvsrd\M} { target { lp64 } } } } */ /* { dg-final { scan-assembler {\mxscvspdpn\M} { target { lp64 } } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr90763.c b/gcc/testsuite/gcc.target/powerpc/pr90763.c index 2f4c4f4c0f1..0094b4ef70c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr90763.c +++ b/gcc/testsuite/gcc.target/powerpc/pr90763.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ /* PR90763: PowerPC vec_xl_len should take const. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr91903.c b/gcc/testsuite/gcc.target/powerpc/pr91903.c index 7f9470ee905..b304a9e2f7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr91903.c +++ b/gcc/testsuite/gcc.target/powerpc/pr91903.c @@ -1,6 +1,6 @@ /* { dg-do compile */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/pr92923-2.c b/gcc/testsuite/gcc.target/powerpc/pr92923-2.c index ebecb69915f..9dea626cb82 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr92923-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr92923-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -fdump-tree-gimple" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -fdump-tree-gimple" } */ /* Verify that overloaded built-ins for "eqv", "nand" and "orc" do not produce VIEW_CONVERT_EXPR operations on their operands. Like so: diff --git a/gcc/testsuite/gcc.target/powerpc/pr96933-1.c b/gcc/testsuite/gcc.target/powerpc/pr96933-1.c index 71d72084413..7c425721b19 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr96933-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr96933-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ /* Test vector constructions with char/short type values whether use 128bit direct move instructions mtvsrdd on Power9 or later, rather than transfering diff --git a/gcc/testsuite/gcc.target/powerpc/pr96933-2.c b/gcc/testsuite/gcc.target/powerpc/pr96933-2.c index 9fa15125d8d..2eacc24296d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr96933-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr96933-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* Test vector constructions with char/short type values whether use direct move instructions like mtvsrd/mtvsrwz on Power8, rather than transfering diff --git a/gcc/testsuite/gcc.target/powerpc/pr97019.c b/gcc/testsuite/gcc.target/powerpc/pr97019.c index 81b1bda320f..d82866b07b6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr97019.c +++ b/gcc/testsuite/gcc.target/powerpc/pr97019.c @@ -2,8 +2,8 @@ the built-in functions vec_ld/vec_st can use lxvd2x/stxvd2x (P8 big-endian) or lxv/stxv (P9 and later) for some cases, those rldicr instructions fed to them are necessary. */ -/* { dg-do compile { target { powerpc_p8vector_ok && le } } } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-do compile { target { powerpc_vsx_ok && le } } } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* Test there are no useless instructions "rldicr x,y,0,59" to align the addresses for lvx/stvx. */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr98914.c b/gcc/testsuite/gcc.target/powerpc/pr98914.c index e4d78e3e6b3..54d9f48c306 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr98914.c +++ b/gcc/testsuite/gcc.target/powerpc/pr98914.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-Og -mvsx" } */ vector int diff --git a/gcc/testsuite/gcc.target/powerpc/pragma_misc9.c b/gcc/testsuite/gcc.target/powerpc/pragma_misc9.c index c1667d9f7db..b99b3e29d40 100644 --- a/gcc/testsuite/gcc.target/powerpc/pragma_misc9.c +++ b/gcc/testsuite/gcc.target/powerpc/pragma_misc9.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ /* { dg-options "-mdejagnu-cpu=power9 -maltivec -O2" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pragma_power8.c b/gcc/testsuite/gcc.target/powerpc/pragma_power8.c index cb0f30844d3..8de815e5a9e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pragma_power8.c +++ b/gcc/testsuite/gcc.target/powerpc/pragma_power8.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power6 -maltivec -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/sad-vectorize-1.c b/gcc/testsuite/gcc.target/powerpc/sad-vectorize-1.c index 326a821add8..1049437cf65 100644 --- a/gcc/testsuite/gcc.target/powerpc/sad-vectorize-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sad-vectorize-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O3 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mdejagnu-cpu=power9 -mvsx" } */ /* Verify that we vectorize this SAD loop using vabsdub. */ diff --git a/gcc/testsuite/gcc.target/powerpc/sad-vectorize-2.c b/gcc/testsuite/gcc.target/powerpc/sad-vectorize-2.c index 3ae5c4805f9..73a68eb9ee2 100644 --- a/gcc/testsuite/gcc.target/powerpc/sad-vectorize-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sad-vectorize-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O3 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mdejagnu-cpu=power9 -mvsx" } */ /* Verify that we vectorize this SAD loop using vabsduh. */ diff --git a/gcc/testsuite/gcc.target/powerpc/signbit-1.c b/gcc/testsuite/gcc.target/powerpc/signbit-1.c index 1642bf46d7a..21c5b77916c 100644 --- a/gcc/testsuite/gcc.target/powerpc/signbit-1.c +++ b/gcc/testsuite/gcc.target/powerpc/signbit-1.c @@ -1,8 +1,8 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target ppc_float128_sw } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -mfloat128" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -mfloat128" } */ int do_signbit_kf (__float128 a) { return __builtin_signbit (a); } int do_signbit_if (__ibm128 a) { return __builtin_signbit (a); } diff --git a/gcc/testsuite/gcc.target/powerpc/signbit-2.c b/gcc/testsuite/gcc.target/powerpc/signbit-2.c index 1b792916eba..a5b669f2a76 100644 --- a/gcc/testsuite/gcc.target/powerpc/signbit-2.c +++ b/gcc/testsuite/gcc.target/powerpc/signbit-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target ppc_float128_sw } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2 -mfloat128" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mfloat128" } */ int do_signbit_kf (__float128 *a) { return __builtin_signbit (*a); } diff --git a/gcc/testsuite/gcc.target/powerpc/sse-addps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-addps-1.c index c5827e128ba..5e2ffd3dfaa 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-addps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-addps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c index 782bae8de0d..004f7ebda99 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-andnps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-andnps-1.c index 9851621de37..e376d3139c7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-andnps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-andnps-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target le } } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-andps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-andps-1.c index 3a636669dee..a4ffaac0c51 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-andps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-andps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cmpss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cmpss-1.c index 1826949da4b..ab8440addb8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cmpss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cmpss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi16ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi16ps-1.c index 5b8b535f257..ca163ae92a6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi16ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi16ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32ps-1.c index 4b313b5a6a3..b5f300b840a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32x2ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32x2ps-1.c index a2539af1c77..ea90185153c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32x2ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi32x2ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi8ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi8ps-1.c index 5278980715e..c8ef487ae61 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpi8ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpi8ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi16-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi16-1.c index ca66afcce21..6b0d9c75216 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi16-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi16-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi8-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi8-1.c index fd80648551c..dcff66532d2 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi8-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpspi8-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpu16ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpu16ps-1.c index 0cf187be190..90b147938d6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpu16ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpu16ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtpu8ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtpu8ps-1.c index 742f5723fba..39803c2c693 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtpu8ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtpu8ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-1.c index 42c296751cb..228a25ad694 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-2.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-2.c index 8782d1fe3ef..7d934aee9b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtsi2ss-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-1.c index c12a98102e6..7bf48b0aa4b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-2.c b/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-2.c index 023446eb7fb..226b9f22330 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvtss2si-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-1.c index c7f68afb080..ebbe1f8111a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-2.c b/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-2.c index af0a1840598..6cfa339ec76 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-cvttss2si-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-divps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-divps-1.c index 2e60dad9305..ac8cf9122db 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-divps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-divps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-divss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-divss-1.c index c1dea93b48b..ebeebc97bd6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-divss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-divss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-maxps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-maxps-1.c index f8a4422343a..5a88ca2c17b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-maxps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-maxps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-maxps-2.c b/gcc/testsuite/gcc.target/powerpc/sse-maxps-2.c index 002aee9b32f..9ce55ca77bc 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-maxps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-maxps-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-maxss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-maxss-1.c index cc78fba6e4e..05634ce40c8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-maxss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-maxss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-minps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-minps-1.c index a27cd794c7c..93b7bfef8f7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-minps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-minps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-minps-2.c b/gcc/testsuite/gcc.target/powerpc/sse-minps-2.c index 212c896d08f..8d9b5300c55 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-minps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-minps-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-minss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-minss-1.c index c1ada313e77..a3cdc5c1d0d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-minss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-minss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movaps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movaps-1.c index de3bb39060d..418305b7f62 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movaps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movaps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movaps-2.c b/gcc/testsuite/gcc.target/powerpc/sse-movaps-2.c index 964e2915ea0..6a86eeca4f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movaps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movaps-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movhlps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movhlps-1.c index 5bd2d906e7e..3d8a325d70a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movhlps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movhlps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movhps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movhps-1.c index a0666e51fd3..2ee93f1f9e8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movhps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movhps-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target le } } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movhps-2.c b/gcc/testsuite/gcc.target/powerpc/sse-movhps-2.c index 29dde687ba9..0f5523a09fa 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movhps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movhps-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movlhps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movlhps-1.c index cf44d69b5c8..b8cb1be17d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movlhps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movlhps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c index 281d49c75a6..622bc4312dc 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target le } } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movlps-2.c b/gcc/testsuite/gcc.target/powerpc/sse-movlps-2.c index a2f1ed1babb..d098b1d5e92 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movlps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movlps-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movmskb-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movmskb-1.c index ab68dc4a666..ed493d9f3c6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movmskb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movmskb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movmskps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movmskps-1.c index 427e3491fd4..8b621ffa0f5 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movmskps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movmskps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-movss-1.c index 8d09892ed3a..c7d005c66a3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movss-2.c b/gcc/testsuite/gcc.target/powerpc/sse-movss-2.c index fe85f6f3d6a..6a885dc5741 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movss-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movss-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-movss-3.c b/gcc/testsuite/gcc.target/powerpc/sse-movss-3.c index 81d4def86e2..17ca36bdbc3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-movss-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-movss-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-mulps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-mulps-1.c index 59a58d176ad..6a0f68c0311 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-mulps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-mulps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-mulss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-mulss-1.c index da152dc7019..af909972ab4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-mulss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-mulss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-orps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-orps-1.c index 645c4ef93c7..1a489fc7e7d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-orps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-orps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c index 6f8721ad38c..d7361dab2ce 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pmaxsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pmaxsw-1.c index 456864b1a84..7a9ceeffa68 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pmaxsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pmaxsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pmaxub-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pmaxub-1.c index c046a091044..7413dbd5b22 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pmaxub-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pmaxub-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pminsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pminsw-1.c index ca81962d99d..d8c09cfb284 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pminsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pminsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pminub-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pminub-1.c index 875e567a1af..0bc263723a4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pminub-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pminub-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pmulhuw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pmulhuw-1.c index f2c2dd37e6d..75cc9d5f00d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pmulhuw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pmulhuw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-psadbw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-psadbw-1.c index c06f4982f97..63e1dbb9537 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-psadbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-psadbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-rcpps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-rcpps-1.c index e90b729eafc..dde20854861 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-rcpps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-rcpps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-rsqrtps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-rsqrtps-1.c index 9f5d05a333a..98fabe74e21 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-rsqrtps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-rsqrtps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-shufps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-shufps-1.c index 29658b7c7c4..5f82fae0bfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-shufps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-shufps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-sqrtps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-sqrtps-1.c index ba865a4ede6..a45971f4168 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-sqrtps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-sqrtps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-subps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-subps-1.c index 01a1a6c852a..636c66c3e0b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-subps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-subps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-subss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-subss-1.c index 329404c0744..54c6ae13034 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-subss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-subss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-1.c index ef3e4a76e2b..8c43ef82f3b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-2.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-2.c index dbac47f8f2f..cf8c814d375 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-3.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-3.c index d4072233410..1d6b769e4dc 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-4.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-4.c index efaf673ba83..f1c0702c474 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-4.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-4.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-5.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-5.c index 6d4468bb0d4..37b76f15841 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-5.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-5.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-6.c b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-6.c index 76027d5ecec..bc1d749d257 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-6.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-ucomiss-6.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-unpckhps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-unpckhps-1.c index 2526936a348..db5e3a63137 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-unpckhps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-unpckhps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-unpcklps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-unpcklps-1.c index 060105ad165..c22188c98a5 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-unpcklps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-unpcklps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse-xorps-1.c b/gcc/testsuite/gcc.target/powerpc/sse-xorps-1.c index a0ae4236e84..6083d9cc44c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-xorps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-xorps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-addpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-addpd-1.c index 1cba6bc6749..e87c54e2f6f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-addpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-addpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c index 634746a2a97..00f226525ad 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-andnpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-andnpd-1.c index 747bcc9387a..f6eebd5d511 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-andnpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-andnpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target le } } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-andpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-andpd-1.c index 5034bf9f5fa..0a9df60f87a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-andpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-andpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cmppd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cmppd-1.c index 1890535751c..458e0d42832 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cmppd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cmppd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cmpsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cmpsd-1.c index 0c8babfc51e..3ca25a24b72 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cmpsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cmpsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-1.c index ed3e5ebee02..f1d6c71af9b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-2.c index 941a4fdd6e4..8653ea79f96 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-3.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-3.c index 5bb03c30fd4..94cffb70507 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-4.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-4.c index 8732e1aad2f..991436b65aa 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-4.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-4.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-5.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-5.c index bbc12aefd92..e915c75509e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-5.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-5.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-6.c b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-6.c index 1ec50890804..0af8994d856 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-comisd-6.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-comisd-6.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c index 6565b42dd00..141d838556d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2ps-1.c index 2b2c631940e..cfa2f122c66 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c index 26efa7f9354..4378723051b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c index 80be7fdeb94..82096bdba2a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c index b9cd6f1d753..a2e493aa0f4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c index 8e1b67b683e..1217a253c6a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c index 7f71527fcff..4aead4afbdd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c index 00387a7a25b..12a673ee427 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c index fc76d3ba9ec..aedf55a997f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-1.c index 91f936c35e1..d596f25b51f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-2.c index 2ed11ed0677..4150c54df63 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsi2sd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c index 5b3ebe60e43..19f2aa0ad1e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c index 8ea6bef7fcd..29f1668331a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttps2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttps2dq-1.c index 67ce96776dd..695c3a4a6d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttps2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttps2dq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c index 0523a136956..5420bce95d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-2.c index e944d4a6961..4331f837663 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c index 2350289e2e8..b2d660aae28 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c index 6d5ac9aff53..7d441f85d28 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-maxpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-maxpd-1.c index 021cc4cd91f..faebbd03082 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-maxpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-maxpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c index 7bb70b7f3f2..494d5cb940a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-minpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-minpd-1.c index 2af5a0893e4..fc6c9055de6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-minpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-minpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c index 1d085a3043d..5ec5b6454bf 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-mmx.c b/gcc/testsuite/gcc.target/powerpc/sse2-mmx.c index 1841a46007c..6e95a606b03 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-mmx.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-mmx.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector" } */ +/* { dg-options "-O3 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #include "sse2-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-1.c index 168f470b2d6..a9f4fa97c85 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-2.c index 4aacbe04955..d89cb7dd3cd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movhpd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-1.c index 38bbc9d7206..0a16551177f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-2.c index de178663340..9d82a913d42 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movlpd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c index 933412afadc..d66874e65b3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c index 1eaf2f39ea1..47dbda18840 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movq-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-movq-2.c index b3e3a794970..a2e22d13f1e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movq-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movq-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movq-3.c b/gcc/testsuite/gcc.target/powerpc/sse2-movq-3.c index a1cc90dd389..8edfd43abc5 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movq-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movq-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-1.c index 4f513765d53..f31bace11d7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-2.c index f9c49344714..cd611d141bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c index beb908dc755..040c40387a2 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c index 06adddd1458..76fdd894b1c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c index 02b50d0d445..2731924ca75 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-orpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-orpd-1.c index cdc057e2523..e2c236246e5 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-orpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-orpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c index 9fbc750df31..d0c52a37bc7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c index ed09138f169..526eb33ff15 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c index 3024e54e05f..123fc7811c7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddb-1.c index f3dcfb08ac3..2d93dc5f03d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddd-1.c index 7d5307d7b6b..895a60c3d2a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddq-1.c index 033a202a7c9..702deb8fa77 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c index 3864185dbc9..9166f8c21af 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c index 40e36650925..6bffbd8536c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c index b7066094487..85416a2f1d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddusw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddusw-1.c index 93471771a24..0b62723f923 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddusw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddusw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddw-1.c index 6b3a9e16fb8..d50413d3cc3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pand-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pand-1.c index 0ccd5f491a0..f2e8177752b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pand-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pand-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pandn-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pandn-1.c index 05e8407c682..14938db8a8d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pandn-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pandn-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pavgb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pavgb-1.c index dbe2d478068..4fb4e985947 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pavgb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pavgb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pavgw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pavgw-1.c index 1afff28fee4..48c46bee50a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pavgw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pavgw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqb-1.c index 67c46cd25a0..2f11b7b6eba 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqd-1.c index 67075293302..376c97a43be 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqw-1.c index 03050d25361..b1b5d40bb19 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpeqw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtb-1.c index 3497a3b1ebe..893369e3081 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtd-1.c index 9f32a1cedc4..13f19571090 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtw-1.c index 1ed268fd43b..ad4b50c0977 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pcmpgtw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pextrw.c b/gcc/testsuite/gcc.target/powerpc/sse2-pextrw.c index 93aabfa4d5e..54926bd7e30 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pextrw.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pextrw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pinsrw.c b/gcc/testsuite/gcc.target/powerpc/sse2-pinsrw.c index 7ca485930f9..aa87e298c1a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pinsrw.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pinsrw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmaddwd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmaddwd-1.c index 674c4d41d8a..b20924c0dcd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmaddwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmaddwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmaxsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmaxsw-1.c index 287ab3cd5e9..6bc48a2fcb9 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmaxsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmaxsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmaxub-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmaxub-1.c index c0c939eec28..8ab8eec0c05 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmaxub-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmaxub-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pminsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pminsw-1.c index a9dc4ad9548..7f0c8836d6b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pminsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pminsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pminub-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pminub-1.c index d00f92d4b46..ac41d76ad0e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pminub-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pminub-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c index 921cfe3dbd7..8740835c29d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhuw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhuw-1.c index 0b4dd2ece86..71bca1d24ba 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhuw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhuw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c index b15d2e2b87d..0d2e16aa890 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmullw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmullw-1.c index 62a052401b4..e824e8e77e1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmullw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmullw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c index 1e41d464b14..883f1bb6cde 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-por-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-por-1.c index b4ae8804d9e..b8538563d62 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-por-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-por-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c index 82b8230c599..03b25cc44c3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c index b8263bae031..b40ef6ce810 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c index 7830fd43288..e7c4f3348b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c index 5a014751afc..3f407e89913 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-1.c index 094dfb4d022..5b4e4dd0a8f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c index 00a85963efd..f12b63ebdbb 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c index 22a31d0e9bd..7b3afb9efbd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psllq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psllq-1.c index bb1167fd925..63f40b0583b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psllq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psllq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psllq-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psllq-2.c index 253793e1932..d9d3d1c3ed4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psllq-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psllq-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psllw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psllw-1.c index beca23c3372..aafbe6bc524 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psllw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psllw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psllw-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psllw-2.c index cb132aa54c3..0ac9e403171 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psllw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psllw-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrad-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrad-1.c index caf3e7525d8..86abf256b69 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrad-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrad-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrad-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrad-2.c index 782b47a995a..43f79ac410c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrad-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrad-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psraw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psraw-1.c index c66733851fe..86d97bdd954 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psraw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psraw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psraw-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psraw-2.c index b00988c0c97..c72e7369fa6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psraw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psraw-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c index 594cd15178c..28cf7845dd9 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c index 083c09a7684..806e68ad804 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c index 41bfc4f6477..81b35d97d72 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-1.c index 09df3e789e2..e33504fd1de 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c index 3d160d90323..ded7537cd67 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-1.c index 5104cf8cdaf..aabec7161ce 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-2.c index a2cef4458d6..f94c50bbd4e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrlw-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubb-1.c index 112fe279cd1..4ad02a2f962 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubd-1.c index 1390b0d5fe8..509d263d5eb 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubq-1.c index 45d214837f3..162dab25ac4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubsb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubsb-1.c index f1afb928c28..2b5ada2dedc 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubsb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubsb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubsw-1.c index 7dac4b00241..b022b10c0b6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubsw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c index b9efa6cd158..623cd95ad21 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubusw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubusw-1.c index 125e5fe91d3..5abc5947694 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubusw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubusw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubw-1.c index 6eaee9aef1e..138d7936a97 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhbw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhbw-1.c index 1d25a4d97bc..4c7e8a2152a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhdq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhdq-1.c index 0fbcb16cd37..a89166c44fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhdq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhdq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhqdq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhqdq-1.c index 46df9b96fbf..3be80f76bf0 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhqdq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhqdq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhwd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhwd-1.c index 2216c01e852..6f6dae446dd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpckhwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpckhwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklbw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklbw-1.c index f4397513e86..ba7488ade1b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklbw-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpckldq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpckldq-1.c index 4905f1c4689..1453448f9f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpckldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpckldq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklqdq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklqdq-1.c index 43439bba4fe..b49843de7c8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklqdq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklqdq-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklwd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklwd-1.c index 516e80fe61c..0ccc038f62b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-punpcklwd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-punpcklwd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pxor-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pxor-1.c index aca917e1ae2..95e6ad82f6d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pxor-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pxor-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-shufpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-shufpd-1.c index 7760bcb2400..a58eb21813f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-shufpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-shufpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c index 44dd42178e5..7a2de5e42e8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-subpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-subpd-1.c index 645d6440db1..b0bc7ae09a8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-subpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-subpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c index 7962bafeebb..602692d80fc 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-1.c index 1eae74ce19c..cefa0d94a4a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-2.c index ee122693c08..45fd9107425 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-3.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-3.c index dcbc985461d..d530df42ca8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-4.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-4.c index 3205e0dc9d1..ab53117b281 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-4.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-4.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-5.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-5.c index cce5f844621..a52ada2a7d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-5.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-5.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-6.c b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-6.c index 2240e8b4b61..0c36f5d1f0c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-6.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-ucomisd-6.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-unpckhpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-unpckhpd-1.c index 61b2282089f..f3e2204b0d3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-unpckhpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-unpckhpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-unpcklpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-unpcklpd-1.c index 142b60ac0c9..dae8d776715 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-unpcklpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-unpcklpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-xorpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-xorpd-1.c index e2fa49311ed..9e15fc5812b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-xorpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-xorpd-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-addsubpd.c b/gcc/testsuite/gcc.target/powerpc/sse3-addsubpd.c index 5685a4aac14..287a8575ea5 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-addsubpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-addsubpd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-addsubps.c b/gcc/testsuite/gcc.target/powerpc/sse3-addsubps.c index d01ee611f5b..b341ba8e74b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-addsubps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-addsubps.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-haddpd.c b/gcc/testsuite/gcc.target/powerpc/sse3-haddpd.c index ec90f634ffa..67c995b5dcd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-haddpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-haddpd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-haddps.c b/gcc/testsuite/gcc.target/powerpc/sse3-haddps.c index 149ddd283ea..f0b5d8ba77e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-haddps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-haddps.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-hsubpd.c b/gcc/testsuite/gcc.target/powerpc/sse3-hsubpd.c index 498ae811796..2550c9758f1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-hsubpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-hsubpd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-hsubps.c b/gcc/testsuite/gcc.target/powerpc/sse3-hsubps.c index 1282f15f28e..a1b8b877e22 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-hsubps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-hsubps.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-lddqu.c b/gcc/testsuite/gcc.target/powerpc/sse3-lddqu.c index 9de0ca15585..8e01862e423 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-lddqu.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-lddqu.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c b/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c index 2b2e2c2f7f5..7eda0af2af2 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-movshdup.c b/gcc/testsuite/gcc.target/powerpc/sse3-movshdup.c index e44ae433cbb..3a911a7d1d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-movshdup.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-movshdup.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse3-movsldup.c b/gcc/testsuite/gcc.target/powerpc/sse3-movsldup.c index c6bbc20ce58..c6cbffbd228 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse3-movsldup.c +++ b/gcc/testsuite/gcc.target/powerpc/sse3-movsldup.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendpd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendpd.c index ca1780471fa..b98d42dc051 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendpd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps-2.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps-2.c index 768b6e64bba..c755702b108 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps.c index 2f114b69a84..e90bc1a1ad1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendps.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvpd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvpd.c index b82cd28848a..e95ede61e3a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvpd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvps.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvps.c index 8fcb5538304..871e35ae8e4 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-blendvps.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilpd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilpd.c index f532fdb9c28..cf77c5055fa 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilpd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilps.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilps.c index 1e29999a57d..7f95cf27f54 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilps.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilsd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilsd.c index cc0d9c1d0af..0781cb5e4fe 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilsd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilsd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilss.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilss.c index cf1a0392990..6c4d417a132 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilss.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-ceilss.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorpd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorpd.c index ad21644f50c..e6702b5d3e8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorpd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorpd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorps.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorps.c index a53ef9aa9e8..1d5f94f265e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorps.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorps.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorsd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorsd.c index e4ebc550556..8051c0d5d9f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorsd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorsd.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorss.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorss.c index cfbfe2b1eba..d9b892820d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-floorss.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-floorss.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendvb.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendvb.c index 6aa77fea1ae..091a03992ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendvb.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendvb.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw-2.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw-2.c index d3f96e823c0..20a6650d898 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw.c index 1c48c7621ba..386e9dca8fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pblendw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pcmpeqq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pcmpeqq.c index 39b9f01d64a..8d1f27177d9 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pcmpeqq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pcmpeqq.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrb.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrb.c index 4fa5e83ce7c..66d8815778c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrb.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrb.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrd.c index 0bec936d074..221b33414a6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrd.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrq.c index 395c20e663d..63dd008c9d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pinsrq.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbq.c index 9ec1ab7a416..2040b9e2d15 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbq.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxdq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxdq.c index 1c263782240..0fd9a175aea 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxdq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxdq.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwq.c index 67864695a11..96da5633c79 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwq.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmuldq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmuldq.c index 6a884f46235..59c7b358e7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmuldq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmuldq.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-ptest-1.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-ptest-1.c index 69d13d57770..e4c85beec13 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-ptest-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-ptest-1.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-2.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-2.c index cec16175473..1a84f026143 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-3.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-3.c index 88a5f0718eb..0ae2247011e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-roundpd-3.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target p8vector_hw } */ -/* { dg-options "-O2 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O2 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #ifndef CHECK_H #define CHECK_H "sse4_1-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c b/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c index 36b9bd7f9f4..ce705fb3427 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c +++ b/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsb.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsb.c index 180ae34944c..d0358d3fc34 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsb.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsb.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsd.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsd.c index 4a47030aaeb..e8f4419e4d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsd.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsw.c index e068b0ac2e0..509c44c242e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pabsw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pabsw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-palignr.c b/gcc/testsuite/gcc.target/powerpc/ssse3-palignr.c index cdd00c48b22..e76bbefdc52 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-palignr.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-palignr.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddd.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddd.c index e8108fadd15..4040ffab1d7 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddd.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddsw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddsw.c index efbdd5544b4..1c39ae5f495 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddsw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddsw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddw.c index fa4b9a5ef87..c57145638c4 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phaddw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phaddw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubd.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubd.c index c8291bef424..e3aad94346e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubd.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubsw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubsw.c index e03ae60bfef..7a642e26ebb 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubsw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubsw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubw.c index 87ed6b4a6f1..8d23dd0ebea 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-phsubw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-phsubw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pmaddubsw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pmaddubsw.c index 46fbd0eca1b..3bf5810c42b 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pmaddubsw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pmaddubsw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pmulhrsw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pmulhrsw.c index ab7e840fe53..6f64320013e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pmulhrsw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pmulhrsw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-pshufb.c b/gcc/testsuite/gcc.target/powerpc/ssse3-pshufb.c index 404ca4d82c1..042a1ee5095 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-pshufb.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-pshufb.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-psignb.c b/gcc/testsuite/gcc.target/powerpc/ssse3-psignb.c index 0ad08f04eb7..75b1ff6406b 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-psignb.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-psignb.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-psignd.c b/gcc/testsuite/gcc.target/powerpc/ssse3-psignd.c index 5258510cebb..97f959c7a9c 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-psignd.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-psignd.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/ssse3-psignw.c b/gcc/testsuite/gcc.target/powerpc/ssse3-psignw.c index b0f012225ae..bae1ee573e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/ssse3-psignw.c +++ b/gcc/testsuite/gcc.target/powerpc/ssse3-psignw.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */ +/* { dg-options "-O3 -mvsx -Wno-psabi" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-require-effective-target p8vector_hw } */ #ifndef CHECK_H diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c index ff7b67d6610..53e3bbd0047 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c index c71918cde09..2c0a9a603a7 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-12.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c index 01c4d7357ed..b20ec885084 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-14.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler "stxsdx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c index 6b3534a8eba..5607b56c1fb 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-15.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler "xxspltw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c index e8205e179d4..a09269a5e82 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-16.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler "vspltw" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c index 342ccd64a04..88ad9acd684 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-17.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { le } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O1" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-18.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-18.c index dadc4206c54..00e52c1e693 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-18.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-18.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ /* This is a test for a specific convert-splat permute removal. */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-19.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-19.c index d09db2005c3..f4698d51115 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-19.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-19.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -ftree-vectorize -mdejagnu-cpu=power8 -ffast-math -fvect-cost-model=unlimited" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -ftree-vectorize -mdejagnu-cpu=power8 -mvsx -ffast-math -fvect-cost-model=unlimited" } */ /* This tests special handling for various uses of xxpermdi, other than to perform doubleword swaps. */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c index 9b3c36780bc..c927daffe8f 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c index 847aebccca8..b6fb0bb80fe 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { *-*-aix* || { *-*-linux* && lp64 } } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8 -maltivec -mcmodel=large" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -maltivec -mcmodel=large" } */ /* The expansion for vector character multiply introduces a vperm operation. This tests that changing the vperm mask allows us to remove all swaps diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-23.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-23.c index bcbc8898445..d2d88e0cd2b 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-23.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-23.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" { target le } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-24.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-24.c index fdc9e96e65c..1c9badd6cae 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-24.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-24.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 -ffast-math" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-25.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-25.c index 51fab6a580e..44631ea9026 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-25.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-25.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-26.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-26.c index 88f1dc6579f..cc952fc4445 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-26.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-26.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* { dg-final { scan-assembler-times "lxvd2x" 2 } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-27.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-27.c index 758542a0a62..a41b8cd409e 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-27.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-27.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* { dg-final { scan-assembler-times "lxvd2x" 2 } } */ /* { dg-final { scan-assembler-times "stxvd2x" 1 } } */ /* { dg-final { scan-assembler-times "xxpermdi" 3 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c index a05d4cc65b7..6c3d1557233 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c index 03d63fd048f..44a67ac3e92 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c index 6b53991fd46..aa51db424a3 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c index f05aee05da9..29ffcbab33b 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c index 937828bbe9e..8dca8f517b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c index 7ec59772e57..ffb89e14ef9 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c index bd29d3fb6cd..5c0b29ccbfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c index 716a8b40e82..0bb4c7a6e2a 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3 " } */ /* Previous versions of this test required that the assembler does not contain xxpermdi or xxswapd. However, with the more sophisticated diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-46.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-46.c index 4738d5e0139..3b5154b1231 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-46.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-46.c @@ -1,6 +1,6 @@ /* { dg-do run { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 " } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 " } */ typedef __attribute__ ((__aligned__ (8))) unsigned long long __m64; typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c index 3c735698234..5fc9fcc832a 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target le } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/unpack-vectorize-3.c b/gcc/testsuite/gcc.target/powerpc/unpack-vectorize-3.c index 520a279ac1c..bb56dabbdd0 100644 --- a/gcc/testsuite/gcc.target/powerpc/unpack-vectorize-3.c +++ b/gcc/testsuite/gcc.target/powerpc/unpack-vectorize-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */ /* Test if signed int unpack vectorization succeeds. */ diff --git a/gcc/testsuite/gcc.target/powerpc/upper-regs-sf.c b/gcc/testsuite/gcc.target/powerpc/upper-regs-sf.c index a488b89b42e..8eb18ae7ed3 100644 --- a/gcc/testsuite/gcc.target/powerpc/upper-regs-sf.c +++ b/gcc/testsuite/gcc.target/powerpc/upper-regs-sf.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ /* Test make sure single precision values are allocated to the Altivec registers as well as the traditional FPR registers. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-0.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-0.c index e02ba447145..218c54657c4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-1.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-1.c index 2f02d397749..a6534df1159 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-2.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-2.c index 2530e67e20b..8fc2277f5e5 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-3.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-3.c index 17d7c8d32b8..2b464848259 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-4.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-4.c index d6e56cc258c..2373c396731 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-4.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdu-5.c b/gcc/testsuite/gcc.target/powerpc/vadsdu-5.c index ff6d43665e7..2af053b46bd 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdu-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdu-5.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdub-1.c b/gcc/testsuite/gcc.target/powerpc/vadsdub-1.c index a460962174d..64678c9397c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdub-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdub-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsdub-2.c b/gcc/testsuite/gcc.target/powerpc/vadsdub-2.c index c3d1bc84ade..ef0aab6c431 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsdub-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsdub-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsduh-1.c b/gcc/testsuite/gcc.target/powerpc/vadsduh-1.c index d08395acc6d..ad434a6aebb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsduh-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsduh-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsduh-2.c b/gcc/testsuite/gcc.target/powerpc/vadsduh-2.c index 7f17694cc09..1e9c3591e22 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsduh-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsduh-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsduw-1.c b/gcc/testsuite/gcc.target/powerpc/vadsduw-1.c index 8a809d55e8e..de363d41db8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsduw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsduw-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vadsduw-2.c b/gcc/testsuite/gcc.target/powerpc/vadsduw-2.c index a330f526c51..66a7497fc5a 100644 --- a/gcc/testsuite/gcc.target/powerpc/vadsduw-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vadsduw-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* This test should succeed on both 32- and 64-bit configurations. */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c b/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c index f74a117ace4..ef000c1cf10 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c @@ -1,7 +1,8 @@ /* { dg-do compile { target powerpc64*-*-* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target powerpc_vsx_ok } */ -/* { dg-options "-maltivec -O2 -mvsx -mpower8-vector" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-maltivec -O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ /* { dg-final { scan-assembler "vcmpgtsd" } } */ /* { dg-final { scan-assembler-not "xxlnor" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmp.c b/gcc/testsuite/gcc.target/powerpc/vec-cmp.c index eaeb4c6ca98..537630899bd 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-cmp.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-cmp.c @@ -1,7 +1,7 @@ /* { dg-do compile { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-times "vcmpgtsb" 4 } } */ /* { dg-final { scan-assembler-times "vcmpgtub" 4 } } */ /* { dg-final { scan-assembler-times "vcmpgtsh" 4 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c b/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c index d6ab2016500..7086156bef8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c @@ -1,6 +1,6 @@ /* { dg-do run { target { powerpc64*-*-* && { p8vector_hw } } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -mpower8-vector -O3" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O3" } */ /* Test that the vec_cmpne builtin works as expected for long long and double vectors. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-1.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-1.c index c694466cdd1..1cb5b1bd435 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-3.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-3.c index a47074234d5..4a15d1e4fbb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-4.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-4.c index 3dc7ae1c6d5..fd2bdf10725 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-5.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-5.c index 9e0d0ef5dd3..229ed3d2e30 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-6.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-6.c index 27c08113498..9c2cff9088b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-6.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-7.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-7.c index 2ad0193911a..22192f702b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-8.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-8.c index 527f2cffe8d..ea0bcc856b5 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extract-9.c b/gcc/testsuite/gcc.target/powerpc/vec-extract-9.c index c0044735cb6..0648f595e42 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extract-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extract-9.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-init-10.c b/gcc/testsuite/gcc.target/powerpc/vec-init-10.c index 23587b3ac05..4307e5ee100 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-init-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-init-10.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* Check that we can optimize sldi + or to rldimi for vector int init. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-init-3.c b/gcc/testsuite/gcc.target/powerpc/vec-init-3.c index 3265e2a61c1..f64a8b0c72b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-init-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-init-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ vector long merge (long a, long b) diff --git a/gcc/testsuite/gcc.target/powerpc/vec-init-6.c b/gcc/testsuite/gcc.target/powerpc/vec-init-6.c index 3b17300ac88..6e78095e11b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-init-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-init-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ vector int merge (int a, int b, int c, int d) diff --git a/gcc/testsuite/gcc.target/powerpc/vec-init-7.c b/gcc/testsuite/gcc.target/powerpc/vec-init-7.c index f75177cb54a..965960acd6f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-init-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-init-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ vector int splat (int a) diff --git a/gcc/testsuite/gcc.target/powerpc/vec-minmax-1.c b/gcc/testsuite/gcc.target/powerpc/vec-minmax-1.c index 3f6e3760075..6c8347fa8b4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-minmax-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-minmax-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ /* { dg-final { scan-assembler-times {\mxvmaxdp\M} 1 } } */ /* { dg-final { scan-assembler-times {\mxvmaxsp\M} 1 } } */ /* { dg-final { scan-assembler-times {\mxvmindp\M} 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-minmax-2.c b/gcc/testsuite/gcc.target/powerpc/vec-minmax-2.c index b27bebba846..79739a32ce6 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-minmax-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-minmax-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9 -ffast-math" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx -ffast-math" } */ /* { dg-final { scan-assembler-times {\mxsmaxcdp\M} 2 } } */ /* { dg-final { scan-assembler-times {\mxsmincdp\M} 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-set-char.c b/gcc/testsuite/gcc.target/powerpc/vec-set-char.c index eb7296db7dd..460324acd79 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-set-char.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-set-char.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-set-int.c b/gcc/testsuite/gcc.target/powerpc/vec-set-int.c index 6dc7d73a0fd..6ea954f304f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-set-int.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-set-int.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-set-short.c b/gcc/testsuite/gcc.target/powerpc/vec-set-short.c index a03ada72c62..78188c64376 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-set-short.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-set-short.c @@ -1,6 +1,6 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-sld-modulo.c b/gcc/testsuite/gcc.target/powerpc/vec-sld-modulo.c index d8dd14ec916..8379fde2423 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-sld-modulo.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-sld-modulo.c @@ -2,7 +2,8 @@ for a doubleword vector works correctly after gimple folding. */ /* { dg-do run { target { p8vector_hw } } } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-srad-modulo.c b/gcc/testsuite/gcc.target/powerpc/vec-srad-modulo.c index f1330fd4069..ae04705c7e6 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-srad-modulo.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-srad-modulo.c @@ -2,7 +2,8 @@ for a doubleword vector works correctly after gimple folding. */ /* { dg-do run { target { p8vector_hw } } } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-srd-modulo.c b/gcc/testsuite/gcc.target/powerpc/vec-srd-modulo.c index 70b6e85fe2f..9d6624f8fb3 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-srd-modulo.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-srd-modulo.c @@ -2,7 +2,8 @@ for a doubleword vector works correctly after gimple folding. */ /* { dg-do run { target { p8vector_hw } } } */ -/* { dg-options "-O2 -mpower8-vector" } */ +/* { dg-options "-O2 -mvsx" } */ +/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec_reve_2.c b/gcc/testsuite/gcc.target/powerpc/vec_reve_2.c index 966193951c3..ab7c2d9a091 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec_reve_2.c +++ b/gcc/testsuite/gcc.target/powerpc/vec_reve_2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vector_float.c b/gcc/testsuite/gcc.target/powerpc/vector_float.c index 4ac2d9fa2ac..50c3cae82c8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vector_float.c +++ b/gcc/testsuite/gcc.target/powerpc/vector_float.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -mdejagnu-cpu=power9" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */ vector float test (float *a, float *b, float *c, float *d) diff --git a/gcc/testsuite/gcc.target/powerpc/versioned-copy-loop.c b/gcc/testsuite/gcc.target/powerpc/versioned-copy-loop.c index bbfd1652e5e..b8baaa3e459 100644 --- a/gcc/testsuite/gcc.target/powerpc/versioned-copy-loop.c +++ b/gcc/testsuite/gcc.target/powerpc/versioned-copy-loop.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O3 -fdump-tree-vect-details" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mvsx -fdump-tree-vect-details" } */ /* Verify that a pure copy loop with a vectorization factor of two that requires alignment will not be vectorized. See the cost diff --git a/gcc/testsuite/gcc.target/powerpc/vslv-0.c b/gcc/testsuite/gcc.target/powerpc/vslv-0.c index f921b2ced51..cc8df73b84e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vslv-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vslv-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vslv-1.c b/gcc/testsuite/gcc.target/powerpc/vslv-1.c index 37407c1541d..2714e4ec13b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vslv-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vslv-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsrv-0.c b/gcc/testsuite/gcc.target/powerpc/vsrv-0.c index 8ecd3265cd0..410e6de5610 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsrv-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsrv-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsrv-1.c b/gcc/testsuite/gcc.target/powerpc/vsrv-1.c index 186e79a4608..9ba985a8a28 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsrv-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsrv-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-0.c index d73ec0e5bb8..6c42d94a23c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-1.c index ad90ee2a8d6..50208b8250f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-10.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-10.c index e2e84a2dcf4..f2f8f5be364 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-10.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-11.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-11.c index a05b504aed8..e708dd1f8a3 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-11.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-11.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-12.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-12.c index b4c669d2fb9..b9084f5f6d1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-12.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-12.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-13.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-13.c index 5501377d433..0812652c574 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-13.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-13.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-14.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-14.c index a0481857852..f2d00abd41d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-14.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-14.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-2.c index abc19c2e8e7..3378f9f5a5f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-3.c index 5048ac1426b..38aa56a015f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-4.c index 13fdb57ef3e..5a60dff848b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-5.c index c0474d3c265..9efbbb1d56f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-6.c index f25ba4e389c..4eb1dbcd046 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-7.c index 9c77e086ce3..1b4f0ad0419 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-8.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-8.c index 3069b70244c..050f07c0434 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-8.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-9.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-9.c index d21412a044d..c0b68455c18 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-ne-9.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-1.c index a1c7cb5d96a..dcbc6616c88 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-2.c index 4458327d60d..3666b45c891 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-3.c index c3d9005bd75..09b007841eb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-4.c index 0591904c1e7..7226c0ca0e9 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-5.c index d47acebd75e..153e728d87c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-6.c index 61097304e1f..29440ead6aa 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-7.c index a41e82e3b8c..45d7493e8cb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-0.c index 909c8a59a49..1c6a7275737 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-1.c index a721ce85dae..35da9261408 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-10.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-10.c index 3d83d45901e..30dfc83a97b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-10.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-11.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-11.c index d993912dccf..d9d7d3ff7fe 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-11.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-11.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-12.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-12.c index be0c127c9ba..8bd5b24b54d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-12.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-12.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-13.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-13.c index 35a24c97cde..90a59c4b758 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-13.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-13.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-14.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-14.c index 7b0b4f43a61..4375bfe21cc 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-14.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-14.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-2.c index 910ad8b1dce..c359975ec7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-3.c index 7b0b23d6175..677db19d5d2 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-4.c index a2dac327166..2f2f08c3534 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-5.c index 7b98aab6f5a..8d155509dc4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-6.c index ad7d121b660..5fea9ac9fdc 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-7.c index 707f7eb1735..254a1161580 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-8.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-8.c index 45078c510ca..d94ef89f3d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-8.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-9.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-9.c index 525b1a4ed0d..efe83cf2ee7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eq-9.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-1.c index 36b13efc7a8..4fdc538e159 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-2.c index cd8b762a0fe..9aee034329f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-3.c index 6883477d4b9..2af3cdf72d2 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-4.c index 947fe4dbc09..ea48d183178 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-5.c index 269ffd8a7ea..747fcaffe37 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-6.c index 35a5da5ef87..8d5c155bb18 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-7.c index 3bf8a324772..6e94feea6e0 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-0.c index a780b9b8ff7..bfea50cafe4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-1.c index 454b42f9067..1860fe8f23d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-2.c index 52436e13507..1bce6468d96 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-3.c index 0436434f08c..c1448ac76af 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-4.c index c8f2cd56ac7..9cf0cd7ac95 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-5.c index 5aa0740e0c7..cd509a9e915 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-6.c index db8c9ff4d81..28d2bf4c6a5 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O1" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O1" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-8.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-8.c index 99caf06c088..ac8b6e6cee2 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-8.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-9.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-9.c index ef1796f8142..5a11b8fb0f2 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpne-9.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-1.c index f538d188f04..f279184f6b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-2.c index 6fc9b710ac1..36e8008f910 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-3.c index 97a2ce48789..2e29024184a 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-4.c index 04a289f646e..a5ca7c7c6b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-5.c index 272bda9658c..0dbe16fc56e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-6.c index ee56d7d1cf8..9fcefa0f633 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-7.c index 52110af7283..95bacc3df32 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c index f43015279f2..c963fc8c64f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c index b0e4beec3b2..d15c33d7dfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c index 892a0788b36..2251453e43d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c index c817118ca78..2d803da99a4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mlittle" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -mlittle" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c index c45048e2eef..d12eb57da68 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mlittle" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -mlittle" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c index 9f307194fb2..3a93cf21737 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c index 703f8febb71..1ef7845974c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c index f0c380d9560..5f68e3cc97f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c index 844fb5da523..be8f91bb7a1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mlittle" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -mlittle" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c index 7b05f7751b6..2927f25597c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-linux* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -mlittle" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -mlittle" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-0.c index 43bfc55f4a8..34bfe59270e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-0.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-1.c index c7ccf282e59..48463ab8f23 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-10.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-10.c index 742488fe651..aa7855a9498 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-10.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-11.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-11.c index 5f3f305fff2..f3e01561642 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-11.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-11.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-12.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-12.c index 92b0d0dda12..729b38659da 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-12.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-12.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ /* The vec_xl_len() function is not available on power8 configurations. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-13.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-13.c index 0f601fbbb50..62df33eefc1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-13.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-13.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-2.c index fea16792f62..cd0d3d067af 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-3.c index 64596dd4396..b51a3860130 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-4.c index d7e04de3305..053414ce450 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-5.c index 68979cd3b6e..2f13ee2101b 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-6.c index 5c7235e8727..e4fcbd4bdee 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-6.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-7.c index e3264ed7974..eea03260549 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-8.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-8.c index 4e396cbc07f..59fb4d83d78 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-9.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-9.c index ffac864b1f8..b0a35f32cba 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-9.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-0.c index c85b6c3a656..22a636ef701 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-1.c index 97158634e72..7fb2e261a87 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-2.c index 32754d13aa1..ba78936309e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-3.c index 7c684e3500d..f9f03d235e3 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-4.c index da14d8a43f9..3ea2182c349 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-5.c index 3e5096b0e15..e322d3ce9ee 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-6.c index 65d43a144d6..71ddafe7063 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-7.c index c6f7b5c0b91..acd46c76784 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-0.c index 8392713852e..0d6c7729328 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-0.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-1.c index 150a5251462..6b3f6d6ced9 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-2.c index 5e221100ad6..32392ae84b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-2.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-3.c index 5bddeded11b..b56a3afa90e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-3.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-4.c index 8d34e19ca91..cd42d10c9cc 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-4.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-5.c index 617afee7eeb..4d694ce6565 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-5.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-6.c index b2e8edddf41..f9566a40725 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-6.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-7.c index fd6b5bee449..04dead104ff 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-7.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-0.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-0.c index e798631fbe5..4133bcb31fc 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-0.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-1.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-1.c index 842b5f87bec..a91d3a0939e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-10.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-10.c index c043711c864..b267a1eda64 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-10.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-11.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-11.c index 158196b8a49..1d49754c64f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-11.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-11.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-12.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-12.c index f30d49cb4cc..e5635155a2a 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-12.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-12.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-13.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-13.c index 2a6a7da2745..f471419e453 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-13.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-13.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-2.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-2.c index 1d1b4a9a65b..38804cd04ba 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-3.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-3.c index e2395acd968..4986c479ea9 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-4.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-4.c index e43896b8d22..739732f8dc7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-5.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-5.c index 93cafd35530..4a8752edc48 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-6.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-6.c index e5bd9282085..10f8df30522 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-6.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-6.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-7.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-7.c index 67532648a05..d42e9a67b40 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-8.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-8.c index afeeb6cdc3d..20ee3a17b27 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-8.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-9.c b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-9.c index 06611960059..cc435288b3d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-9.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */ #include #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-msum.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-msum.c index 058ca0b0fe4..51eefd66b21 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-msum.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-msum.c @@ -2,9 +2,9 @@ inputs generate the proper code. */ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target int128 } */ -/* { dg-options "-mdejagnu-cpu=power9 -O3" } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c index 525007d81f7..b3133648c2f 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O3 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler "mfvsrd" } } */ /* { dg-final { scan-assembler-not "stfd" } } */ /* { dg-final { scan-assembler-not "stxvd2x" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-4.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-4.c index dd990d9b12e..991e7aa6b65 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-4.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-times "vspltw" 6 } } */ /* { dg-final { scan-assembler-times "xvcvsxwdp" 4 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-extract-5.c b/gcc/testsuite/gcc.target/powerpc/vsx-extract-5.c index 60a666f53a1..34bebc40694 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-extract-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-extract-5.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx" } */ /* { dg-final { scan-assembler-times "vspltw" 6 } } */ /* { dg-final { scan-assembler-times "xvcvsxwdp" 4 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-himode.c b/gcc/testsuite/gcc.target/powerpc/vsx-himode.c index a00ce181804..b5d8c177328 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-himode.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-himode.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ double load_asm_d_constraint (short *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-himode2.c b/gcc/testsuite/gcc.target/powerpc/vsx-himode2.c index eca2ccc846d..299f61cf21d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-himode2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-himode2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ unsigned int foo (unsigned short u) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-himode3.c b/gcc/testsuite/gcc.target/powerpc/vsx-himode3.c index 39b0bfb7851..0e77c0c6369 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-himode3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-himode3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ double load_asm_v_constraint (short *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-qimode.c b/gcc/testsuite/gcc.target/powerpc/vsx-qimode.c index 8d11b674f96..62885ad6470 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-qimode.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-qimode.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ double load_asm_d_constraint (signed char *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-qimode2.c b/gcc/testsuite/gcc.target/powerpc/vsx-qimode2.c index 1033901bc03..b42a32f3d5d 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-qimode2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-qimode2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ unsigned int foo (unsigned char u) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-qimode3.c b/gcc/testsuite/gcc.target/powerpc/vsx-qimode3.c index fd39645fd55..4dce4f01447 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-qimode3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-qimode3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p9vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power9 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */ double load_asm_v_constraint (signed char *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-simode.c b/gcc/testsuite/gcc.target/powerpc/vsx-simode.c index b3063c7027b..1344e0d05d9 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-simode.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-simode.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ double load_asm_d_constraint (int *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-simode2.c b/gcc/testsuite/gcc.target/powerpc/vsx-simode2.c index 65c007a86be..7e941cc7907 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-simode2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-simode2.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ unsigned int foo (unsigned int u) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-simode3.c b/gcc/testsuite/gcc.target/powerpc/vsx-simode3.c index 48201b41e89..b10d6e5d19e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-simode3.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-simode3.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */ double load_asm_v_constraint (int *p) { diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-7.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-7.c index 6032be4d6ce..f6746c6f1ef 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-7.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_vsx_ok } */ -/* { dg-options "-mvsx -mno-power8-vector -O2" } */ +/* { dg-options "-mvsx -mdejagnu-cpu=power7 -O2" } */ #include diff --git a/gcc/testsuite/gfortran.dg/vect/pr45714-b.f b/gcc/testsuite/gfortran.dg/vect/pr45714-b.f index abf33cd25b8..bf2a2eb6cbc 100644 --- a/gcc/testsuite/gfortran.dg/vect/pr45714-b.f +++ b/gcc/testsuite/gfortran.dg/vect/pr45714-b.f @@ -1,5 +1,5 @@ ! { dg-do compile { target powerpc*-*-* } } -! { dg-additional-options "-O3 -mcpu=power7 -mno-power9-vector -mno-power8-vector -ffast-math -mveclibabi=mass" } +! { dg-additional-options "-O3 -mdejagnu-cpu=power7 -mvsx -ffast-math -mveclibabi=mass" } integer index(18),i,j,k,l,ipiv(18),info,ichange,neq,lda,ldb, & nrhs,iplas diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 81ae92a0266..df56a86cf05 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2621,7 +2621,7 @@ proc check_p8vector_hw_available { } { || [istarget *-*-darwin*]} { expr 0 } else { - set options "-mpower8-vector" + set options "-mcpu=power8 -mvsx" check_runtime_nocache p8vector_hw_available { int main() { @@ -2649,7 +2649,7 @@ proc check_p9vector_hw_available { } { || [istarget *-*-darwin*]} { expr 0 } else { - set options "-mpower9-vector" + set options "-mcpu=power9 -mvsx" check_runtime_nocache p9vector_hw_available { int main() { @@ -2793,7 +2793,7 @@ proc check_ppc_float128_hw_available { } { || [istarget *-*-darwin*]} { expr 0 } else { - set options "-mfloat128 -mvsx -mfloat128-hardware -mpower9-vector" + set options "-mfloat128 -mvsx -mfloat128-hardware -mcpu=power9" check_runtime_nocache ppc_float128_hw_available { volatile __float128 x = 1.0q; volatile __float128 y = 2.0q; @@ -6946,62 +6946,6 @@ proc check_effective_target_powerpc_altivec_ok { } { } "-maltivec"] } -# Return 1 if this is a PowerPC target supporting -mpower8-vector - -proc check_effective_target_powerpc_p8vector_ok { } { - if { ([istarget powerpc*-*-*] - && ![istarget powerpc-*-linux*paired*]) - || [istarget rs6000-*-*] } { - # AltiVec is not supported on AIX before 5.3. - if { [istarget powerpc*-*-aix4*] - || [istarget powerpc*-*-aix5.1*] - || [istarget powerpc*-*-aix5.2*] } { - return 0 - } - # Darwin doesn't run on power8, so far. - if { [istarget *-*-darwin*] } { - return 0 - } - return [check_no_compiler_messages powerpc_p8vector_ok object { - int main (void) { - asm volatile ("xxlorc 0,0,0"); - return 0; - } - } "-mpower8-vector"] - } else { - return 0 - } -} - -# Return 1 if this is a PowerPC target supporting -mpower9-vector - -proc check_effective_target_powerpc_p9vector_ok { } { - if { ([istarget powerpc*-*-*] - && ![istarget powerpc-*-linux*paired*]) - || [istarget rs6000-*-*] } { - # AltiVec is not supported on AIX before 5.3. - if { [istarget powerpc*-*-aix4*] - || [istarget powerpc*-*-aix5.1*] - || [istarget powerpc*-*-aix5.2*] } { - return 0 - } - # Darwin doesn't run on power9, so far. - if { [istarget *-*-darwin*] } { - return 0 - } - return [check_no_compiler_messages powerpc_p9vector_ok object { - int main (void) { - long e = -1; - vector double v = (vector double) { 0.0, 0.0 }; - asm ("xsxexpdp %0,%1" : "+r" (e) : "wa" (v)); - return e; - } - } "-mpower9-vector"] - } else { - return 0 - } -} - # Return 1 if this is a PowerPC target supporting -mmodulo proc check_effective_target_powerpc_p9modulo_ok { } { @@ -11659,9 +11603,14 @@ proc check_vect_support_and_set_flags { } { lappend DEFAULT_VECTCFLAGS "-maltivec" if [check_p9vector_hw_available] { - lappend DEFAULT_VECTCFLAGS "-mpower9-vector" + # For power10 and up, don't specify -mcpu=power9, then we + # can have more testing coverage with higher cpu types. + if ![check_power10_hw_available] { + lappend DEFAULT_VECTCFLAGS "-mcpu=power9" + } + lappend DEFAULT_VECTCFLAGS "-mvsx" } elseif [check_p8vector_hw_available] { - lappend DEFAULT_VECTCFLAGS "-mpower8-vector" + lappend DEFAULT_VECTCFLAGS "-mcpu=power8" "-mvsx" } elseif [check_vsx_hw_available] { lappend DEFAULT_VECTCFLAGS "-mvsx" "-mno-allow-movmisalign" } diff --git a/libgcc/config/rs6000/t-float128-hw b/libgcc/config/rs6000/t-float128-hw index d64ca4dd694..ed67b572580 100644 --- a/libgcc/config/rs6000/t-float128-hw +++ b/libgcc/config/rs6000/t-float128-hw @@ -24,7 +24,7 @@ fp128_sed_hw = -hw # Build the hardware support functions with appropriate hardware support FP128_CFLAGS_HW = -Wno-type-limits -mvsx -mfloat128 \ - -mpower8-vector -mpower9-vector \ + -mcpu=power9 \ -mfloat128-hardware -mno-gnu-attribute \ -I$(srcdir)/soft-fp \ -I$(srcdir)/config/rs6000 \ diff --git a/libgcc/configure b/libgcc/configure index 3671d9b1a1a..b4ab06a63a3 100755 --- a/libgcc/configure +++ b/libgcc/configure @@ -5238,7 +5238,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5 $as_echo "$libgcc_cv_powerpc_float128" >&6; } - CFLAGS="$CFLAGS -mpower9-vector -mfloat128-hardware" + CFLAGS="$CFLAGS -mcpu=power9 -mvsx -mfloat128-hardware" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; } if ${libgcc_cv_powerpc_float128_hw+:} false; then : diff --git a/libgcc/configure.ac b/libgcc/configure.ac index 467f5e63ef2..2282f138c88 100644 --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -442,7 +442,7 @@ powerpc*-*-linux*) [libgcc_cv_powerpc_float128=yes], [libgcc_cv_powerpc_float128=no])]) - CFLAGS="$CFLAGS -mpower9-vector -mfloat128-hardware" + CFLAGS="$CFLAGS -mcpu=power9 -mvsx -mfloat128-hardware" AC_CACHE_CHECK([for PowerPC ISA 3.0 to build hardware __float128 libraries], [libgcc_cv_powerpc_float128_hw], [AC_COMPILE_IFELSE(