Hello,

Paul Hargrove, le Mon 20 Jul 2015 23:12:10 -0700, a écrit :
> I believe the following inline x86 asm is correct and more robust than the
> existing code that pgi appears to reject:

Indeed, in the 32bit case, we don't need to shuffle between 32 and 64bit
values, so it's simpler to just use a register. It's surprising that
letting the compiler decide the register fails more than just specifying
SD, but since wide testing shows that, then let's go with it.

I'm however afraid that this code has again posed problem, even if we
do test its compilation in configure.ac.  I'm wondering: instead of
insisting on inlining this function, we should perhaps just put it in a
separate .c file, which we try to compile from configure.ac exactly the
same way as it will be for libhwloc.so?

Samuel

Reply via email to