Re: question: prefer SSE over x87 asm code?

2011-01-23 Thread Trass3r
Note that SSE is less precise than x87.

question: prefer SSE over x87 asm code?

2011-01-21 Thread dennis luehring
hello all, i've read that on newer architectures SSE code should be prefered over x87 - because of speed and i saw masses of SSE code in the math stuff of microsoft and intel compiler generated code i know that the current fpu/sse support of DMD isn't that good, but are there any attemps to

Re: question: prefer SSE over x87 asm code?

2011-01-21 Thread Don
dennis luehring wrote: hello all, i've read that on newer architectures SSE code should be prefered over x87 - because of speed and i saw masses of SSE code in the math stuff of microsoft and intel compiler generated code At the present time, SSE and x87 are the same speed in most cases

Re: question: prefer SSE over x87 asm code?

2011-01-21 Thread bearophile
Don: At the present time, SSE and x87 are the same speed in most cases (most operations take just one cycle) -- except of course that you can do two or four operations at once with SSE. SSE-something also allow some other operations, sqrt, etc. Even with GCC I've seen some performance