SIMD/intrinsincs questions
Walter Bright
newshound1 at digitalmars.com
Fri Nov 6 20:29:41 PST 2009
Bill Baxter wrote:
> But what about the question of direct support for SSE intrinsics?
The following are directly supported:
a[] = b[] + c[]
a[] = b[] - c[]
a[] = b[] + value
a[] += value
a[] += b[]
a[] = b[] - value
a[] = value - b[]
a[] -= value
a[] -= b[]
a[] = b[] * value
a[] = b[] * c[]
a[] *= value
a[] *= b[]
a[] = b[] / value
a[] /= value
a[] -= b[] * value
CPU detection is done at runtime and picks which of none, mmx, sse, sse2
or amd3dnow instructions to use.
Other operations are done using loop fusion.
More information about the Digitalmars-d
mailing list