From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50187 invoked by alias); 22 Jul 2015 14:14:05 -0000 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 Received: (qmail 50174 invoked by uid 89); 22 Jul 2015 14:14:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jul 2015 14:14:03 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 72EFF13C2F4AC; Wed, 22 Jul 2015 15:13:58 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 22 Jul 2015 15:14:00 +0100 Received: from LEMAIL01.le.imgtec.org ([fe80::5ae:ee16:f4b9:cda9]) by LEMAIL01.le.imgtec.org ([fe80::5ae:ee16:f4b9:cda9%17]) with mapi id 14.03.0210.002; Wed, 22 Jul 2015 15:14:00 +0100 From: Andrew Bennett To: "gcc-patches@gcc.gnu.org" CC: Matthew Fortune , "Moore, Catherine (Catherine_Moore@mentor.com)" Subject: [PATCH] MIPS: Prevent the p5600-bonding.c test from being run for the n32 and 64 ABIs Date: Wed, 22 Jul 2015 14:21:00 -0000 Message-ID: <0DA23CC379F5F945ACB41CF394B98277210FA58F@LEMAIL01.le.imgtec.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg01848.txt.bz2 Hi, The MIPS p5600-bonding.c test is currently failing for the n32 and n64=20 ABIs. The test is checking if the load/store bonding patterns correctly=20 match sequences of load/store instructions. There are currently no load/st= ore=20 bonding patterns to match DI mode values. For the n32 and n64 ABIs the cod= e=20 generated for the testcase produces DI mode load and stores; which means th= e=20 load/store bonding patterns are not matched and the test fails.=09 To fix this issue I have added a dg-skip-if option to the test to prevent it from being run for the n32 and n64 ABIs. When support for load/store bondi= ng for DI mode values has been added this can be removed. The patch has been tested on the mti/img elf/linux-gnu toolchains, and there have been no new regressions. The patch and ChangeLog are below. Ok to commit? Many thanks, Andrew testsuite/ gcc.target/mips/p5600-bonding.c (dg-skip-if): Don't run the test for the=20 n32 or n64 ABIs. =20=20=20=20=20=20=20 =20=20=20=20=20=20=20 =20=20=20=20=20=20=20 diff --git a/gcc/testsuite/gcc.target/mips/p5600-bonding.c b/gcc/testsuite/= gcc.target/mips/p5600-bonding.c index 0890ffa..20c26ca 100644 --- a/gcc/testsuite/gcc.target/mips/p5600-bonding.c +++ b/gcc/testsuite/gcc.target/mips/p5600-bonding.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-dp -mtune=3Dp5600 -mno-micromips -mno-mips16" } */ /* { dg-skip-if "Bonding needs peephole optimization." { *-*-* } { "-O0" "= -O1" } { "" } } */ +/* { dg-skip-if "There is no DI mode support for load/store bonding" { *-*= -* } { "-mabi=3Dn32" "-mabi=3D64" } { "" } } */ typedef int VINT32 __attribute__ ((vector_size((16)))); =20 void