From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11234 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [MUSL] microMIPS32R2 O32 port Date: Wed, 12 Apr 2017 21:25:35 +0200 Message-ID: <20170412192535.GG2082@port70.net> References: <20170406161804.GM17319@brightrain.aerifal.cx> <20170407141941.GQ17319@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1492025151 6928 195.159.176.226 (12 Apr 2017 19:25:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2017 19:25:51 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: Jaydeep Patil To: musl@lists.openwall.com Original-X-From: musl-return-11249-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 12 21:25:47 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cyNtg-0001hY-Pu for gllmg-musl@m.gmane.org; Wed, 12 Apr 2017 21:25:44 +0200 Original-Received: (qmail 21984 invoked by uid 550); 12 Apr 2017 19:25:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 21966 invoked from network); 12 Apr 2017 19:25:47 -0000 Mail-Followup-To: musl@lists.openwall.com, Jaydeep Patil Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11234 Archived-At: * Jaydeep Patil [2017-04-12 11:54:10 +0000]: > Hi Rich, > > We can reuse existing MIPS code for microMIPS. There are places where we read from $ra must be compiled for MIPS. > Please refer to https://github.com/JaydeepIMG/musl-1/tree/micromips32r2_v2 for modifications. > is micromips a different encoding for mips instructions that works on some cpus but not others? does it require musl changes because micromips does not support all mips instructions just a subset? > Thanks, > Jaydeep > > >-----Original Message----- > >From: Rich Felker [mailto:dalias@aerifal.cx] On Behalf Of Rich Felker > >Sent: 07 April 2017 PM 07:50 > >To: musl@lists.openwall.com > >Subject: Re: [musl] [MUSL] microMIPS32R2 O32 port > > > >On Fri, Apr 07, 2017 at 06:47:57AM +0000, Jaydeep Patil wrote: > >> Hi Rich, > >> > >> microMIPS is an Application Specific Extension (ASE) to MIPS cores. > >> Both microMIPS and MIPS can co-exist. MIPS code can call microMIPS and > >> vice-versa. microMIPS is a compressed ISA and contains both 16 and > >> 32-bit instructions for code size benefit. > > > >In that case I'm confused what the benefit of compiling the asm files as > >micromips rather than plain mips is. Is it just to save 10 bytes here and there? > > > >Rich