[Issue 22161] importC: Support parsing C asm expressions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 1 21:05:13 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=22161

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |LATER

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
DMD now supports parsing GCC style inline assembler, although it doesn't
actually turn it into assembler code - it replaces it with an assert(0).

DMD's inline assembler is derived from DMC's, although the latter does not
support 64 bit code or SIMD instructions. I don't recall how different it is
for ordinary 32 bit code.

At this point it is not worth worrying about DMC inline asm compatibility, so
deferring a decision about it until an actual issue crops up about it.

--


More information about the Digitalmars-d-bugs mailing list