From patchwork Mon May 27 14:43:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 1105868 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-501728-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="OgA/n6c5"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Pmb53jdU"; 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 45CKVk5RFsz9s3Z for ; Tue, 28 May 2019 00:44:12 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=EyasNXdZo4jTsjS6QNCzG9LqjlF1x6RepiezbtoVbKA8jj n4HkpO21PkkGryx3Fk1feCt7EM7FfEjR1h46pO4WTGSJ6EFOXuK0qxtYY5w3G7FH pckkwjVYacHqFWGYaf6YgRmiHtKJ3AVUV0l5+jtbzj56I+PQYq/ee1MRTTrtY= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=UNBn/b5iLgQCy2oRSy76hBILctY=; b=OgA/n6c5lG1vxcf79B6e 1ha/C+/+L8Utvhg/I0RpIWyfBVVv9QIrLgmWkNNTf+qqKbxb627gymT3aNpfR/Z1 TBH7EI1URnWQ4tVAEFmoPOXPsIsgT8maUnAtejBIsEIB/CgMO3fLUR//K1l4mtvi 8XNwASXB4lLuoWVkYrLT7Jk= Received: (qmail 77775 invoked by alias); 27 May 2019 14:44:05 -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 77767 invoked by uid 89); 27 May 2019 14:44:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-it1-f173.google.com Received: from mail-it1-f173.google.com (HELO mail-it1-f173.google.com) (209.85.166.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 May 2019 14:44:04 +0000 Received: by mail-it1-f173.google.com with SMTP id m141so27192595ita.3 for ; Mon, 27 May 2019 07:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9bz2qdskoMloA/6y7w9ujTs5W0/JiRrCR1d+pF6AsRA=; b=Pmb53jdU5MJXpuFocqI9fvEgmI6J4+JZZ+IN1QNyb42Aa5Tx5iVBLRkzWIWIwsjhGZ HteJ2XzpgzrFPSgqlmGlemwCgtn/PoogDiniFXDZ10p5F4gptS+vH6KTLfzl+KJd9iuj aptzlEFVoBTTAyjUWfhVGaqg/GjoXRyWJdbvapEh37EoC48dzWCwsETzzJITzFnXWPv3 smnYZjLrV4JWKydcb7aKQh/7UZX8FlJ8ZuWsMukjSxvaGdhJVDT/UBoiTmJi+OvJHQCF PqAMzg6/BIyqU0ektX6I8p42pzwB4wYCJr1a08VH/2XNFVp1X/8HIYtG4n2n/1IG5n7I a3dw== MIME-Version: 1.0 From: Uros Bizjak Date: Mon, 27 May 2019 16:43:50 +0200 Message-ID: Subject: [PATCH, i386]: Define STACK_SIZE_MODE To: "gcc-patches@gcc.gnu.org" STACK_SIZE_MODE should be defined together with "allocate_stack" named pattern. 2019-05-27 Uroš Bizjak * config/i386/i386.h (STACK_SIZE_MODE): Define. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline SVN. Uros. Index: config/i386/i386.h =================================================================== --- config/i386/i386.h (revision 271662) +++ config/i386/i386.h (revision 271663) @@ -1947,6 +1947,10 @@ #define STACK_SAVEAREA_MODE(LEVEL) \ ((LEVEL) == SAVE_NONLOCAL ? (TARGET_64BIT ? TImode : DImode) : Pmode) +/* Specify the machine_mode of the size increment + operand of an 'allocate_stack' named pattern. */ +#define STACK_SIZE_MODE Pmode + /* A C expression whose value is zero if pointers that need to be extended from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and greater then zero if they are zero-extended and less then zero if the