From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 4 May 2007 21:49:25 -0700 From: Roman Shaposhnick Subject: Re: [9fans] speaking of kenc In-reply-to: <775b8d190705032353u1bdf4528ve2e6ec3277017506@mail.gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-id: <1178340565.8179.18.camel@work.sfbay.sun.com> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT References: <7560b2245493f07219455a36984c983f@coraid.com> <1178244537.16650.1835.camel@work.sfbay.sun.com> <20070503191149.G22416@orthanc.ca> <1178245220.16650.1845.camel@work.sfbay.sun.com> <20070503192201.A22416@orthanc.ca> <775b8d190705032353u1bdf4528ve2e6ec3277017506@mail.gmail.com> Topicbox-Message-UUID: 5a85807e-ead2-11e9-9d60-3106f5b1d025 On Fri, 2007-05-04 at 16:53 +1000, Bruce Ellis wrote: > isn't it bleeding obvious by now that asm is dumb. I don't think it is obvious, no. > a function call into something in a *.s file will do. You're not seriously making this statement, are you? > you'll find a few entry points in your fave l.s. > > can i say dumb-asm on this list? > > i saw an attempt of ill-informed cleverness where spl() etc > were picked up by the compiler and inlined. > > i guess he had nothing else to do with his life. > > maybe a 0.02% speedup. Using asm has nothing to do with hand optimzing the inner loops these days. Most use of asm I see happens when C as a language just doesn't have adequate semantics to map into underlying hardware capabilities. Thanks, Roman.