Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nuchat!sugar!schaub From: schaub@sugar.UUCP (Markus Schaub) Newsgroups: comp.sys.amiga,comp.lang.modula2 Subject: Re: M2Amiga, a new Modula-2 compiler Message-ID: <1057@sugar.UUCP> Date: Fri, 13-Nov-87 11:11:20 EST Article-I.D.: sugar.1057 Posted: Fri Nov 13 11:11:20 1987 Date-Received: Sun, 15-Nov-87 10:53:51 EST References: <1982@crash.CTS.COM> Organization: Sugar Land UNIX - Houston, TX Lines: 32 Xref: mnetor comp.sys.amiga:10945 comp.lang.modula2:514 In article <1982@crash.CTS.COM>, haitex@pnet01.cts.com (Wade Bickel) writes: > > If the M2Amiga Linker works as you suggest, isn't the prep code > which must be generated prior to the call to a ROM routine redundantly > created at every call of the same routine. I can see this being faster, > but not more compact. The code for a ROM call is exactly the same as the code for a procedure call to a prodecure of an other module. The placing of parameters into registers doesn't make a big difference. With other compilers you have an external call to the assembler stub popping parameters into registers and eventually pushing results back on the stack again and the basic ROM call. Simplified: The time others arrive in their stubs we arrive at the function in ROM. A German jounalist doing some reseach on this came up with following figures. machine cycles for a Library Call. TDI ~250, Manx ~140, M2Amiga 94, he complained because the optimal Assembler call only uses 74 cycles. This still leaves some space for improvement :-) > > Hopefully I will get a copy of M2Amiga in the near future. I am > still open minded and if it is as good as you say when compared to > Benchmark I will admit it. But if it is'nt... > You won't be disappointed, I hope. M2Amiga is in stock, should I reserve a copy for you :-) // Markus Schaub uunet!nuchat!sugar!schaub (713) 523 8422 // M2Amiga Developer trying to get back the money I paid for my \\ // Amiga by selling a few M2Amiga. \X/ c/o Interface Technologies Corp, 3336 Richmond #323, Houston Tx 77098