[FFmpeg-devel] asm vs __asm__: revenge of the underscores

Måns Rullgård mans
Mon Sep 29 00:08:10 CEST 2008


flameeyes at gmail.com (Diego 'Flameeyes' Petten?) writes:

> "Roman V. Shaposhnik" <rvs at sun.com> writes:
>
>> We are working on a providing a very robust support for GNU asm
>> extensions in Sun Studio. asm vs. __asm__ is one of the issues
>> that we will be addressing. 
>
> I'm not sure if it's "worth addressing", __asm__ seems a proper way to
> remember that it's _not_ a C99 feature, as long as it works. I have seen
> there are a lot of features that Sun Studio (at least the version I have
> here) does not handle like GCC does but at least it seems to support the
> basic syntax. I guess it's just a matter of working on it...

In C99, asm is a keyword.  However, no particular syntax or semantics
are defined.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list