skip to main content
10.1145/3220267.3220292acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicsieConference Proceedingsconference-collections
research-article

Efficient Architecture for Controlled Accurate Computation using AVX

Published: 02 May 2018 Publication History

Abstract

Several applications have problems with the representation of the real numbers because of its drawbacks like the propagation and the accumulation of errors. These numbers have a fixed length format representation that provides a large dynamic range, but on the other hand it causes truncation of some parts of the numbers in case of a number that needs to be represented by a long stream of bits. Researchers suggested many solutions for these errors, one of these solutions is the Multi-Number (MN) system. MN system represents the real number as a vector of floating-point numbers with controlled accuracy by adjusting the length of the vector to accumulate the non-overlapping real number sequences. MN system main drawback is the MN computations that are iterative and time consuming, making it unsuitable for real time applications. In this work, the Single Instruction Multiple Data (SIMD) model supported in modern CPUs is exploited to accelerate the MN Computations. The basic arithmetic operation algorithms had been adjusted to make use of the SIMD architecture and support both single and double precision operations. The new architecture maintains the same accuracy of the original one, when was implemented for both single and double precision. Also, in this paper the normal Gaussian Jordan Elimination algorithm was proposed and used to get the inverse of the Hilbert Matrix, as an example of ill-conditioned matrices, instead of using iterative and time-consuming methods. The accuracy of the operations was proved by getting the inverse of the Hilbert Matrix and verify that the multiplication of the inverse and the original matrix producing the unity matrix. Hilbert Matrix inverse execution time was accelerated and achieved a speedup 3x, compared to the original NM operations. In addition to the previous, the accelerated MN system version was used to solve the polynomial regression problem.

References

[1]
1985. 754-1985-IEEE Standard for Binary Floating-Point Arithmetic. (1985).
[2]
2008. 754-2008-IEEE Standard for Floating-Point Arithmetic. (2008).
[3]
Intel Corporation. February 2016. Intel® Architecture Instruction Set Extensions Programming Reference. Manual. (February 2016).
[4]
T. J. Dekker. 1971. A Floating-Point Technique for Extending the Available Precision. Number. Math. 18 (1971), 224--242.
[5]
D. Dobkin and D. Silver. 1990. Applied computational geometry: Towards robust solutions of basic problems. J. Comput. System Sci. 40, 1 (1990), 70--87.
[6]
S. Graillat. 2008. Accurate simple zeros of polynomials in floating-point arithmetic. Computers & Mathematics with Applications 56, 4 (2008), 1114--1120.
[7]
S. Graillat and V. Morain. 2012. Accurate summation, dotproduct and polynomial evaluation in complex floating-point arithmetic. Information and Computation (March 2012).
[8]
W. Kahan. 1996. A Test for Correctly Rounded SQRT. Lecture note. (May 1996).
[9]
Abdalla D. M., A. M. Zaki, and A. M. Bahaa-Eldin. 2014. Acceleration of accurate floating point operations using SIMD. In Computer Engineering and Systems (ICCES), 2014 International Conference. IEEE, Cairo, Egypt, 225--230.
[10]
G. Masotti. 1993. Floating-point numbers with error estimates. Computer-Aided Design 25, 9 (1993), 524--538.
[11]
V. Y. Pan, B. Murphy, G. Qian, and R.E. Rosholt. 2009. A new error-free floating-point summation algorithm. Computers & Mathematics with Applications 57, 4 (2009), 560--564.
[12]
S. Schirra. 1997. Precision and robustness in geometric computations. In Algorithmic Foundations of Geographic Information Systems. Lecture Notes in Computer Science, Vol. 1340. Springer Berlin / Heidelberg, 255--287.
[13]
O. Takeshi and R. Siegfried. 2005. Accurate Sum and Dot- Product. SIAM J. Sci. Compute. 26 (June 2005), 1955--1988. Issue 6.
[14]
V. Ch. Venkaiah and S. K. Sen. 1988. Computing a matrix symmetrizer exactly using modified multiple modulus residue arithmetic. J. Comput. Appl. Math. 21, 1 (1988), 27--40.
[15]
A. M. Zaki, A. M. Bahaa-Eldin, M. H. El-Shafey, and G. M. Aly. 2010. A new architecture for accurate dot-product of floatingpoint numbers. In Computer Engineering and Systems (ICCES), 2010 International Conference. IEEE, Cairo, Egypt, 139--145.
[16]
A. M. Zaki, A. M. Bahaa-Eldin, M. H. El-Shafey, and G. M. Aly. 2011. Accurate floating-point operation using controlled floating-point precision. In Communications, Computers and Signal Processing (PacRim), 2011 IEEE Pacific Rim Conference. IEEE, Victoria, BC, 696--701.

Index Terms

  1. Efficient Architecture for Controlled Accurate Computation using AVX

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ICSIE '18: Proceedings of the 7th International Conference on Software and Information Engineering
    May 2018
    147 pages
    ISBN:9781450364690
    DOI:10.1145/3220267
    © 2018 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 02 May 2018

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Error free transformation
    2. Hilbert Matrix
    3. Ill-conditioned matrices
    4. Vandermonde Matrix
    5. floating-point
    6. polynomial regression

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    ICSIE '18

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 38
      Total Downloads
    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 15 Jan 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media