comp.lang.ada
 help / color / mirror / Atom feed
* SIMD w/ MMX or 3dnow!
@ 2003-05-30  4:55 Bobby D. Bryant
  2003-05-30 10:54 ` Jeffrey Creem
  0 siblings, 1 reply; 2+ messages in thread
From: Bobby D. Bryant @ 2003-05-30  4:55 UTC (permalink / raw)


Has anyone tried speeding up fp multiplication by calling MMX or 3dnow!
instructions from within an Ada program?

I work with artificial neural networks and much of the signal propagation
can be reduced to instances of multiplying a single fp number times all
the fp numbers in an array and adding the result of each individual
multiplication to a different accumulator variable for each number in the
array.  (I.e., an input value is multiplied against a slice of the weight
matrix and the results are added to the values in the hidden layer.)

Any benchmark results and/or example code would be appreciated.  Thanks.

-- 
Bobby Bryant
Austin, Texas




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-30 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-30  4:55 SIMD w/ MMX or 3dnow! Bobby D. Bryant
2003-05-30 10:54 ` Jeffrey Creem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox