From patchwork Wed Aug 15 22:29:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 177868 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id BD6272C0040 for ; Thu, 16 Aug 2012 08:32:22 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1345674743; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: In-Reply-To:References:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=zcrkQ4ezkEatMayFJIlQoyXwZT0=; b=DIHoB8LEbpXtFtv YEozpGDU1oSFlpNVs20FS4nRS4ailISLjfY8Vrq3iRLmkJq6rTwqQseKE+j8u7qK e3/3zwYkJcrkGQ7yNGd+YLuxy4szi/D4xNVWZ85SFgCn1Wp8kBjXb5BpYt1FFTXS +vDTN56VGn0iP0nDshJeqOgki4Y8= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:In-Reply-To:References:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=k0AgfOFGQ59Aw4G3YTgcMfiJs8ZEzfOBjHY/xg0sSJHb20SqxP1ZIMipGRMXMR 23l/+bFbatYnNnoTzrG0gS7Q+ztCCU6KiOIrbEF++yeH7SOAsMTcPGaLcG1cCro4 GzatZkIIWFm/OCzENtPRjZBulnwiDlxk9Eu8yXWw7uaQU=; Received: (qmail 9038 invoked by alias); 15 Aug 2012 22:31:10 -0000 Received: (qmail 8922 invoked by uid 22791); 15 Aug 2012 22:31:07 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, SARE_MSGID_LONG40, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 22:30:47 +0000 Received: from gcc1-power7.osuosl.org (localhost [127.0.0.1]) by gcc1-power7.osuosl.org (8.14.5/8.14.5) with ESMTP id q7FMTZHi041875; Wed, 15 Aug 2012 15:29:35 -0700 Received: (from segher@localhost) by gcc1-power7.osuosl.org (8.14.5/8.14.5/Submit) id q7FMTZvd041872; Wed, 15 Aug 2012 15:29:35 -0700 From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, meissner@gcc.gnu.org, Segher Boessenkool Subject: [PATCH 3/7] rs6000: Add RS6000_BTM_ALWAYS Date: Wed, 15 Aug 2012 15:29:19 -0700 Message-Id: <09eae18e89f057591140e5b624052f617c37b269.1345067650.git.segher@kernel.crashing.org> In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes 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 This adds a builtin flag for "always enabled". The value 0 works right now as far as I can see, but that is too tricky and should be fixed some day. 2012-08-15 Segher Boessenkool gcc/ * config/rs6000/rs6000.h (RS6000_BTM_ALWAYS): New. --- gcc/config/rs6000/rs6000.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 5644435..5c53f85 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2302,6 +2302,7 @@ extern int frame_pointer_needed; /* Builtin targets. For now, we reuse the masks for those options that are in target flags, and pick two random bits for SPE and paired which aren't in target_flags. */ +#define RS6000_BTM_ALWAYS 0 /* Always enabled. */ #define RS6000_BTM_ALTIVEC MASK_ALTIVEC /* VMX/altivec vectors. */ #define RS6000_BTM_VSX MASK_VSX /* VSX (vector/scalar). */ #define RS6000_BTM_SPE MASK_STRING /* E500 */