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: preprocessor: % as args to #defines


On Jan 29, 2004, at 7:11 PM, Ian Lance Taylor wrote:
Geoff Keating <geoffk@geoffk.org> writes:
Ian Lance Taylor <ian@wasabisystems.com> writes:

While acknowledging that inline assembler is a fertile source of
problems, I would say that gcc's support for inline assembler is one
of the main reasons that gcc is useful in compiling for embedded
systems and kernels.  It permits scheduling of assembler code,

I'm sure you meant another word here, not 'scheduling'. One of the best reasons not to use inline asm is that it can't be scheduled.

Mea culpa. It can be rearranged, hoisted, duplicated, eliminated, etc., but it can't actually be scheduled.

Yes, but we do have requests from users who want a mechanism to add scheduling info to their asm's. So far we've resisted successfully.


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