Skip to main content

Advertisement

Log in

Bounds on the parallel evaluation of arithmetic expressions using associativity and commutativity

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

We show that any arithmetic expression with n operands and parentheses nested to depth d can be evaluated in at most 1+2d+ [log2 n] steps, assuming that only associativity and commutativity are used to transform the expression. We also show that at most [n−2d/2] processors are needed to achieve this bound.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.

References

  1. Baer, J. L., Bovet, D. P.: Compilation of arithmetic expressions for parallel computations. Proc. IFIP Cong. 68. Amsterdam: North Holland 1969, p. 340–346

    Google Scholar 

  2. Beatty, J. C.: An axiomatic approach to code optimization for expressions. J. ACM 19, 613–640 (1972)

    Google Scholar 

  3. Brent, R. P.: The parallel evaluation of general arithmetic expressions. To appear in J. ACM

  4. Brent, R. P., Kuck, D. J., Maruyama, K.: The parallel evaluation of arithmetic expressions without division. IEEE Trans. Computers C-22, 532–534 (1973)

    Google Scholar 

  5. Knuth, D.: An empirical study of FORTRAN programs. Software, Practice and Experience 1, 105–133 (1971)

    Google Scholar 

  6. Kraska, P. W.: Parallelism exploitation and scheduling. University of Illinois at Urbana, Dept. of Computer Science, Rep. No. 518, Ph. D. Thesis, 1972

  7. Kuck, D. J.: Multioperation machine computational complexity. In: Traub, F. (ed.): Complexity of sequential and parallel numerical algorithms. London-New York: Academic Press 1973, p. 17–47

    Google Scholar 

  8. Kuck, D. J., Maruyama, K.: Time bounds on the parallel evaluation of arithmetic expressions. In preparation

  9. Kuck, D. J., Muraoka, Y., Chen, S. C.: On the number of operations simultaneously executable in FORTRAN-like programs and their resulting speed-up. IEEE Trans. Computers C-21, 1293–1310 (1972)

    Google Scholar 

  10. Maruyama, K.: On the parallel evaluation of polynomials. IEEE Trans. Computers C-22, 2–5 (1973)

    Google Scholar 

  11. Muraoka, Y.: Parallelism exposure and exploitation in programs. University of Illinois at Urbana, Dept. of Computer Science, Rep. No. 424, Ph. D. Thesis, 1971

Download references

Author information

Authors and Affiliations

Authors

Additional information

This work was supported in part by NSF Grant GJ 36936. An earlier version of this paper was presented at the Seventh Annual Princeton Conference on Information Sciences and Systems, March 1973.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Kuck, D., Muraoka, Y. Bounds on the parallel evaluation of arithmetic expressions using associativity and commutativity. Acta Informatica 3, 203–216 (1974). https://doi.org/10.1007/BF00288634

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00288634

Keywords