Inter-compiler portability of asm between gdc and ldc2 (and dmd)

Cecil Ward cecil at cecilward.com
Sun Jul 19 00:28:59 UTC 2020


On Saturday, 18 July 2020 at 23:10:22 UTC, Cecil Ward wrote:
> On Friday, 17 July 2020 at 21:36:52 UTC, Iain Buclaw wrote:n (:)
>
> On Friday, 17 July 2020 at 21:36:52 UTC, Iain Buclaw wrote:
>> You mean, like in compiler-explorer?
>>
>> https://explore.dgnu.org/z/LWqJdi
>>
>> Hover over the asm instructions to see explanations.
>
> I’ve used this website a lot. Matt Godbolt told me he isn’t the 
> maintainer of it. It’s excellent. I’ve used Matt’s own high 
> level multi-language website too. I just noticed the 
> instruction definitions for the first time the other day. I am 
> using an ipad so I can’t hover, and I can’t remember now how I 
> managed to be able to see an instruction definition note. (I 
> should explain - I’m (effectively) confined to bed due to 
> illness so I don’t use a laptop or desktop PC any more, just 
> the iPad.)

I’ve just worked it out : on ipad a "long-press" on a particular 
line of asm brings up a context menu (I presume this is what the 
right mouse button produces) and the good stuff is in that menu, 
including x6 insn definitions. Many thanks


More information about the Digitalmars-d mailing list