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

Iain Buclaw ibuclaw at gdcproject.org
Sun Jul 19 06:48:47 UTC 2020


On 19/07/2020 02:28, Cecil Ward via Digitalmars-d wrote:
> 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

They pull it all from the Intel software developers manual.

https://www.felixcloutier.com/x86/

https://github.com/compiler-explorer/compiler-explorer/blob/master/etc/scripts/docenizer.py


More information about the Digitalmars-d mailing list