Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Martin Ostermann <ost@comnets.rwth-aachen.de>
Subject: Re:  optimization of string (and math) routines in (g)libc
Date: Tue, 23 Jul 1996 18:10:11 +0200	[thread overview]
Message-ID: <19f05496ae86401569b1d5d3fad5845b.axp-list@archive.invalid> (raw)

>> David, in patches on azstarnet I saw you've been writing math routines
>> in glibc. But I havn't found any string routines beyond libc-0.43,
>> which contains strlen.S. If there's more, please let me know.

> I have not seen any of these; could you point me to the correct file?

Hm, don't know if we mean the same with "math routines". I just
scanned the patches, and in the latest I found:

53 [charly] tmp> zcat libc-960712-alpha.diff.gz | grep libc-960712/sysdeps/alph
a | grep diff
diff -urN libc-orig/sysdeps/alpha/add_n.S libc-960712/sysdeps/alpha/add_n.S
diff -urN libc-orig/sysdeps/alpha/add_n.s libc-960712/sysdeps/alpha/add_n.s
diff -urN libc-orig/sysdeps/alpha/addmul_1.S libc-960712/sysdeps/alpha/addmul_1.S
diff -urN libc-orig/sysdeps/alpha/addmul_1.s libc-960712/sysdeps/alpha/addmul_1.s
diff -urN libc-orig/sysdeps/alpha/lshift.S libc-960712/sysdeps/alpha/lshift.S
diff -urN libc-orig/sysdeps/alpha/lshift.s libc-960712/sysdeps/alpha/lshift.s
diff -urN libc-orig/sysdeps/alpha/mul_1.S libc-960712/sysdeps/alpha/mul_1.S
diff -urN libc-orig/sysdeps/alpha/mul_1.s libc-960712/sysdeps/alpha/mul_1.s
diff -urN libc-orig/sysdeps/alpha/rshift.S libc-960712/sysdeps/alpha/rshift.S
diff -urN libc-orig/sysdeps/alpha/rshift.s libc-960712/sysdeps/alpha/rshift.s
diff -urN libc-orig/sysdeps/alpha/sqrt-strict.c libc-960712/sysdeps/alpha/sqrt-strict.c
diff -urN libc-orig/sysdeps/alpha/sub_n.S libc-960712/sysdeps/alpha/sub_n.S
diff -urN libc-orig/sysdeps/alpha/sub_n.s libc-960712/sysdeps/alpha/sub_n.s
diff -urN libc-orig/sysdeps/alpha/submul_1.S libc-960712/sysdeps/alpha/submul_1.S
diff -urN libc-orig/sysdeps/alpha/submul_1.s libc-960712/sysdeps/alpha/submul_1.s
diff -urN libc-orig/sysdeps/alpha/udiv_qrnnd.S libc-960712/sysdeps/alpha/udiv_qrnnd.S
diff -urN libc-orig/sysdeps/alpha/w_sqrt.S libc-960712/sysdeps/alpha/w_sqrt.S
54 [charly] tmp> 

So apperantly the machine generated .s variants were replaced by
hand-crafted assembler.

> This is something I was thinking of doing as well, though I have 
> something of a steep learning curve ahead, as I am only now
> learning about how "these things" (the insides of alpha chips and gcc :) 
> work.

Well, concerning integer instruction the Alpha has a VRISC (very
reduced instruction set), I'd say. Floats will be more difficult. I
will just do the string stuff.

Bye, Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8890378

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

             reply	other threads:[~1996-07-23 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-23 16:10 Martin Ostermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-07-28 23:23 optimization of string (and math) routines in (g)libc David Mosberger-Tang
1996-07-22 15:00 optimization of string " Martin Ostermann
1996-07-22 19:47 ` optimization of string (and math) " Scott Locklin ESG
1996-07-22 20:17   ` Richard Henderson
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