Hi!

----

Did anyone thought about providing a (trap-based) emualtion for the
SPARC64 instruction "fma" (fused multiply-add) ? The current problem is
that we would have to compile a binary twice - one time for normal
"sparcv9" and one time for "sparcv9+fma" but then do not have a matching
entry in the /usr/bin/isalist output that /usr/lib/isaexec can use this
to select between both types of binaries.

AFAIK there are (at least) two solutions:
a) we need some kind of emulation in the kernel for the "fma"
instruction (which is slow but it won't hurt in the current scenario of
targeting >= SPARC64-VII)
b) fix /usr/bin/isalist to identify "fma"-capable machines correctly
c) just use the |fma()| function and don't care about performance on
platforms with FMA support

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

Reply via email to