Re: Why do we still assemble?

Nand.Mulchandani@Eng.Sun.COM (Nand Mulchandani)
Thu, 7 Apr 1994 02:41:03 GMT

          From comp.compilers

Related articles
Why do we still assemble? jimcamel@rogers.com (Jim Camelford) (2006-10-20)
Re: Why do we still assemble? idknow@gmail.com (idknow@gmail.com) (2006-10-21)
Why do we still assemble? hbaker@netcom.com (1994-04-06)
Re: Why do we still assemble? djohnson@arnold.ucsd.edu (1994-04-07)
Re: Why do we still assemble? jpab+@andrew.cmu.edu (Josh N. Pritikin) (1994-04-07)
Re: Why do we still assemble? preston@noel.cs.rice.edu (1994-04-07)
Re: Why do we still assemble? Nand.Mulchandani@Eng.Sun.COM (1994-04-07)
Re: Why do we still assemble? pardo@cs.washington.edu (1994-04-08)
Re: Why do we still assemble? pardo@cs.washington.edu (1994-04-08)
Re: Why do we still assemble? law@snake.cs.utah.edu (1994-04-08)
Re: Why do we still assemble? steve@cegelecproj.co.uk (1994-04-08)
Re: Why do we still assemble? bill@amber.csd.harris.com (1994-04-08)
Re: Why do we still assemble? hbaker@netcom.com (1994-04-08)
[27 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: Nand.Mulchandani@Eng.Sun.COM (Nand Mulchandani)
Keywords: assembler, design
Organization: Compilers Central
References: 94-04-032
Date: Thu, 7 Apr 1994 02:41:03 GMT

Here is a data point on the subject of compilers that directly generate
object code :


The new SunPro SPARCompiler 3.0 does not go through an assembler to
generate object code (the previous versions did). However, it has been a
major pain to handle things like asm() instructions in C and assembly
language inline templates. However, the assembler front-end that was put
into the code generator was designed to take a character buffer and
disguise it as a file so that the same code could be used to handle asm(),
inline templates, as well as assembly language that could come from a file.


I personally feel that the compile time gain makes it worth doing direct
object code formatting, but it really complicates the code generator
design because whenever the code generator wants to emit anything, it
can't just do a "printf" -- it has to explicitly create a node with all
the right information on it. This has led to a general increase in the
amount of code in the code generator.


- Nand
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.