This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MS/CW-style inline assembly for GCC


Richard Henderson wrote:

On Mon, May 03, 2004 at 03:16:00PM -0700, Stan Shebs wrote:

So before starting on a series of patches, I'd like to get an idea of whether
we all want this feature in FSF GCC.


Having been paid to do this twice for MSVC-style asm, and having it come out badly both times, I have no interest of seeing anything of the kind in FSF GCC.

Dunno about CW, but MSVC semantics are virtually undocumented. You
get to find out all the things that "ought to work" via trial and error, looking at existing user code. This is not something I ever
want to support without large sums of money attached.


Can you be more specific about the difficulties? The CW version didn't
seem that hard (unless Apple mgmt is reading this, in which case it was
fiendishly difficult :-) ), but I did impose some restrictions in edge
cases where CW "knew too much" about the asm code because the assembler
was integrated, and so far that doesn't seem to have caused problems
for any actual users.

Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]