The Design of Floating-Point Multiply-Add Fused Units in General Purpose Processors
- Author
- MeiXiaoLu
- Advisor
- TangZhiMin
- School
- Institute of Computing Technology
- Major
- Computer System Architecture
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 167
- Citations
- 2
- Multiply-Add Fused
- Multiply Accumulate
- Leading-One Prediction
- 3-operand Leading-One Prediction
- Multiplication Bypass
- Addition Bypass
- Double-Datapath
Abstract
With development of VLSI technology, the density of a single chip is increasing and the cost of chips is reduced continuously. So, modern processors have the ability to integrate more and more devices, have more complex architectures and perform more powerfully.Floating-point performance is an important measurement for general purpose processors. Floating-point multiply-add fused (FMAF) unit can prominently improve the floating-point performance of microprocessors, which is proved by several recent commercial processors. As a result, high-performance, general purpose processor has a requirement for the FMAF unit.The advantages of FMAF unit include low latency and more precision than individual multiply and add instruction, the low request for bus bandwidth, the reduction of the register file pressure, the increment of instructions throughput. The FMAF unit can also perform individual multiply or add instruction by set one operation to be 1 or 0. Moreover, the FMAF unit have the ability to implement division and square root and compute transcendental functions by software.The structure of traditional FMAF is“multiply– add– normalize– round”. Different from traditional one, the proposed FMAF structure is“multiply– normalize– add and round”, which reduces the critical path delay and greatly improves the floating-point performance. The disadvantage of this structure is that it needs more devices and the hardware cost is higher than traditional one,Leading-One Prediction (LOP, or named LZA for the short of Leading-Zero Anticipate) is a key logic in the design of FMAF unit. The FMAF unit needs a LOP circuit to deal with 3 operands. However, the traditional LOP arithmetic can not deal with 3 operands directly. While, in an indirect way, the traditional LOP arithmetic will increase the delay of the critical path and enlarge the circuit area. The paper describes the design of a 3-operand leading-one prediction (LOP) logic. It can effectively reduce the critical path delay and area in LOP circuit.Through the FMAF unit, the latency of multiply-add, multiply, add operations are all the same. It’s possible that for some special applications the performance of FMAF unit is lower than the one of FADD unit and FMUL unit. The multiplication / addition bypass technology can avoid these cases. The multiplication / addition bypass can reduce the latency of floating-point multiplication / addition effectively through the FMAF unit. With these technologies, the overall floating-point performance of our CPU can be greatly improved.
Table of contents
Summary 3-4
Abstract 4-7
Chapter floating-point multiply-add components Overview 7-15
1.1 multiply-add components proposed 7-9
1.2 The significance of the floating-point multiply-add components 9-13
1.2.1 floating-point multiply-add component applications demand 9-10 < br /> 1.2.2 One of the advantages of floating-point multiply-add components: fast, high precision 10-11
1.2.3 floating point multiply-add component advantages: floating-point multiplication and addition 11
1.2.4 Other advantages of the floating-point multiply-add components 11-12
1.2.5 floating-point multiply-add components through software division, seeking the remainder open root and basic functionality 12-13
the 1.3 paper the basic architecture 13-15
second chapter multiply parts of the status quo and the use of 15-25
2.1 field of general-purpose processor the 16-22
2.1.1 IBM uses multiply-add components 16-20
2.1.2 Intel IA-64 architecture used multiply-add components 20
2.1.3 MIPS / SGI multiply parts 20-21
2.1.4 Other commercial processor 21-22
2.2 DSP field of research and development status 22-23
2.3 graphics processing field 23-24
2.4 section 24-25 <br / > Chapter joint parts floating-point multiply-add design structure and algorithm 25-41
of 3.1 previous design structure REVIEW 25-31
3.1.1 IEEE-754 standard provisions of the floating-point operations 25-27
3.1.2 IBM RS/6000 floating-point multiply-add components structure 27-28
3.1.3 PowerPC 603e 604e processor the improved MAF 28-29
3.1.4 Lang the Bruguera proposed to shorten the delay of floating-point multiply-add components designed structure 29-31
3.2 improved floating-point multiply parts of the structure the 31-39
3.2.1 multiplications, the design of the module 34-35
3.2.2 alignment shift 35-36
3.2.3 symbol detection the relationship between the 36
3.2.4 index difference between the normalized shift amount 36-37
3.2.5 addition and rounding 37-38
3.2.6 exception handling 38-39
3.3 Section 39-41
Chapter three operands leading to a prediction algorithm 41-49
4.1 floating-point multiply-add components traditional leading a prediction algorithm the 41-42
4.2 three operands leading prediction algorithm 42-47
4.2.1 Case of P ≥ 0 the 43-45 4.2.2 Case P
45-47
4.3 Experimental results 47-49
Chapter optimize floating-point multiply-add components 49-57
5.1 reduce the delay of floating-point multiplication and floating-point addition 49-53
5.1.1 floating point multiplication bypass 49-51
5.1.2 floating point adder bypass 51-53
5.2 standard-cell-based optimization 53-55
5.3, 55-57
Chapter VI Conclusion and Outlook 57-59
6.1 Conclusion 57
6.2 further work 57 -59
Reference 59-64
Acknowledgements 64-65
of resume 65