From owner-freebsd-mips@FreeBSD.ORG Wed Dec 28 09:18:19 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8BDD106566B; Wed, 28 Dec 2011 09:18:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 28DFD8FC0A; Wed, 28 Dec 2011 09:18:18 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 3887B2A28CC9; Wed, 28 Dec 2011 10:18:17 +0100 (CET) Date: Wed, 28 Dec 2011 10:18:17 +0100 From: Ed Schouten To: Marius Strobl Message-ID: <20111228091817.GC1895@hoeg.nl> References: <20111227231243.GB1895@hoeg.nl> <20111228000723.GA77332@alchemy.franken.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0QFb0wBpEddLcDHQ" Content-Disposition: inline In-Reply-To: <20111228000723.GA77332@alchemy.franken.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mips@freebsd.org, sparc64@freebsd.org Subject: [Updated patch] (Finally) migrate MIPS and SPARC64 to libcompiler_rt X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 09:18:19 -0000 --0QFb0wBpEddLcDHQ Content-Type: multipart/mixed; boundary="FFoLq8A0u+X9iRU8" Content-Disposition: inline --FFoLq8A0u+X9iRU8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Marius, * Marius Strobl , 20111228 01:07: > Before making libcompiler_rt the default for sparc64 could you please > also look into adding the optimized versions of _divsi3 and _modsi3 > (see contrib/gcc/config/sparc/lb1spc.asm) to libcompiler_rt? They're > taken from/based on the SPARC V8 Architecture Manual and IIRC I once > compared them and there actually was little difference so there should > be no licensing issues. Just to make sure we don't get into license problems, I copied the code =66rom the architecture manual and regenerated the assembly files. I compared them against the ones used by GCC and they should work. Please forget the previous patch I sent and use the one attached. If the attachment is missing, you can download the patch here: http://80386.nl/pub/compiler-rt.txt The code isn't that beautiful yet, but I'll clean it up before I send it to the compiler-rt folks. Thanks, --=20 Ed Schouten WWW: http://80386.nl/ --FFoLq8A0u+X9iRU8-- --0QFb0wBpEddLcDHQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJO+t7ZAAoJEG5e2P40kaK73twP/jQL0q78+M0OpI7gPqhLet+d bxEdUsMn4Mnf9qw4HXTcJiqyN7jkofbnGWc1pWuJ02AQBBmwuW5f6vNpM7aj6MLG I4txZ03K6AnWfbK45BG2psd0+DFGUXLI1m/yQRDr8/2p5QtdzlGYlyL1ggBQ3puk XIk98BCrhybUDU2W8WzEKCOUUKVFFKv+U6Zq4EQhXf5XvtDwcgxoiIWFegphsdSf xCXsW+BLCQ1XN59ahsYMgtA9HNFxT3q26veM29i4nNkmGXZkOQM+SakdbHc3BqTU W4GfHB9CWtBJqmhO+lsGp/sa8TIlP5vJ/0Lc6A6IaUXBESqqki/Jp+rzJmRrnvBP EtQ+lfjUulk0SP1CUiJFXnko2BMjYo8OQj/B5X1k58qgF965cOB+rZdZBSSQWyN3 TzbRFxnovXqk9BfacXJ2ZeAjvi4+/tsQ2qrQfObg7jj2Y+hGITQFsack1iIpcIak lwk15e/Aa2xVdhxOCTWPYVvudtPS3KIP4BGAJm57g7jHj3YR0a4dDsyQpbVAqWav QoYDqtI15PDbVFoES5SFwczBtCif8IAaLWE8bM+xKEcvq9OhhozbZYlGqdLsal86 MfC/jua+48m0/QoeXNf8HU9hjXT9ha5FhXDWlHhAzXSANpheN42CygCHMdBxzl0z h48GZGtQSqUTMx6T1W7m =1nwD -----END PGP SIGNATURE----- --0QFb0wBpEddLcDHQ--