From patchwork Wed Oct 29 15:26:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 39787 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ED2EA24029 for ; Wed, 29 Oct 2014 15:27:09 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id m15sf1846410wgh.0 for ; Wed, 29 Oct 2014 08:27:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:mime-version:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:content-type; bh=YYaeB7hEeWUfQ3Uju1rtVvtVHx6n2zsazUrnE/bA8KM=; b=BRAs/k7gTgcalsTHKgXVOjUaZ8E/DYNE/vRpo8KWB6j8e2iPssAlRsjuQ6Qzn8lMhu gXB48YNJH/Ip50B11iUu/URN8wlbtBT2Vpzvafb0Dh9e0o6VAtfIckmT7DRDPD1IQgxA 8Eq+8lKoK4Q6LmBhw9b/mnaWfVktRW/pLRLcxYw0MeUI/p4Uhj+96r7wG1d1E36fh+jE fn1sRSlNOu6hZYuTbsbpdIPlPYlPeoTmk6Pi0rmfJf8vg1g4e6dtWxWH5T1HETPwRlOW JoNZKELRnXOTDYQcLy/3wCcZQsnuD6yuEvO2tykZP2GcJUb+vBaeIYZ8JzBCTUc77fN/ 8fCA== X-Gm-Message-State: ALoCoQm+G6rg95coWOEOPYRLdIVKWT/nMU2YFjo38vQuav4pd9TZsDDhGaGZlhD1PILzyGH2Dbmm X-Received: by 10.112.32.163 with SMTP id k3mr286652lbi.17.1414596429035; Wed, 29 Oct 2014 08:27:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.99 with SMTP id r3ls203078lar.73.gmail; Wed, 29 Oct 2014 08:27:08 -0700 (PDT) X-Received: by 10.152.43.229 with SMTP id z5mr12048875lal.86.1414596428803; Wed, 29 Oct 2014 08:27:08 -0700 (PDT) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com. [2a00:1450:4010:c03::230]) by mx.google.com with ESMTPS id zk2si7687373lbb.51.2014.10.29.08.27.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 08:27:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) client-ip=2a00:1450:4010:c03::230; Received: by mail-la0-f48.google.com with SMTP id gq15so2703868lab.21 for ; Wed, 29 Oct 2014 08:27:08 -0700 (PDT) X-Received: by 10.152.120.199 with SMTP id le7mr11900508lab.67.1414596428369; Wed, 29 Oct 2014 08:27:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp679924lbz; Wed, 29 Oct 2014 08:27:06 -0700 (PDT) X-Received: by 10.68.164.4 with SMTP id ym4mr10913506pbb.123.1414596425656; Wed, 29 Oct 2014 08:27:05 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id bw8si4182593pac.225.2014.10.29.08.27.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 08:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-382324-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 17537 invoked by alias); 29 Oct 2014 15:26:51 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 17527 invoked by uid 89); 29 Oct 2014 15:26:50 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f50.google.com Received: from mail-qg0-f50.google.com (HELO mail-qg0-f50.google.com) (209.85.192.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 29 Oct 2014 15:26:46 +0000 Received: by mail-qg0-f50.google.com with SMTP id a108so2470070qge.9 for ; Wed, 29 Oct 2014 08:26:43 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.46.66 with SMTP id i2mr16380072qaf.72.1414596403482; Wed, 29 Oct 2014 08:26:43 -0700 (PDT) Received: by 10.140.86.114 with HTTP; Wed, 29 Oct 2014 08:26:43 -0700 (PDT) Date: Wed, 29 Oct 2014 16:26:43 +0100 Message-ID: Subject: [testsuite,ARM] PR61153 Fix vbic and vorn tests From: Christophe Lyon To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes X-Original-Sender: christophe.lyon@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Hi, In PR61153, the vbic and vorn tests fail because when compiled at -O0 the expected Neon instructions are not generated, making scan-assembler fail. This patch: - replaces -O0 by -O2 - moves the declaration of local variables used as intrinsics parameters and results to global declarations, to prevent the compiler from optimizing the whole test away. OK? Christophe. 2014-10-29 Christophe Lyon PR target/61153 * gcc.target/arm/neon/vbicQs16.c: Compile at O2 and move variables declarations from local to global. * gcc.target/arm/neon/vbicQs16.c: Likewise. * gcc.target/arm/neon/vbicQs32.c: Likewise. * gcc.target/arm/neon/vbicQs64.c: Likewise. * gcc.target/arm/neon/vbicQs8.c: Likewise. * gcc.target/arm/neon/vbicQu16.c: Likewise. * gcc.target/arm/neon/vbicQu32.c: Likewise. * gcc.target/arm/neon/vbicQu64.c: Likewise. * gcc.target/arm/neon/vbicQu8.c: Likewise. * gcc.target/arm/neon/vbics16.c: Likewise. * gcc.target/arm/neon/vbics32.c: Likewise. * gcc.target/arm/neon/vbics64.c: Likewise. * gcc.target/arm/neon/vbics8.c: Likewise. * gcc.target/arm/neon/vbicu16.c: Likewise. * gcc.target/arm/neon/vbicu32.c: Likewise. * gcc.target/arm/neon/vbicu64.c: Likewise. * gcc.target/arm/neon/vbicu8.c: Likewise. * gcc.target/arm/neon/vornQs16.c: Likewise. * gcc.target/arm/neon/vornQs32.c: Likewise. * gcc.target/arm/neon/vornQs64.c: Likewise. * gcc.target/arm/neon/vornQs8.c: Likewise. * gcc.target/arm/neon/vornQu16.c: Likewise. * gcc.target/arm/neon/vornQu32.c: Likewise. * gcc.target/arm/neon/vornQu64.c: Likewise. * gcc.target/arm/neon/vornQu8.c: Likewise. * gcc.target/arm/neon/vorns16.c: Likewise. * gcc.target/arm/neon/vorns32.c: Likewise. * gcc.target/arm/neon/vorns64.c: Likewise. * gcc.target/arm/neon/vorns8.c: Likewise. * gcc.target/arm/neon/vornu16.c: Likewise. * gcc.target/arm/neon/vornu32.c: Likewise. * gcc.target/arm/neon/vornu64.c: Likewise. * gcc.target/arm/neon/vornu8.c: Likewise. diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQs16.c b/gcc/testsuite/gcc.target/arm/neon/vbicQs16.c index e15a260..ccb81e4 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQs16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQs16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int16x8_t out_int16x8_t; +int16x8_t arg0_int16x8_t; +int16x8_t arg1_int16x8_t; + void test_vbicQs16 (void) { - int16x8_t out_int16x8_t; - int16x8_t arg0_int16x8_t; - int16x8_t arg1_int16x8_t; - out_int16x8_t = vbicq_s16 (arg0_int16x8_t, arg1_int16x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQs32.c b/gcc/testsuite/gcc.target/arm/neon/vbicQs32.c index f376bf0..64f2a43 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQs32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQs32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int32x4_t out_int32x4_t; +int32x4_t arg0_int32x4_t; +int32x4_t arg1_int32x4_t; + void test_vbicQs32 (void) { - int32x4_t out_int32x4_t; - int32x4_t arg0_int32x4_t; - int32x4_t arg1_int32x4_t; - out_int32x4_t = vbicq_s32 (arg0_int32x4_t, arg1_int32x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQs64.c b/gcc/testsuite/gcc.target/arm/neon/vbicQs64.c index 87049f1..7b5d05b 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQs64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQs64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int64x2_t out_int64x2_t; +int64x2_t arg0_int64x2_t; +int64x2_t arg1_int64x2_t; + void test_vbicQs64 (void) { - int64x2_t out_int64x2_t; - int64x2_t arg0_int64x2_t; - int64x2_t arg1_int64x2_t; - out_int64x2_t = vbicq_s64 (arg0_int64x2_t, arg1_int64x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQs8.c b/gcc/testsuite/gcc.target/arm/neon/vbicQs8.c index 4f64e88..89a882c 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQs8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQs8.c @@ -8,12 +8,12 @@ #include "arm_neon.h" +int8x16_t out_int8x16_t; +int8x16_t arg0_int8x16_t; +int8x16_t arg1_int8x16_t; + void test_vbicQs8 (void) { - int8x16_t out_int8x16_t; - int8x16_t arg0_int8x16_t; - int8x16_t arg1_int8x16_t; - out_int8x16_t = vbicq_s8 (arg0_int8x16_t, arg1_int8x16_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQu16.c b/gcc/testsuite/gcc.target/arm/neon/vbicQu16.c index f92f9b3..51d14a0 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQu16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQu16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint16x8_t out_uint16x8_t; +uint16x8_t arg0_uint16x8_t; +uint16x8_t arg1_uint16x8_t; + void test_vbicQu16 (void) { - uint16x8_t out_uint16x8_t; - uint16x8_t arg0_uint16x8_t; - uint16x8_t arg1_uint16x8_t; - out_uint16x8_t = vbicq_u16 (arg0_uint16x8_t, arg1_uint16x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQu32.c b/gcc/testsuite/gcc.target/arm/neon/vbicQu32.c index 06d10da..374b432 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQu32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQu32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint32x4_t out_uint32x4_t; +uint32x4_t arg0_uint32x4_t; +uint32x4_t arg1_uint32x4_t; + void test_vbicQu32 (void) { - uint32x4_t out_uint32x4_t; - uint32x4_t arg0_uint32x4_t; - uint32x4_t arg1_uint32x4_t; - out_uint32x4_t = vbicq_u32 (arg0_uint32x4_t, arg1_uint32x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQu64.c b/gcc/testsuite/gcc.target/arm/neon/vbicQu64.c index 7cd63c0..f18a729 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQu64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQu64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint64x2_t out_uint64x2_t; +uint64x2_t arg0_uint64x2_t; +uint64x2_t arg1_uint64x2_t; + void test_vbicQu64 (void) { - uint64x2_t out_uint64x2_t; - uint64x2_t arg0_uint64x2_t; - uint64x2_t arg1_uint64x2_t; - out_uint64x2_t = vbicq_u64 (arg0_uint64x2_t, arg1_uint64x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicQu8.c b/gcc/testsuite/gcc.target/arm/neon/vbicQu8.c index 3f44418..94b51f4 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicQu8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicQu8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint8x16_t out_uint8x16_t; +uint8x16_t arg0_uint8x16_t; +uint8x16_t arg1_uint8x16_t; + void test_vbicQu8 (void) { - uint8x16_t out_uint8x16_t; - uint8x16_t arg0_uint8x16_t; - uint8x16_t arg1_uint8x16_t; - out_uint8x16_t = vbicq_u8 (arg0_uint8x16_t, arg1_uint8x16_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbics16.c b/gcc/testsuite/gcc.target/arm/neon/vbics16.c index 943e305..281c068 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbics16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbics16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int16x4_t out_int16x4_t; +int16x4_t arg0_int16x4_t; +int16x4_t arg1_int16x4_t; + void test_vbics16 (void) { - int16x4_t out_int16x4_t; - int16x4_t arg0_int16x4_t; - int16x4_t arg1_int16x4_t; - out_int16x4_t = vbic_s16 (arg0_int16x4_t, arg1_int16x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbics32.c b/gcc/testsuite/gcc.target/arm/neon/vbics32.c index 30df639..f574e64 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbics32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbics32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int32x2_t out_int32x2_t; +int32x2_t arg0_int32x2_t; +int32x2_t arg1_int32x2_t; + void test_vbics32 (void) { - int32x2_t out_int32x2_t; - int32x2_t arg0_int32x2_t; - int32x2_t arg1_int32x2_t; - out_int32x2_t = vbic_s32 (arg0_int32x2_t, arg1_int32x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbics64.c b/gcc/testsuite/gcc.target/arm/neon/vbics64.c index 379db45..9afce7a 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbics64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbics64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int64x1_t out_int64x1_t; +int64x1_t arg0_int64x1_t; +int64x1_t arg1_int64x1_t; + void test_vbics64 (void) { - int64x1_t out_int64x1_t; - int64x1_t arg0_int64x1_t; - int64x1_t arg1_int64x1_t; - out_int64x1_t = vbic_s64 (arg0_int64x1_t, arg1_int64x1_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbics8.c b/gcc/testsuite/gcc.target/arm/neon/vbics8.c index 3b4bc8a..a3c4fb4 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbics8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbics8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int8x8_t out_int8x8_t; +int8x8_t arg0_int8x8_t; +int8x8_t arg1_int8x8_t; + void test_vbics8 (void) { - int8x8_t out_int8x8_t; - int8x8_t arg0_int8x8_t; - int8x8_t arg1_int8x8_t; - out_int8x8_t = vbic_s8 (arg0_int8x8_t, arg1_int8x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicu16.c b/gcc/testsuite/gcc.target/arm/neon/vbicu16.c index e9952bc..69652a9 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicu16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicu16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint16x4_t out_uint16x4_t; +uint16x4_t arg0_uint16x4_t; +uint16x4_t arg1_uint16x4_t; + void test_vbicu16 (void) { - uint16x4_t out_uint16x4_t; - uint16x4_t arg0_uint16x4_t; - uint16x4_t arg1_uint16x4_t; - out_uint16x4_t = vbic_u16 (arg0_uint16x4_t, arg1_uint16x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicu32.c b/gcc/testsuite/gcc.target/arm/neon/vbicu32.c index 9334f40..9ef5d6a 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicu32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicu32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint32x2_t out_uint32x2_t; +uint32x2_t arg0_uint32x2_t; +uint32x2_t arg1_uint32x2_t; + void test_vbicu32 (void) { - uint32x2_t out_uint32x2_t; - uint32x2_t arg0_uint32x2_t; - uint32x2_t arg1_uint32x2_t; - out_uint32x2_t = vbic_u32 (arg0_uint32x2_t, arg1_uint32x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicu64.c b/gcc/testsuite/gcc.target/arm/neon/vbicu64.c index c276d65..b4a149a 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicu64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicu64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint64x1_t out_uint64x1_t; +uint64x1_t arg0_uint64x1_t; +uint64x1_t arg1_uint64x1_t; + void test_vbicu64 (void) { - uint64x1_t out_uint64x1_t; - uint64x1_t arg0_uint64x1_t; - uint64x1_t arg1_uint64x1_t; - out_uint64x1_t = vbic_u64 (arg0_uint64x1_t, arg1_uint64x1_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vbicu8.c b/gcc/testsuite/gcc.target/arm/neon/vbicu8.c index 5e42c52..f4c060a 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vbicu8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vbicu8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint8x8_t out_uint8x8_t; +uint8x8_t arg0_uint8x8_t; +uint8x8_t arg1_uint8x8_t; + void test_vbicu8 (void) { - uint8x8_t out_uint8x8_t; - uint8x8_t arg0_uint8x8_t; - uint8x8_t arg1_uint8x8_t; - out_uint8x8_t = vbic_u8 (arg0_uint8x8_t, arg1_uint8x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQs16.c b/gcc/testsuite/gcc.target/arm/neon/vornQs16.c index 519da3c..257a8bc 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQs16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQs16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int16x8_t out_int16x8_t; +int16x8_t arg0_int16x8_t; +int16x8_t arg1_int16x8_t; + void test_vornQs16 (void) { - int16x8_t out_int16x8_t; - int16x8_t arg0_int16x8_t; - int16x8_t arg1_int16x8_t; - out_int16x8_t = vornq_s16 (arg0_int16x8_t, arg1_int16x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQs32.c b/gcc/testsuite/gcc.target/arm/neon/vornQs32.c index cec6599..c4313a7 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQs32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQs32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int32x4_t out_int32x4_t; +int32x4_t arg0_int32x4_t; +int32x4_t arg1_int32x4_t; + void test_vornQs32 (void) { - int32x4_t out_int32x4_t; - int32x4_t arg0_int32x4_t; - int32x4_t arg1_int32x4_t; - out_int32x4_t = vornq_s32 (arg0_int32x4_t, arg1_int32x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQs64.c b/gcc/testsuite/gcc.target/arm/neon/vornQs64.c index 05166ba..286dc1c 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQs64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQs64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int64x2_t out_int64x2_t; +int64x2_t arg0_int64x2_t; +int64x2_t arg1_int64x2_t; + void test_vornQs64 (void) { - int64x2_t out_int64x2_t; - int64x2_t arg0_int64x2_t; - int64x2_t arg1_int64x2_t; - out_int64x2_t = vornq_s64 (arg0_int64x2_t, arg1_int64x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQs8.c b/gcc/testsuite/gcc.target/arm/neon/vornQs8.c index 99982ae..8df5057 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQs8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQs8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int8x16_t out_int8x16_t; +int8x16_t arg0_int8x16_t; +int8x16_t arg1_int8x16_t; + void test_vornQs8 (void) { - int8x16_t out_int8x16_t; - int8x16_t arg0_int8x16_t; - int8x16_t arg1_int8x16_t; - out_int8x16_t = vornq_s8 (arg0_int8x16_t, arg1_int8x16_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQu16.c b/gcc/testsuite/gcc.target/arm/neon/vornQu16.c index 761e72d..703c801 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQu16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQu16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint16x8_t out_uint16x8_t; +uint16x8_t arg0_uint16x8_t; +uint16x8_t arg1_uint16x8_t; + void test_vornQu16 (void) { - uint16x8_t out_uint16x8_t; - uint16x8_t arg0_uint16x8_t; - uint16x8_t arg1_uint16x8_t; - out_uint16x8_t = vornq_u16 (arg0_uint16x8_t, arg1_uint16x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQu32.c b/gcc/testsuite/gcc.target/arm/neon/vornQu32.c index 18a9685..625a0cb 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQu32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQu32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint32x4_t out_uint32x4_t; +uint32x4_t arg0_uint32x4_t; +uint32x4_t arg1_uint32x4_t; + void test_vornQu32 (void) { - uint32x4_t out_uint32x4_t; - uint32x4_t arg0_uint32x4_t; - uint32x4_t arg1_uint32x4_t; - out_uint32x4_t = vornq_u32 (arg0_uint32x4_t, arg1_uint32x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQu64.c b/gcc/testsuite/gcc.target/arm/neon/vornQu64.c index 84c9f89..03c306d 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQu64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQu64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint64x2_t out_uint64x2_t; +uint64x2_t arg0_uint64x2_t; +uint64x2_t arg1_uint64x2_t; + void test_vornQu64 (void) { - uint64x2_t out_uint64x2_t; - uint64x2_t arg0_uint64x2_t; - uint64x2_t arg1_uint64x2_t; - out_uint64x2_t = vornq_u64 (arg0_uint64x2_t, arg1_uint64x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornQu8.c b/gcc/testsuite/gcc.target/arm/neon/vornQu8.c index ffe6766..6a3b711 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornQu8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornQu8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint8x16_t out_uint8x16_t; +uint8x16_t arg0_uint8x16_t; +uint8x16_t arg1_uint8x16_t; + void test_vornQu8 (void) { - uint8x16_t out_uint8x16_t; - uint8x16_t arg0_uint8x16_t; - uint8x16_t arg1_uint8x16_t; - out_uint8x16_t = vornq_u8 (arg0_uint8x16_t, arg1_uint8x16_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vorns16.c b/gcc/testsuite/gcc.target/arm/neon/vorns16.c index b860142..87ea6aa 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vorns16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vorns16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int16x4_t out_int16x4_t; +int16x4_t arg0_int16x4_t; +int16x4_t arg1_int16x4_t; + void test_vorns16 (void) { - int16x4_t out_int16x4_t; - int16x4_t arg0_int16x4_t; - int16x4_t arg1_int16x4_t; - out_int16x4_t = vorn_s16 (arg0_int16x4_t, arg1_int16x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vorns32.c b/gcc/testsuite/gcc.target/arm/neon/vorns32.c index 826e0d2..2f63da4 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vorns32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vorns32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int32x2_t out_int32x2_t; +int32x2_t arg0_int32x2_t; +int32x2_t arg1_int32x2_t; + void test_vorns32 (void) { - int32x2_t out_int32x2_t; - int32x2_t arg0_int32x2_t; - int32x2_t arg1_int32x2_t; - out_int32x2_t = vorn_s32 (arg0_int32x2_t, arg1_int32x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vorns64.c b/gcc/testsuite/gcc.target/arm/neon/vorns64.c index d7b8e60..38deda0 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vorns64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vorns64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int64x1_t out_int64x1_t; +int64x1_t arg0_int64x1_t; +int64x1_t arg1_int64x1_t; + void test_vorns64 (void) { - int64x1_t out_int64x1_t; - int64x1_t arg0_int64x1_t; - int64x1_t arg1_int64x1_t; - out_int64x1_t = vorn_s64 (arg0_int64x1_t, arg1_int64x1_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vorns8.c b/gcc/testsuite/gcc.target/arm/neon/vorns8.c index c71a6bb..0ae714d 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vorns8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vorns8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +int8x8_t out_int8x8_t; +int8x8_t arg0_int8x8_t; +int8x8_t arg1_int8x8_t; + void test_vorns8 (void) { - int8x8_t out_int8x8_t; - int8x8_t arg0_int8x8_t; - int8x8_t arg1_int8x8_t; - out_int8x8_t = vorn_s8 (arg0_int8x8_t, arg1_int8x8_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornu16.c b/gcc/testsuite/gcc.target/arm/neon/vornu16.c index d4983ee..6815e4d 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornu16.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornu16.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint16x4_t out_uint16x4_t; +uint16x4_t arg0_uint16x4_t; +uint16x4_t arg1_uint16x4_t; + void test_vornu16 (void) { - uint16x4_t out_uint16x4_t; - uint16x4_t arg0_uint16x4_t; - uint16x4_t arg1_uint16x4_t; - out_uint16x4_t = vorn_u16 (arg0_uint16x4_t, arg1_uint16x4_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornu32.c b/gcc/testsuite/gcc.target/arm/neon/vornu32.c index aba6884..c5e0f4b 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornu32.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornu32.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint32x2_t out_uint32x2_t; +uint32x2_t arg0_uint32x2_t; +uint32x2_t arg1_uint32x2_t; + void test_vornu32 (void) { - uint32x2_t out_uint32x2_t; - uint32x2_t arg0_uint32x2_t; - uint32x2_t arg1_uint32x2_t; - out_uint32x2_t = vorn_u32 (arg0_uint32x2_t, arg1_uint32x2_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornu64.c b/gcc/testsuite/gcc.target/arm/neon/vornu64.c index 6fb3a95..db5e63d 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornu64.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornu64.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint64x1_t out_uint64x1_t; +uint64x1_t arg0_uint64x1_t; +uint64x1_t arg1_uint64x1_t; + void test_vornu64 (void) { - uint64x1_t out_uint64x1_t; - uint64x1_t arg0_uint64x1_t; - uint64x1_t arg1_uint64x1_t; - out_uint64x1_t = vorn_u64 (arg0_uint64x1_t, arg1_uint64x1_t); } diff --git a/gcc/testsuite/gcc.target/arm/neon/vornu8.c b/gcc/testsuite/gcc.target/arm/neon/vornu8.c index 6fdb733..8bd8701 100644 --- a/gcc/testsuite/gcc.target/arm/neon/vornu8.c +++ b/gcc/testsuite/gcc.target/arm/neon/vornu8.c @@ -3,17 +3,17 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -O0" } */ +/* { dg-options "-save-temps -O2" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" +uint8x8_t out_uint8x8_t; +uint8x8_t arg0_uint8x8_t; +uint8x8_t arg1_uint8x8_t; + void test_vornu8 (void) { - uint8x8_t out_uint8x8_t; - uint8x8_t arg0_uint8x8_t; - uint8x8_t arg1_uint8x8_t; - out_uint8x8_t = vorn_u8 (arg0_uint8x8_t, arg1_uint8x8_t); }