Date: Fri, 30 Dec 2011 13:53:35 +0100 From: Florian Smeets <flo@freebsd.org> To: Ed Schouten <ed@80386.nl> Cc: sparc64@freebsd.org, mips@freebsd.org, Marius Strobl <marius@alchemy.franken.de> Subject: Re: [Updated patch] (Finally) migrate MIPS and SPARC64 to libcompiler_rt Message-ID: <4EFDB44F.9060708@freebsd.org> In-Reply-To: <20111228091817.GC1895@hoeg.nl> References: <20111227231243.GB1895@hoeg.nl> <20111228000723.GA77332@alchemy.franken.de> <20111228091817.GC1895@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.12.2011 10:18, Ed Schouten wrote: > Hi Marius, > > * Marius Strobl <marius@alchemy.franken.de>, 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 from 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. > Ed, at least on sparc64 the resulting toolchain is broken. I cannot even compile a simple c file. http://tb.smeets.im/~flo/sparc64-cc-crash.txt Anything i can provide for analysis? Florian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk79tE8ACgkQapo8P8lCvwkd8QCfR+ykkbR2WX1tLaJ2o8r1X9a5 V3UAn3j7UfMieSLFMtVeS38OXJ/pyZD0 =M2+X -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EFDB44F.9060708>