English

Modular SIMD arithmetic in Mathemagix

Mathematical Software 2014-07-15 v1

Abstract

Modular integer arithmetic occurs in many algorithms for computer algebra, cryptography, and error correcting codes. Although recent microprocessors typically offer a wide range of highly optimized arithmetic functions, modular integer operations still require dedicated implementations. In this article, we survey existing algorithms for modular integer arithmetic, and present detailed vectorized counterparts. We also present several applications, such as fast modular Fourier transforms and multiplication of integer polynomials and matrices. The vectorized algorithms have been implemented in C++ inside the free computer algebra and analysis system Mathemagix. The performance of our implementation is illustrated by various benchmarks.

Keywords

Cite

@article{arxiv.1407.3383,
  title  = {Modular SIMD arithmetic in Mathemagix},
  author = {Joris van der Hoeven and Grégoire Lecerf and Guillaume Quintin},
  journal= {arXiv preprint arXiv:1407.3383},
  year   = {2014}
}
R2 v1 2026-06-22T05:02:38.992Z