Mixed-precision Fused Multiply and Add

Nicolas Brunie 1, 2, 3, 4 Florent De Dinechin 2, 3, 4 Benoît De Dinechin 1
2 ARENAIRE - Computer arithmetic
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
3 ARIC - Arithmetic and Computing
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : The standard floating-point fused multiply and add (FMA) computes R=AB+C with a single rounding. This article investigates a variant of this operator where the addend C and the result R are of a larger format, for instance binary64 (double precision), while the multiplier inputs A and B are of a smaller format, for instance binary32 (single precision). With minor modifications, this operator is also able to perform the standard FMA in the smaller format, and the standard addition in the larger format. For sum-of-product applications, the proposed mixed-precision FMA provides the accumulation accuracy of the larger format, at a cost that is close to that of a classical FMA in the smaller format. Besides, it is fully compatible with existing arithmetic and language standards. The architectural cost of this operator is analysed in detail. An implementation of a mixed binary32/binary64 operator fully supporting subnormal numbers, binary64 addition and binary32 FMA is demonstrated and evaluated: its area overhead is one third over the classical binary32 FMA. Similarly, in high-end processors, a mixed binary64/binary128 FMA could provide an adequate solution to the binary128 requirements of very large scale computing applications.
Type de document :
Communication dans un congrès
45th Asilomar Conference on Signals, Systems & Computers, Nov 2011, United States. pp.165-169, 2012
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger

https://hal-ens-lyon.archives-ouvertes.fr/ensl-00642157
Contributeur : Florent De Dinechin <>
Soumis le : jeudi 17 novembre 2011 - 14:47:06
Dernière modification le : vendredi 20 avril 2018 - 15:44:26
Document(s) archivé(s) le : vendredi 16 novembre 2012 - 11:20:57

Fichier

mpfma.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : ensl-00642157, version 1

Collections

Citation

Nicolas Brunie, Florent De Dinechin, Benoît De Dinechin. Mixed-precision Fused Multiply and Add. 45th Asilomar Conference on Signals, Systems & Computers, Nov 2011, United States. pp.165-169, 2012. 〈ensl-00642157〉

Partager

Métriques

Consultations de la notice

516

Téléchargements de fichiers

1223