From patchwork Tue Oct 16 19:35:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 985005 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-487689-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="M6hReQeg"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.b="lpGp9e2E"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42ZQbr3zd5z9s9h for ; Wed, 17 Oct 2018 06:39:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=h7laW8xQiN5WfFwzTJgV2T9WSoX9lcZHSf7KABNVtZYXRoprDkuM9 +bhKAhb1ghj21cjB2aDr7c8ciTUy7m4EA1ycI/iPXNjZOi4/htVrjv9wYEa1orvl JpnW1Nyh+Cwud2Jp0V1+N/wWfB0KL0d6DancUU+X6GEEYgGJhTEyS0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; s= default; bh=NjauGpEkRA5c17eVbFSlwe8eb3w=; b=M6hReQegnmRe9JWVucxe UQnENeDEit2NphDAN5vlCapaW+RLV3JbtpWtszJf4yw0lp2MO+Omq1PUjjpa7Krs J5xiGR94AjXBbqYQgBYcCoAgov9b6f2mkvQwf00tZ5wuBJP28omcUNk9ctkPa1QI l6IQzWgJaYmtcEY0DmVSsZY= Received: (qmail 96106 invoked by alias); 16 Oct 2018 19:37:03 -0000 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 Received: (qmail 95913 invoked by uid 89); 16 Oct 2018 19:37:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=1, 7, HX-Get-Message-Sender-Via:sk:authent X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Oct 2018 19:37:00 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCV9E-0005N9-4x for gcc-patches@gcc.gnu.org; Tue, 16 Oct 2018 15:36:56 -0400 Received: from server28.superhosting.bg ([217.174.156.11]:48231) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCV9D-0005L1-RS for gcc-patches@gcc.gnu.org; Tue, 16 Oct 2018 15:36:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6zJa4QJMHMUFFxppRLYIjVs5pNf8M1R2hchSXrWGCjs=; b=lpGp9e2ESij4IscZR3ZdHxNTpb lN/TiDaTIGjl42cuwn3Xl6HAn66gCBqFVxO7FJ2nPj0fWcYgF3+O4ybntwG89vIedPwnqZeZ3BFWM K1O5fRsBmjpfFt7iOXJ43/QBfuIKyK2Uydo8xsKt81f5TG9wwIjd/y94aMWUQKZeMBe1jucRS4Lqo W54+5WjkDedPQxX/4qhVTe9T+Ads8kRotejFd7aQ9umsmbQUsSyk6nx3Ucy3+GwnmpZTvNZx6UjBV /FIbPfz+QrReipLn/tMx8G0nUAU36RQT2L5bJuOpHBfQ/FkDwa+DNu/NN+rjK8c2xolh8varOSYy7 dHHI+hEg==; Received: from [95.87.234.74] (port=55218 helo=localhost.localdomain) by server28.superhosting.bg with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gCV9A-0007tG-HH; Tue, 16 Oct 2018 22:36:54 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov Subject: [PATCH v5 10/10] testsuite: Mark testsuite that PRU has different calling convention Date: Tue, 16 Oct 2018 22:35:55 +0300 Message-Id: <20181016193555.25143-11-dimitar@dinux.eu> In-Reply-To: <20181016193555.25143-1-dimitar@dinux.eu> References: <20181016193555.25143-1-dimitar@dinux.eu> X-OutGoing-Spam-Status: No, score=-1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.174.156.11 X-IsSubscribed: yes For variadic functions, the last named and all anonymous arguments are passed on stack. Regular functions pass arguments in registers. gcc/testsuite/ChangeLog: 2018-10-08 Dimitar Dimitrov * gcc.dg/builtin-apply2.c: Skip for PRU. * gcc.dg/torture/stackalign/builtin-apply-2.c: Ditto. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/builtin-apply2.c | 2 +- gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/builtin-apply2.c b/gcc/testsuite/gcc.dg/builtin-apply2.c index 3768caa5d5a..6ede0f3054b 100644 --- a/gcc/testsuite/gcc.dg/builtin-apply2.c +++ b/gcc/testsuite/gcc.dg/builtin-apply2.c @@ -1,7 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target untyped_assembly } */ /* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-* nds32*-*-*" } } */ -/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "riscv*-*-*" } } */ +/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "riscv*-*-* pru-*-*" } } */ /* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { arm*-*-* && arm_hf_eabi } } */ /* PR target/12503 */ diff --git a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c index d033010dc7c..8b6e693c0f2 100644 --- a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c @@ -9,7 +9,7 @@ /* arm_hf_eabi: Variadic funcs use Base AAPCS. Normal funcs use VFP variant. avr: Variadic funcs don't pass arguments in registers, while normal funcs do. */ -/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs" { arm_hf_eabi || { avr-*-* riscv*-*-* } } } */ +/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs" { arm_hf_eabi || { avr-*-* riscv*-*-* pru-*-* } } } */ /* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { nds32*-*-* } } */ /* { dg-require-effective-target untyped_assembly } */