From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70584 invoked by alias); 14 Jun 2017 17:23:41 -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 70570 invoked by uid 89); 14 Jun 2017 17:23:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FREEMAIL_REPLY,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-yw0-f170.google.com Received: from mail-yw0-f170.google.com (HELO mail-yw0-f170.google.com) (209.85.161.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 17:23:39 +0000 Received: by mail-yw0-f170.google.com with SMTP id 63so4459615ywr.0 for ; Wed, 14 Jun 2017 10:23:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lwV15KrN54uxvDef/QUZYaj77VMx/GQZmj6cavR44Hs=; b=gPabiWmmZVbY5k3v1nswY8hU4oq+2zMi3lnKuZy/F4c2w6nd+wkw5uBvzZbOwk7Laa wZvAVu29fR5XAN3zxoCTTOev1TnPN4ByimPQJdlFcHOxn+zrU8fUdG641obHifV4rE8i NlCgb/5XFR80Cd4OJ8p2FDvOc9CfvybR31kCeaO9bNb/Yr7PTwgVyNY+L/842nKsuPRl 3IHYlozNl84btOLSC18JzOIdNjYoGWMdscG2Aeu4LUUzJJDXrFAIng0rjDUZESksGfG0 EuGfRxQEi1CoOyLNykFJEXniBmcoCXHPvtNCiEN9B/Pzjt/33rqbilj55Ac0pAHMR3z1 ODYg== X-Gm-Message-State: AKS2vOyuZK4g11AiF62S5WWPycxRb9IhSRedDoyh8z4dDLJKMbudEKt1 aAvGE7QkdfU9BldjsFgENAP0kPAKXA== X-Received: by 10.13.194.4 with SMTP id e4mr1071721ywd.151.1497461022364; Wed, 14 Jun 2017 10:23:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.214.12 with HTTP; Wed, 14 Jun 2017 10:23:41 -0700 (PDT) In-Reply-To: References: <1495487362-18969-1-git-send-email-jcmvbkbc@gmail.com> <1495487362-18969-2-git-send-email-jcmvbkbc@gmail.com> From: Max Filippov Date: Wed, 14 Jun 2017 17:23:00 -0000 Message-ID: Subject: Re: [RFC 1/5] gcc: xtensa: allow XCHAL_* macros to be non-constant To: "augustine.sterling@gmail.com" Cc: "gcc-patches@gcc.gnu.org" , "linux-xtensa@linux-xtensa.org" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg01073.txt.bz2 On Thu, May 25, 2017 at 11:15 AM, augustine.sterling@gmail.com wrote: > On Mon, May 22, 2017 at 2:09 PM, Max Filippov wrote: >> XCHAL_* macros from the xtensa-config.h are used in a number of places >> that require them to be preprocessor constants. Rewrite these places so >> that non-constant XCHAL_* definitions could be used there. >> >> 2017-05-22 Max Filippov >> gcc/ >> * config/xtensa/xtensa.c (xtensa_option_override): Append >> MASK_CONST16 to target_flags in the absence of TARGET_L32R. >> (hwloop_optimize, hwloop_fail, hwloop_pattern_reg, >> xtensa_doloop_hooks): Define unconditionally. >> (xtensa_reorg_loops): Only call reorg_loops in the presence of >> TARGET_LOOPS. >> * config/xtensa/xtensa.h (TARGET_L32R): New definition. >> (TARGET_DEFAULT): Remove XCHAL_HAVE_L32R condition and account >> for it in xtensa_option_override. >> (HARD_FRAME_POINTER_IS_FRAME_POINTER, >> HARD_FRAME_POINTER_IS_ARG_POINTER): New definitions. > > This is OK. Please apply. Applied this one to trunk. Thanks! -- Max