From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81853 invoked by alias); 22 Jun 2016 07:29:06 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 81822 invoked by uid 89); 22 Jun 2016 07:29:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Its, 11306 X-HELO: paperclip.tbsaunde.org Received: from tbsaunde.org (HELO paperclip.tbsaunde.org) (66.228.47.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jun 2016 07:28:52 +0000 Received: from ball (CPE00fc8d3ff2d3-CM00fc8d3ff2d0.cpe.net.cable.rogers.com [99.242.1.93]) by paperclip.tbsaunde.org (Postfix) with ESMTPSA id B6A0EC161 for ; Wed, 22 Jun 2016 07:28:50 +0000 (UTC) Date: Wed, 22 Jun 2016 07:29:00 -0000 From: Trevor Saunders To: binutils@sourceware.org Subject: Re: [PATCH] tilegx: move TILEGX_NUM_PIPELINE_ENCODINGS to tilegx_pipeline Message-ID: <20160622073526.GA15497@ball> References: <1465159154-22189-1-git-send-email-tbsaunde+binutils@tbsaunde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465159154-22189-1-git-send-email-tbsaunde+binutils@tbsaunde.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-SW-Source: 2016-06/txt/msg00341.txt.bz2 Hi, ping Thanks! Trev On Sun, Jun 05, 2016 at 04:39:14PM -0400, tbsaunde+binutils@tbsaunde.org wrote: > From: Trevor Saunders > > Hi, > > Its closely related to what the encodings are, more than a set of random > constants, so it seems to make sense to put it here. > > built and regtested tilegx-elf, ok? > > Trev > > include/ChangeLog: > > 2016-06-05 Trevor Saunders > > * opcode/tilegx.h: Move TILEGX_NUM_PIPELINE_ENCODINGS into > tilegx_pipeline. > --- > include/opcode/tilegx.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/opcode/tilegx.h b/include/opcode/tilegx.h > index 3490583..5985410 100644 > --- a/include/opcode/tilegx.h > +++ b/include/opcode/tilegx.h > @@ -1130,6 +1130,7 @@ typedef enum > TILEGX_PIPELINE_Y0, > TILEGX_PIPELINE_Y1, > TILEGX_PIPELINE_Y2, > + TILEGX_NUM_PIPELINE_ENCODINGS = 5, > } tilegx_pipeline; > > #define tilegx_is_x_pipeline(p) ((int)(p) <= (int)TILEGX_PIPELINE_X1) > @@ -1150,9 +1151,6 @@ enum > /* Maximum number of instructions in a bundle (2 for X, 3 for Y). */ > TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE = 3, > > - /* How many different pipeline encodings are there? X0, X1, Y0, Y1, Y2. */ > - TILEGX_NUM_PIPELINE_ENCODINGS = 5, > - > /* Log base 2 of TILEGX_BUNDLE_SIZE_IN_BYTES. */ > TILEGX_LOG2_BUNDLE_SIZE_IN_BYTES = 3, > > -- > 2.7.4 >