From: Andy Reiter
Subject: Inline Assembly and Hardware Integration.
Date: 
Message-ID: <d4b78695.0210021058.74b8dbaa@posting.google.com>
I know this is a very plaform specific and non-standard thing, but I
am wondering if there is a de facto syntax for inline assembler (I
know Corman Lisp has this feature.)

This is not a discussion about HLL vs ASM or "why bother with asm when
you can
optimize your code .." or "premature optimization is the root ..".

I really would appreciate it if someone can show me examples of inline
assembler in several Lisp implementations. I know the Lisp machines
had lisp operators as instruction set, but still, those operators are
primitive enough to have counter parts in any modern intruction set
(OK, IA32 is far from modern, but you get my point.)

Also, I would really like to hear from someone who has experience in
this. I know that inlining assembler totally by-passes the safe guards
of the language, but with careful selection of what to inline and with
some intimate knowledge about how your compiler implements certain
language constructs, you can really walk this thin line.

Again, this is neither homework nor production problem. I am just an
eager
learner who is trying to push the envelope.

From: Thomas F. Burdick
Subject: Re: Inline Assembly and Hardware Integration.
Date: 
Message-ID: <xcv4rc42lgb.fsf@hurricane.OCF.Berkeley.EDU>
·······@flop.co.uk (Andy Reiter) writes:

> I know this is a very plaform specific and non-standard thing, but I
> am wondering if there is a de facto syntax for inline assembler (I
> know Corman Lisp has this feature.)

I think it varies to an amazing degree.  If you're curious about the
way SBCL/CMUCL do this, you can look at this message from Dan Barlow,
in response to a question of mine on how to write assembly for SBCL:
<http://www.sourceforge.net/mailarchive/message.php?msg_id=426631>

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'                               
From: Rainer Joswig
Subject: Re: Inline Assembly and Hardware Integration.
Date: 
Message-ID: <joswig-B876A0.22430202102002@news.fu-berlin.de>
In article <····························@posting.google.com>,
 ·······@flop.co.uk (Andy Reiter) wrote:

> I know this is a very plaform specific and non-standard thing, but I
> am wondering if there is a de facto syntax for inline assembler (I
> know Corman Lisp has this feature.)

MCL has inline assembler support. There is also
some contributed support for the G4 Altivec instruction
set.