October 25, 2014
Yes it's clearly stated on the ABI page (and sane).
Nobody ever noticed cause it's hard to spot this in assembly.
But it was very salient and disturbing in llvm IR.
October 27, 2014
https://github.com/D-Programming-Language/dmd/pull/4092
November 14, 2014
Ping.

I'm all for the proposal, as it brings DMD and LDC in line with what the docs say (or rather do not say) and also with what GDC does. However, as this is a breaking change (think naked inline asm), I want to be sure that DMD is on board before going through with it on our (LDC) side.

Cheers,
David
November 14, 2014
On 25 October 2014 17:14, Trass3r via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> Yes it's clearly stated on the ABI page (and sane).
> Nobody ever noticed cause it's hard to spot this in assembly.
> But it was very salient and disturbing in llvm IR.

Really? I say this all the time. (OK, maybe not so much over the last
5 or so months :)
November 14, 2014
On Friday, 14 November 2014 at 20:19:56 UTC, Iain Buclaw via Digitalmars-d wrote:
> Really? I say this all the time. (OK, maybe not so much over the last
> 5 or so months :)

Yeah, and if I remember correctly, we both went to DConf 2013 intending to pester Walter about it. Unfortunately, I don't recall if we actually did, or what his response was.

David
November 15, 2014
On Saturday, 25 October 2014 at 16:14:30 UTC, Trass3r wrote:
> Yes it's clearly stated on the ABI page (and sane).
> Nobody ever noticed cause it's hard to spot this in assembly.

I've hit it a few times, I wasn't sure if it was me or the compiler that was mistaken so I didn't create a report, I just swapped my registers and moved on.


On Friday, 14 November 2014 at 19:42:54 UTC, David Nadlinger wrote:
>
> However, as this is a breaking change (think naked inline asm)

I'm probably not the only user who has adjusted their registers and moved on.
As usual, this is the biggest hindrance to fixing the bug, silently swapping the registers between versions is unacceptable.
November 15, 2014
On 14 November 2014 20:27, David Nadlinger via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> On Friday, 14 November 2014 at 20:19:56 UTC, Iain Buclaw via Digitalmars-d wrote:
>>
>> Really? I say this all the time. (OK, maybe not so much over the last
>> 5 or so months :)
>
>
> Yeah, and if I remember correctly, we both went to DConf 2013 intending to pester Walter about it. Unfortunately, I don't recall if we actually did, or what his response was.
>

Suddenly I have a reason to be vocal about it again.

https://github.com/D-Programming-Language/dmd/pull/3670

You wouldn't need to swap around the parameters if DMD passed parameters in the right order.
1 2
Next ›   Last »