Download presentation
Presentation is loading. Please wait.
1
S. Mandayam/ CompArch2/ECE Dept./Rowan University Computer Architecture II: Specialized 0909.444.01/02 Fall 2001 John L. Schmalzel Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall01/comparch2/ Lecture 1 October 25, 2001
2
S. Mandayam/ CompArch2/ECE Dept./Rowan UniversityPlan Intel P4 Quick Review: Integer Representation Sign-Magnitude Twos Complement Quick Review: Integer Arithmetic Floating Point Representation IEEE 754 Standard Floating Point Arithmetic IEEE 754 implementation
3
S. Mandayam/ CompArch2/ECE Dept./Rowan University Intel P4 Pentium® 4 Processor Pentium® III Processor Celeron™ Processor Mobile Processors A guide to help you make smart technology decisions. Digital Audio Players Home Networking PC Cameras PC Toys Wired Peripherals Wireless Peripherals PCs, products and ideas for the home Let us recommend the right PC for you Find out who sells Intel® processor- based PCs Shop Intel(SM) Store PC Buyer's Guide Vendor Fast Find Home Computing Product Selector http://www.intel.com/home/pentium4/
4
S. Mandayam/ CompArch2/ECE Dept./Rowan University ALU Inputs and Outputs
5
S. Mandayam/ CompArch2/ECE Dept./Rowan University Quick Review: Integer Representation Sign-Magnitude Twos Complement
6
S. Mandayam/ CompArch2/ECE Dept./Rowan University Twos Complement: Range -2 n-1 to 2 n-1 -1
7
S. Mandayam/ CompArch2/ECE Dept./Rowan University Geometric Depiction of Twos Complement Integers
8
S. Mandayam/ CompArch2/ECE Dept./Rowan University Hardware for Addition and Subtraction
9
S. Mandayam/ CompArch2/ECE Dept./Rowan University Floating Point: Example Sign bit Biased Exponent Significand/Mantissa/Fraction 8 bits 23 bits Sign of Mantissa
10
S. Mandayam/ CompArch2/ECE Dept./Rowan University Floating Point: Expressible Numbers
11
S. Mandayam/ CompArch2/ECE Dept./Rowan University IEEE 754 Standard Parameter Single Precision Single Extended Double Precision Double Extended Word width (bits)32>= 4364>= 79 Exponent width (bits)8>= 1111>= 15 Exponent bias127Unspecified1023Unspecified Max exponent127>= 10231023>= 16383 Min exponent-126<= -1022-1022<= -16382 Number range (base 10)10 -38, 10 +38 Unspecified10 -308, 10 +308 Unspecified Mantissa width (bits)23>= 3152>= 63 No. of exponents254Unspecified2046Unspecified No. of fractions2 23 Unspecified2 52 Unspecified No. of values1.98 x 2 31 Unspecified1.98 x 2 63 Unspecified
12
S. Mandayam/ CompArch2/ECE Dept./Rowan University IEEE 754 Numbers and NaNs NumberSign Biased Exponent FractionValue Positive zero0000 Negative zero100-0 Plus infinity0255 (all 1s)0Infinity Minus infinity1255 (all 1s)0-Infinity Quiet NaN0 or 1255 (all 1s)neq 0NaN Signaling NaN0 or 1255 (all 1s)neq 0NaN Positive normalized nonzero00 < e < 255f2 e-127 (1.f) Negative normalized nonzero10 < e < 255f-2 e-127 (1.f) Positive denormalized00f neq 02 e-126 (0.f) Negative denormalized10f neq 0-2 e-126 (0.f)
13
S. Mandayam/ CompArch2/ECE Dept./Rowan UniversityReferences William Stallings, Computer Organization and Architecture, 5 th Edition, Prentice-Hall, 2000. ftp://ftp.prenhall.com/pub/esm/computer_s cience.s-041/stallings/Slides/COA5e- Slides/ftp://ftp.prenhall.com/pub/esm/computer_s cience.s-041/stallings/Slides/COA5e- Slides/ IA-32 Intel Architecture Software Developer’s Manual Volume 1: Basic ArchitectureIA-32 Intel Architecture Software Developer’s Manual Volume 1: Basic Architecture http://www.intel.com/home/pentium4/
14
S. Mandayam/ CompArch2/ECE Dept./Rowan UniversitySummary
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.