[dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs

Alex xtzgzorex at gmail.com
Fri Oct 28 14:43:03 PDT 2011


Hi,

For 32-bit compilation, will we get a flag for enabling SSE, or will
the generated code detect whether SSE exists on the CPU it's being run
on?

Regards,
Alex

On Fri, Oct 28, 2011 at 11:26 PM, Walter Bright <walter at digitalmars.com> wrote:
>
>
> On 10/28/2011 2:17 PM, David Simcha wrote:
>>
>> Does this mean that DMD will generate SSE code in 64-bit mode?
>>
>
> That's the plan. I've been wanting to get this done for a long time. 64 bit
> will be the test bed.
>
> (64 bit code gen already has the necessary 64 bit stack alignment for this
> to work, also 100% of the 64 bit CPUs have XMM registers. This is not so for
> 32 bit CPUs other than OS X targets. I figure 32 bit OS X would be the next
> target.)
>
> Because of its potential disruptiveness, I want to do this at the beginning
> of a release cycle.
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>


More information about the dmd-internals mailing list