Re: [Gc] GCC atomics for mips patch
James Cowgill <[email protected]> Thu, 14 Apr 2016 22:15:34 +0100
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
--===============0748632819== Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-IArihzaSaz8arBkCkvYl" --=-IArihzaSaz8arBkCkvYl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, 2016-04-14 at 22:42 +0300, Ivan Maidanski wrote: > Hello Frank and James, >=20 > I have created a patch to use C11 atomics for MIPS (32/64), it was > not difficult for me to create it and check compilation with Clang > and GCC (using NDK r10e) but I don't have the H/W to test it. I have > looked thru the generated assembly, it looks ok at a glance. >=20 > I have hard-coded gcc 4.9+ and clang 3.5+ versions to use gcc atomics > instead of asm (these are just the compiler versions I have tested > the patch with) - this is probably a bit restrictive but I don't know > whether old compilers generate the correct code. I can't remember the exact versions mips support was added I'm afraid, but those versions should be fine. The tests I've done are with Debian Sid (gcc 5). > Could you please test the patch on some multi-core MIPS H/W? (Ideally > to test bdwgc with the patch as well.) > https://github.com/ivmai/libatomic_ops/commit/2317eaf48d677d30e2b34e46517= c72fa004e8a54 =C2=A0 > (or checkout development branch=C2=A0 > https://github.com/ivmai/libatomic_ops/commits/atomics-exp ) I built and ran the testsuite for both libatomic-ops and bdwgc (master branch) on etler.debian.org (4 cores, little endian). All the tests seem to pass! I tried 64-bit as well and the tests pass there too. Thanks, James --=-IArihzaSaz8arBkCkvYl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXEAh2AAoJEMfxZ23qLQHvc4AP/1sHQDXM+bb6BiOItJbbYsLm HJ9XnPENUiXa5LslzfRVIsxS5oBaUKH6yn7q4H7WxFR4UAs/fkfl6vAtDwe35hgH 0Qb6r7Efaa3Wg28cQdRmc9rK2VJBgG8oKin4s3/lratVyoxTyIe+ld4+zlWgdnK2 iteKEEL7AOz7pOPGBkQB48BhTb7S2oE2M9RnoQTlFDj10H7MR17Gb426V+wO4vvb 9rXjrq9QZAVHKHKogod4r1O7/0jZfguiDlkbmEZV1f7IksY7XGOcVma2KFfDheve 65YmK6YWhZMyBjXASJBweF+IPQL3F2OG21ew1EH8ceGoGWOQXJTevWSGiD0JnJhT fiEyRS3+llxWO/+63eIm4pQPzb+c0jtSGeteJESMoW3/zM8lAdX4X10JtqeWq6Q3 utBLcY05tHdilSIE/jhBUQtVDpXybVJii6Of1kyqU5WDRs0b2Z2rL0qMF6GVh0u5 In+4rgnIuPDqbfoiPNwQLAGaUHYEtblsZUlCKoETwvt3zcFI/lqx+AzJuNQb3yCm xOLtbQFRQig0TYCItb5uwk/yPkPLf/vM2a8Go1s74HG1KezYwrFa3sXFtZNbiHRj 16aOGbM35WNIyD7/KR0sExCMXlSOynqzwTXxTb9osnx9pw+0h8dZjCVkVv0V6/51 8d/KKNwjJVAYf/AeeXc0 =Sg5U -----END PGP SIGNATURE----- --=-IArihzaSaz8arBkCkvYl-- --===============0748632819== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc --===============0748632819==--