On Fri, 5 Nov 2021, Torbjörn Granlund wrote:
I don't have any sparc64-freebsd system to run tests on.
Do we test with clang on any of the sparc64-linux systems? If freebsd uses the integrated assembler of clang, that might help.
On gcc202, it seems that we first hit that clang doesn't like -mptr64, so I remove it for testing. I need to add -fintegrated-as so it does not use the external GNU binutils. And finally I get
tmp-gcd_11.s:206:6: error: unexpected token rd %pc, %o5 ^ tmp-gcd_11.s:210:9: error: unexpected token sethi %gdop_hix22(ctz_table), %o5 ^ tmp-gcd_11.s:211:12: error: unexpected token xor %o5, %gdop_lox10(ctz_table), %o5 ^ tmp-gcd_11.s:212:25: error: unexpected token ldx [%g4 + %o5], %o5, %gdop(ctz_table) ^ (and related errors for tmp-bdiv_q_1.s tmp-mode1o.s tmp-invert_limb.s etc) Compiling an example C file with -S, where gcc produces things like sethi %gdop_hix22(tab), %g1 xor %g1, %gdop_lox10(tab), %g1 ldx [%l7 + %g1], %l7, %gdop(tab) with clang I only see sethi %hi(tab), %i2 add %i2, %lo(tab), %i2 :-/ -- Marc Glisse _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs