From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,1d6673b85a87920a X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,3567d4ae1ce1d0a3 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,3567d4ae1ce1d0a3 X-Google-Attributes: gid102b75,public X-Google-Thread: f57db,68ab921d4ad77a90 X-Google-Attributes: gidf57db,public From: jbuck@synopsys.com (Joe Buck) Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Date: 1996/07/24 Message-ID: <4t5qfl$2cp@hermes.synopsys.com>#1/1 X-Deja-AN: 170099467 references: <4svpfb$ifq@news-rocq.inria.fr> <4t0e7e$n1c@onramp.arc.nasa.gov> organization: Synopsys Inc., Mountain View, CA 94043-4033 newsgroups: comp.sys.intel,comp.sys.dec,comp.arch,comp.benchmarks lamaster@viking.arc.nasa.gov (Hugh LaMaster) writes: >This is not criticism per se, but, I would like to observe that >over the last decade a lot of high-precision arithmetic folks >have had numerous and various architectural complaints, but, >so far, there has never been a serious benchmarking effort >that I, personally, am aware of. By "serious", I mean something >like: Linpack, SPEC, STREAM, GPC, TPC, NAS parallel benchmarks, >etc., etc. Public-key cryptography seems the natural problem to put into a benchmark; it does present export issues, but perhaps the benchmark can simply consist of a series of kernels useful in public-key applications with no actual crypto code. >So, I would urge you and others with similar requirements to agree >on a representative benchmark of your requirements, write a >portable, standard implementation of the benchmark, preferably >in portable C, define what are allowable optimizations and >what are not, and benchmark some representative systems >yourselves. "Portable C" may present a bit of a problem -- at minimum, some host-dependent typedefs would be needed. Given typedefs for two C integral types, one of which is exactly twice the size of the other, a portable arbitrary-precision arithmetic package can be written in C, but the choice of what types to use is host-dependent (they should be the largest types available on the processor). For most hosts, a substantially faster routine can be written in assembler (using add-with-carry instructions that C compilers will generally not use). Perhaps some reasonable way can be found to proceed anyway. One possibility is to specify the interface of certain C-callable library routines. Vendors would be permitted to implement these routines however they like, and portable programs could be written by using the standard interfaces. The GNU mp library interface is one possibility: there is already a second implementation of this same interface, called FGMP, because some people needed a non-GPLed implementation. This library contains all the arbitrary-precision arithmetic needed to do public-key cryptography. -- -- Joe Buck (not speaking for Synopsys, Inc) Work for something because it is good, not just because it stands a chance to succeed. -- Vaclav Havel