digitalmars.D - D, Intel and AMD
- Chris (6/6) Oct 29 2013 Are there any major differences in how D fares on AMD processors
- Iain Buclaw (6/11) Oct 30 2013 The only peculiarity I've found is that code ran on Intel Atom is slower
- John Colvin (6/12) Oct 30 2013 I can't think of anything intrinsic to D that would result in any
- Kagamin (4/10) Oct 30 2013 I once changed an Athlon-based machine to a Celeron-based. If I
- evilrat (2/12) Oct 30 2013 but shouldn't Celeron compared to Sempron, and not Athlon? O_o
Are there any major differences in how D fares on AMD processors as opposed to Intel? The usual story is that Intel is faster and more precise when it comes to arithmetic operations (although I suspect that Intel is also very good at PR ;) Has anyone come across D related issues that are peculiar to one or the other architecture or brand?
Oct 29 2013
On 29 October 2013 20:35, Chris <wendlec tcd.ie> wrote:Are there any major differences in how D fares on AMD processors as opposed to Intel? The usual story is that Intel is faster and more precise when it comes to arithmetic operations (although I suspect that Intel is also very good at PR ;) Has anyone come across D related issues that are peculiar to one or the other architecture or brand?The only peculiarity I've found is that code ran on Intel Atom is slower with the -O switch on DMD. (There's a bug report somewhere for that). -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Oct 30 2013
On Tuesday, 29 October 2013 at 20:35:26 UTC, Chris wrote:Are there any major differences in how D fares on AMD processors as opposed to Intel? The usual story is that Intel is faster and more precise when it comes to arithmetic operations (although I suspect that Intel is also very good at PR ;) Has anyone come across D related issues that are peculiar to one or the other architecture or brand?I can't think of anything intrinsic to D that would result in any difference when compared to similar c++ programs. DMD itself may sometimes make some poor decisions from an AMD perspective (as Ian mentioned), but if you're looking for every last drop of performance you will want to be using ldc or gdc anyway.
Oct 30 2013
On Tuesday, 29 October 2013 at 20:35:26 UTC, Chris wrote:Are there any major differences in how D fares on AMD processors as opposed to Intel? The usual story is that Intel is faster and more precise when it comes to arithmetic operations (although I suspect that Intel is also very good at PR ;) Has anyone come across D related issues that are peculiar to one or the other architecture or brand?I once changed an Athlon-based machine to a Celeron-based. If I remember dhrystone benchmarks correctly, the drop in ALU performance was significant.
Oct 30 2013
On Wednesday, 30 October 2013 at 17:16:17 UTC, Kagamin wrote:On Tuesday, 29 October 2013 at 20:35:26 UTC, Chris wrote:but shouldn't Celeron compared to Sempron, and not Athlon? O_oAre there any major differences in how D fares on AMD processors as opposed to Intel? The usual story is that Intel is faster and more precise when it comes to arithmetic operations (although I suspect that Intel is also very good at PR ;) Has anyone come across D related issues that are peculiar to one or the other architecture or brand?I once changed an Athlon-based machine to a Celeron-based. If I remember dhrystone benchmarks correctly, the drop in ALU performance was significant.
Oct 30 2013