ASM with other compilers

Torbjorn Granlund tg at gmplib.org
Sun Mar 27 21:13:29 CEST 2011


Marc Glisse <marc.glisse at inria.fr> writes:

  On Fri, 4 Mar 2011, Marc Glisse wrote:
  
  > currently, clang refuses to compile jb,pt (x86_64/mod_34lsub1.asm)
  > (it understands jb without ,pt)
  
  It looks like writing ds;jb is equivalent to jb,pt on gas and is more
  portable, but I wouldn't trust myself about this kind of information.

I am not sure any x86 processor takes static branch prediction into
account.

We should remove the ,pt but make sure there is no slowdown for the
major processors.

-- 
Torbjörn


More information about the gmp-bugs mailing list