From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30886 invoked by alias); 19 Dec 2012 14:47:53 -0000 Received: (qmail 30872 invoked by uid 22791); 19 Dec 2012 14:47:53 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Dec 2012 14:47:43 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 19 Dec 2012 14:47:41 +0000 Received: from [10.1.79.66] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 19 Dec 2012 14:47:40 +0000 Message-ID: <50D1D38C.7010205@arm.com> Date: Wed, 19 Dec 2012 14:47:00 -0000 From: Tejas Belagod User-Agent: Thunderbird 2.0.0.18 (X11/20081120) MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [Patch, AArch64]: Fix test harness to for unaligned vector mem access. X-MC-Unique: 112121914474100801 Content-Type: multipart/mixed; boundary="------------010409000909040908060907" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01187.txt.bz2 This is a multi-part message in MIME format. --------------010409000909040908060907 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 743 Hi, Currently on the trunk, we have many vect tests that fail for aarch64-*-* because check_effective_target_vect_no_align () in target-supports.exp retu= rns true for aarch64 where in fact it should be returning false. This causes the tests that check for vect_no_align and expect messages for loop versioning = to fail. The attached patch drops aarch64 from the list of targets in check_effective_target_vect_no_align () as unaligned access is supported. Tested on trunk for aarch64-none-elf with no regressions. OK for trunk? Thanks, Tejas Belagod ARM. Changelog: 2012-12-19 Tejas Belagod testsuite/ * lib/target-supports.exp (check_effective_target_vect_no_align): Remove aarch64 from list of targets.= --------------010409000909040908060907 Content-Type: text/plain; name=vect-no-align-2.txt Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="vect-no-align-2.txt" Content-length: 549 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/targ= et-supports.exp index e541c12..c20ec5e 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -3488,7 +3488,6 @@ proc check_effective_target_vect_no_align { } { if { [istarget mipsisa64*-*-*] || [istarget sparc*-*-*] || [istarget ia64-*-*] - || [istarget aarch64-*-*] || [check_effective_target_arm_vect_no_misalign] || ([istarget mips*-*-*] && [check_effective_target_mips_loongson]) } {= --------------010409000909040908060907--