Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: Alpha C/C++ performance
Date: Mon, 28 Oct 1996 09:22:54 -0600 (CST)	[thread overview]
Message-ID: <199610281522.JAA00774@atheist.tamu.edu> (raw)
In-Reply-To: <9610281007.ZM22187@zam331>

> The program contains almost no floating point arithmetic (it is a cross
> assembler for a variety of microcontrollers like the 8051, HC11...), but
> it contains a lot of string operations..

Do you call <string.h> routines to do all the work or do you play with
the bytes yourself?  If the former, this might be entirely a library
issue.  The ECOFF libc did most of its string routines in C, and most
of them byte-by-byte.  I've gotten 8 to 20 fold increases rewriting 
them in assembly.

You might try using the assembly string routines added to the 2.1.[45]
kernel and see if that helps the cause.  The only important one not present
is str*cmp.  I'd been meaning to finish that one up; perhaps this will
give me a prod.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-28 15:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9610281007.ZM22187@zam331>
1996-10-28 15:22 ` Richard Henderson [this message]
1996-10-28 18:00 ` Alpha C/C++ performance Marc Singer
1996-10-29  7:22 A.Arnold
  -- strict thread matches above, loose matches on Subject: below --
1996-10-28  9:07 A.Arnold
1996-10-26  2:37 ed bristol
1996-10-25 17:52 Shane Anderson
1996-10-25 17:36 Bryan Thompson
1996-10-25 19:08 ` Marc Singer
1996-10-26 11:51   ` Scott Manley
1996-10-26 18:07     ` Marc Singer
1996-10-25 17:24 Matthew Jacob
1996-10-25 17:20 Robert Klein
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox