Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 28, 2011 [dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: a6fbb45347a55bfeeff871cf162da47d605e2818 https://github.com/D-Programming-Language/dmd/commit/a6fbb45347a55bfeeff871cf162da47d605e2818 Author: Walter Bright <walter at walterbright.com> Date: 2011-10-28 (Fri, 28 Oct 2011) Changed paths: M src/backend/cod2.c Log Message: ----------- first stab at using XMM regs |
October 28, 2011 [dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs | ||||
---|---|---|---|---|
| ||||
Posted in reply to noreply at github.com | Does this mean that DMD will generate SSE code in 64-bit mode? On Fri, Oct 28, 2011 at 5:15 PM, <noreply at github.com> wrote: > Branch: refs/heads/master > Home: https://github.com/D-Programming-Language/dmd > > Commit: a6fbb45347a55bfeeff871cf162da47d605e2818 > > https://github.com/D-Programming-Language/dmd/commit/a6fbb45347a55bfeeff871cf162da47d605e2818 > Author: Walter Bright <walter at walterbright.com> > Date: 2011-10-28 (Fri, 28 Oct 2011) > > Changed paths: > M src/backend/cod2.c > > Log Message: > ----------- > first stab at using XMM regs > > > _______________________________________________ > dmd-internals mailing list > dmd-internals at puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-internals > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20111028/873c5e4b/attachment.html> |
October 28, 2011 [dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha |
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.
|
October 28, 2011 [dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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
>
|
October 28, 2011 [dmd-internals] [D-Programming-Language/dmd] a6fbb4: first stab at using XMM regs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex | Probably a flag. The auto-detect will result in a lot of code bloat, and would be unnecessary for 99.99% of the applications.
On 10/28/2011 2:43 PM, Alex wrote:
>
> 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?
>
|
Copyright © 1999-2021 by the D Language Foundation