The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.

Slides:



Advertisements
Similar presentations
Zhongkai Chen. Gonzalez-Navarro, S. ; Tsen, C. ; Schulte, M. ; Univ. of Malaga, Malaga This paper appears in: Signals, Systems and Computers, ACSSC.
Advertisements

Fixed Point Numbers The binary integer arithmetic you are used to is known by the more general term of Fixed Point arithmetic. Fixed Point means that we.
Computer Engineering FloatingPoint page 1 Floating Point Number system corresponding to the decimal notation 1,837 * 10 significand exponent A great number.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3: IT Students.
Chapter 3 Arithmetic for Computers. Multiplication More complicated than addition accomplished via shifting and addition More time and more area Let's.
CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (2)
Computer ArchitectureFall 2007 © September 5, 2007 Karem Sakallah CS 447 – Computer Architecture.
Chapter 6 Arithmetic. Addition Carry in Carry out
Computer ArchitectureFall 2008 © August 25, CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (1)
COE 308: Computer Architecture (T041) Dr. Marwan Abu-Amara Integer & Floating-Point Arithmetic (Appendix A, Computer Architecture: A Quantitative Approach,
CPSC 321 Computer Architecture ALU Design – Integer Addition, Multiplication & Division Copyright 2002 David H. Albonesi and the University of Rochester.
Computer ArchitectureFall 2007 © August 29, 2007 Karem Sakallah CS 447 – Computer Architecture.
Data Representation – Binary Numbers
Computer Organization and Architecture Computer Arithmetic Chapter 9.
Computer Arithmetic Nizamettin AYDIN
Computer Arithmetic. Instruction Formats Layout of bits in an instruction Includes opcode Includes (implicit or explicit) operand(s) Usually more than.
Computer Architecture Lecture 3: Logical circuits, computer arithmetics Piotr Bilski.
3-1 Chapter 3 - Arithmetic Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of Computer Architecture.
Computer Arithmetic.
Chapter 6: Computer Arithmetic and the ALU
1 Lecture 5 Floating Point Numbers ITEC 1000 “Introduction to Information Technology”
Computer Architecture
ECE232: Hardware Organization and Design
Floating Point. Agenda  History  Basic Terms  General representation of floating point  Constructing a simple floating point representation  Floating.
CH09 Computer Arithmetic  CPU combines of ALU and Control Unit, this chapter discusses ALU The Arithmetic and Logic Unit (ALU) Number Systems Integer.
Computer Arithmetic II Instructor: Mozafar Bag-Mohammadi Spring 2006 University of Ilam.
Abdullah Aldahami ( ) March 12, Introduction 2. Background 3. Proposed Multiplier Design a.System Overview b.Fixed Point Multiplier.
L/O/G/O CPU Arithmetic Chapter 7 CS.216 Computer Architecture and Organization.
Figure 1.1 Block diagram of a digital computer. Functional Units.
Computer Arithmetic II Instructor: Mozafar Bag-Mohammadi Ilam University.
Integer & Floating Point Representations CDA 3101 Discussion Session 05.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
Lecture notes Reading: Section 3.4, 3.5, 3.6 Multiplication
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
Computer Engineering FloatingPoint page 1 Floating Point Number system corresponding to the decimal notation 1,837 * 10 significand exponent A great number.
Computing Machinery Chapter 6: Computer Arithmetic.
Chapter 3 Arithmetic for Computers. Chapter 3 — Arithmetic for Computers — 2 Arithmetic for Computers Operations on integers Addition and subtraction.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
CS 232: Computer Architecture II Prof. Laxmikant (Sanjay) Kale Floating point arithmetic.
COMPUTER ARITHMETIC Arithmetic with Signed-2's Complement Numbers
Integer Operations Computer Organization and Assembly Language: Module 5.
Chapter 8 Computer Arithmetic. 8.1 Unsigned Notation Non-negative notation  It treats every number as either zero or a positive value  Range: 0 to 2.
S 2/e C D A Computer Systems Design and Architecture Second Edition© 2004 Prentice Hall Chapter 6 Overview Number Systems and Radix Conversion Fixed point.
Chapter 9 Computer Arithmetic
William Stallings Computer Organization and Architecture 8th Edition
More Binary Arithmetic - Multiplication
COMPUTER ARITHMETIC Arithmetic with Signed-2's Complement Numbers
Part III The Arithmetic/Logic Unit
Floating Point Number system corresponding to the decimal notation
William Stallings Computer Organization and Architecture 7th Edition
CSCE 350 Computer Architecture
BCD = Binary Coded Decimal
Arithmetic Logical Unit
Multiprocessor & Multicomputer
Computer Arithmetic Multiplication, Floating Point
ECEG-3202 Computer Architecture and Organization
Chapter 8 Computer Arithmetic
Chapter 6: Computer Arithmetic
Presentation transcript:

The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. Stamatis Vassiliadis Symposium Future Research in Computer Arithmetic September 28, 2007 Eric Schwarz, IBM

Stamatis Vassiliadis Symposium Topics »Binary Multiplication Proofs of Overlapped ScanningFoundations 7:3 Counter DesignFuture »Division Direct Division Remainder Avoidanceactive »Decimal Floating-Point extremely active Pipelining Add Multiply Multiply-Add

Binary Multiplication

Stamatis Vassiliadis Symposium Basics »Recode multiplier and separate into digits »Create multiples of the multiplicand »Multiplex the multiples »Sum all partial products in counter tree »reduce final 2 partial products in CLA

Stamatis Vassiliadis Symposium History of Overlapped Scanning »A.D. Booth in 1951 showed overlapped scanning »L. Rubinfield in 1975 proved radix-4 Booth »S. Vassiliadis in 1989 proved Booth for any radix

Stamatis Vassiliadis Symposium Fixed Point Multiplication in 1973

Stamatis Vassiliadis Symposium Fixed Point Multiplication in 1991

Stamatis Vassiliadis Symposium High Level Counters 7:3 US Patent 5,187,679 in 1993

Power6 and Z6* Decimal Floating Point: Hardware

Stamatis Vassiliadis Symposium Power6 and Z6* processors have DFU Core Core L2Ctrl L2Ctrl L2DataL2Data L2DataL2Data L3Ctrl L3Ctrl MemCtrlMemCtrl

Stamatis Vassiliadis Symposium 754R Decimal Floating Point Format »IEEE 754R defines 2 formats: Integer coefficient & DPD (Densely Packed Decimal) »Formats for 32,64,128 bit. C encodes 2 exponent bits and 1 decimal digit in 5 bits. decimal32decimal64decimal128 Coefficient precision (p) Bits of Exponent Exponent range-101 to to to 6111 Nmax( ) x ( ) x ( ) x Nmin1 x x x S1S1 C5C5 Exp 6,8,12 Coef 20,50,110

Stamatis Vassiliadis Symposium Power6 Decimal Floating Point Unit »Cycle Time: approx 5Ghz, 13 FO4 design »Hardware executes 64-bit and 128-bit formats. 144-bit Dataflow can be split into two 72-bit pipes. DPD coefficients are decoded into BCD for execution. »All cases are handled in hardware. (No Special Case Software Traps)

Stamatis Vassiliadis Symposium Coefficient Dataflow Compress BCD to DPD Operand B Hi Register Operand A Hi Register Operand B Lo Register Operand A Lo Register Expand DPD to BCD Working Register HiWorking Register Lo Result Register Hi Result Register Lo Multiple Generator 36 digits wide (144 bits) Pipelined 2 cycle Rotator 4D 2D 4D +1 Adder Register 2D Doubler & Quintupler 1X,3X,4X Registers A muxB mux Q Prescale Table Q Correction and Multiplexers DEC to BIN & BIN to DEC Converters Q 36 Digit Dataflow splits to Two 18 Digit Dataflows Magnitude Calculations: A-BB-A Multiplication:Partial Product AccumulateGenerate

Stamatis Vassiliadis Symposium Power6 DFP Multiplication Partial products are formed from two multiples to reduce area MultipleAB 1X0 2X 0 3X2X1X 4X2X 5X 0 6X5X1X 7X5X2X 8X10X-2X 9X10X-1X 34 digit multiplication on 36 digit dataflow 1 digit every 2 cycles: 16 digit multiplication on dual 18 digit dataflows 1 digit every cycles:

Stamatis Vassiliadis Symposium Performance of Arithemetic Operations Cycles Required for Execution Doubleword OperandsQuadword Operands Case 1 Add/Sub9 to 1311 to 15 Case 2 Add/Sub11 to 1513 to 17 Case 3 Add/Sub13 to 1715 to 19 Multiplication * 19 + N21 + 2N Division82154 * N is the number of digits in the first operand excluding leading zeros

Stamatis Vassiliadis Symposium Future »Pipelined Adder with Rounding Injection Lia-Kai Wang »Decimal Multiplication Mark Erle and Michael Schulte – 3:2 Counter Tomas Lang and A. Nannarelli- 4:2 Counter Alvaro Vazquez et. al Luigi Dadda - counters »Decimal Multiply-Add Pipeline with Rounding Injection »Divide Tomas Lang and A. Nannarelli – Base 2 and Base 5 »Intel Format

Stamatis Vassiliadis Symposium Future of Computer Arithmetic »Is based on clear proofs and expositions of the fundamental concepts. the easier to understand, the easier to build on »Arithmetic is very active IEEE 754R Standard currently in ballot Decimal Floating-Point pipelined designs new adder designs, new multiplier designs vector processing, image processing, video game

Stamatis Vassiliadis Symposium thanks Stamatis!