GMP and clang bugginess

Marc Glisse marc.glisse at inria.fr
Mon May 25 10:13:38 UTC 2015


On Thu, 21 May 2015, Marc Glisse wrote:

> On powerpc-linux-gnu, clang complains about the bc+ instruction, and 
> indeed I can't find that in IBM's documentation. After removing 
> divrem_2.asm, it compiles fine and passes the testsuite.

Now I've found it (and reported 
https://llvm.org/bugs/show_bug.cgi?id=23646 ). Note that the same (?)
instruction is spelled differently in the same file:

 	bc+	12, 28, L(9)
vs.
 	blt+	cr7, L(24)

(there is also a mix of using "7" vs "cr7")
and llvm is happy with the second form.

-- 
Marc Glisse


More information about the gmp-devel mailing list