Abstract
We study the practical performance of three algorithms for integer multiplication, “school-book,” Karatsuba, and 3-primes FFT. We compare portable solutions written in C versus non-portable solutions with assembly subroutines, and we examine the influence of CISC versus RISC processor architecture, in particular the NS 32332 versus Sun's SPARC. We also determine the gains from a parallelization on a shared memory Encore Multimax under Mach. Our software environment is PARSAC-2, a multi-threaded, parallel extension of SAC-2.
This material is based upon work supported by the National Science Foundation under Award No. CCR-9009396.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Mike Accetta, Robert Baron, William Bolosky, David Golub, Richard Rashid, Avadis Tevanian, and Michael Young. Mach: A new kernel foundation for UNIX development. In Proc. Summer USENIX Conference, July 1986.
George Almasi and Alan Gottlieb. Highly Parallel Computing. Benjamin/Cummings Publishing Company, 1989.
Alfred V. Aho, John E. Hopcroft, and Jeffrey D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, MA, 1974.
Eric C. Cooper and Richard P. Draves. C threads. Technical Report CMU-CS-88-154, Computer Science Department, Carnegie Mellon University, Pittsburgh, PA 15213, June 1988.
G. E. Collins and R. G. K. Loos. SAC-2 system documentation. On-line documentation and program documentation. In Europe available from: Prof. R. Loos, Universität Tübingen, Informatik, D-7400 Tübingen, W-Germany. In the U.S.A. available from: Prof. G. E. Collins, Ohio State University, Computer Science, Columbus, OH 43210.
George E. Collins, Maurice Mignotte, and Franz Winkler. Arithmetic in basic algebraic domains. In Computer Algebra: Symbolic and Algebraic Computation, volume 4 of Computing Supplementum, pages 189–220. Springer Verlag, Vienna, 2nd edition, 1982.
Colin Hunter. Series 32000 Programmer's Reference Manul. Prentice-Hall, Englewood Cliffs, New Jersey, 1987.
Wolfgang W. Küchlin and Nicholas J. Nevin. On multi-threaded list-processing and garbage collection. Technical Report OSU-CISRC-3/91-TR11, Computer and Information Science Research Center, The Ohio State University, Columbus, OH 43210-1277, March 1991.
Donald E. Knuth. The Art of Computer Programming: Seminumerical Algorithms, volume 2. Addison-Wesley, Reading, MA, 2nd edition, 1981.
Brian W. Kernighan and Dennis M. Ritchie. The C Programming Language. Prentice-Hall, Englewood Cliffs, New Jersey, 2nd edition, 1988. (Based on the Draft ANSI C.).
Wolfgang W. Küchlin. PARSAC-2: A parallel SAC-2 based on threads. In AAECC-8: Eighths Int. Symp. on Applied Algebra, Algebraic Algorithms, and Error-Correcting Codes, volume 508 of LNCS, Tokyo, Japan, August 1990. Springer-Verlag.
Wolfgang W. Küchlin. The S-threads environment for parallel symbolic computation. In Richard Zippel, editor, Computer Algebra and Parallelism, Ithaca, NY, June 1990. To appear.
John D. Lipson. Elements of Algebra and Algebraic Computing. Benjamin/Cummings, 1981.
R. G. K. Loos. The algorithm description language ALDES (Report). ACM SIGSAM Bull., 10(1):15–39, 1976.
LSI Logic Corporation, 1551 McCarthy Boulevard, Milpitas, CA 95035. SPARC Architecture Manual (Version 7), 1990.
David A. Patterson. Reduced instruction set computers. Communications of the ACM, 28(1):8–21, January 1985.
Sun Microsystems, Mountain View, CA. The SPARC™ Architecture Manual, October 1987. Revision A.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kuechlin, W., Lutz, D., Nevin, N. (1991). Integer multiplication in PARSAC-2 on stock microprocessors. In: Mattson, H.F., Mora, T., Rao, T.R.N. (eds) Applied Algebra, Algebraic Algorithms and Error-Correcting Codes. AAECC 1991. Lecture Notes in Computer Science, vol 539. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-54522-0_109
Download citation
DOI: https://doi.org/10.1007/3-540-54522-0_109
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54522-4
Online ISBN: 978-3-540-38436-6
eBook Packages: Springer Book Archive