[Updated patch] (Finally) migrate MIPS and SPARC64 to
libcompiler_rt
Florian Smeets
flo at freebsd.org
Fri Dec 30 12:53:37 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28.12.2011 10:18, Ed Schouten wrote:
> Hi Marius,
>
> * Marius Strobl <marius at 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-----
More information about the freebsd-sparc64
mailing list