Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!udel!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.arch Subject: Re: bizarre instructions Message-ID: <45405@nigel.ee.udel.edu> Date: 21 Feb 91 18:44:26 GMT References: <9102210042.AA12291@ucbvax.Berkeley.EDU> <6503@mentor.cc.purdue.edu> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 20 Nntp-Posting-Host: estelle.ee.udel.edu How about this? A language in which it is possible to write functions in assembler and have them inlined automatically, and to have the compiler smart enough to do dataflow analysis on the resultant code and such. Possibly some syntax close to what PCC uses could be used inside such functions. I would imagine that GCC is close to capable of doing this if it isn't already. The minor problem of efficient multi-variable returns might need to be worked out. Then, the only stumbling block would be the flexible syntax for procedure calls, which could be addressed with a preprocessor rather than an entire language. Am I missing something here, or is this problem really as easy to solve as it seems? -- Darren -- --- Darren New --- Grad Student --- CIS --- Univ. of Delaware --- ----- Network Protocols, Graphics, Programming Languages, Formal Description Techniques (esp. Estelle), Coffee, Amigas ----- =+=+=+ Let GROPE be an N-tuple where ... +=+=+= Brought to you by Super Global Mega Corp .com