From patchwork Tue Jan 15 16:31:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 212224 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 0094D2C00A4 for ; Wed, 16 Jan 2013 03:30:06 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358872207; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=1x0Ex4DhLKXjf5xU6o4S6KZAWrc=; b=tpJer9i+m4sUHP3U7j5Z2aJAe4ff7cpS8g9iXz4CYYAG4U9R+fFriEUJ0QUHbO K1aFBi6+8ZtDeEilPdTTwDQaEZlE6uo6VBkygYxhy5fcteufu6DuCPlxjGtEtq97 QaRhWYN/KdJHsy+pVpAdCVz1nbae5PbXXGj7mVexGqIiw= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ZiwHHrE6UzkQF53P/YyvJ3vlVDjZJVz3RWRHDnEB2vq92I+jqwoAEMAyC6IxB0 Mn2Ue7JTRTheSVfj6PFGmD87ZORHhJjoGgHuCSZFHftY+a2ln4acJYu+F5Be89tx wGOda3sjdghKnhBedYGn7NGB3+cPSlpSWM9Jms86Qg/J0=; Received: (qmail 6871 invoked by alias); 15 Jan 2013 16:29:46 -0000 Received: (qmail 6861 invoked by uid 22791); 15 Jan 2013 16:29:45 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, SARE_SUB_OBFU_Q0 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jan 2013 16:29:40 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Tv9ON-00054B-Tx from Janis_Johnson@mentor.com ; Tue, 15 Jan 2013 08:29:39 -0800 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 Jan 2013 08:29:38 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Tue, 15 Jan 2013 08:29:37 -0800 Message-ID: <50F5846E.6060102@mentor.com> Date: Tue, 15 Jan 2013 08:31:42 -0800 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: CC: "gcc-patches@gcc.gnu.org" , Subject: Re: [testsuite] fix ARM test gcc.target/arm/neon-vld1_dupQ.c References: <50F48EF9.1010206@mentor.com> In-Reply-To: <50F48EF9.1010206@mentor.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk 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 On 01/14/2013 03:04 PM, Janis Johnson wrote: > Test gcc.target/arm/neon-vld1_dupQ.c started failing with r194594, a C > front end change that causes the test to get warnings. The test passes > local variables of type int64x1_t to functions declared with arguments > of type int64_t. This patch casts the values passed to those arguments. > It's possible that the patch invalidates the intent of the test, so I've > copied the test's author. > > OK for trunk? > > Janis > Here's the patch (thanks, Aldy!). 2013-01-14 Janis Johnson * gcc.target/arm/neon-vld1_dupQ.c: Use types that match function prototypes. Index: gcc.target/arm/neon-vld1_dupQ.c =================================================================== --- gcc.target/arm/neon-vld1_dupQ.c (revision 195178) +++ gcc.target/arm/neon-vld1_dupQ.c (working copy) @@ -13,9 +13,9 @@ int64x1_t input[2] = {(int64x1_t)0x0123456776543210LL, (int64x1_t)0x89abcdeffedcba90LL}; int64x1_t output[2] = {0, 0}; - int64x2_t var = vld1q_dup_s64(input); + int64x2_t var = vld1q_dup_s64((int64_t *)input); - vst1q_s64(output, var); + vst1q_s64((int64_t *)output, var); if (output[0] != (int64x1_t)0x0123456776543210LL) abort(); if (output[1] != (int64x1_t)0x0123456776543210LL)