Docsity

Raw Experience, Lecture Slides - Assembly Programming, Slides of Assembly Language Programming

Partial preview of the text

Download Raw Experience, Lecture Slides - Assembly Programming and more Slides Assembly Language Programming in PDF only on Docsity!

Dr. Rodric Rabbah, IBM.^

6.189 IAP 2007Lecture 17The Raw Experience^1 6.189 IAP 2007 MIT

2 6.189 IAP 2007 MIT

Raw Chips Dr. Rodric Rabbah, IBM.

October 02

4 6.189 IAP 2007 MIT

Raw Microprocessor Dr. Rodric Rabbah, IBM.

ā—^ 16 tiles (16 issue) ā—^ 180 nm ASIC (IBM SA-27E) ā—^ ~100 million transistors ā—^ 1 million gates ā—^ 3-4 years of development ā—^ 1.5 years of testing ā—^ 200K lines of test code ā—^ Core Frequency:^ Ā„^ 425 MHz @ 1.8 V^ Ā„^ 500 MHz @ 2.2 V ā—^ Frequency competitive with IBM-implemented PowerPCs in sameprocess ā—^ 18W average power

5 6.189 IAP 2007 MIT

One Cycle in the Life of a Tiled Processor ā—^ Application uses as many tiles as needed to exploit its parallelismDr. Rodric Rabbah, IBM.

mem mem mem 2-thread4-wayMPI appautomaticallyparallelizedC program httpd^ Zzz...

7 6.189 IAP 2007 MIT

Raw in Action Dr. Rodric Rabbah, IBM.

8 6.189 IAP 2007 MIT
16 8 4 1 1 8 164 Dr. Rodric Rabbah, IBM.

Speedup 350 x 240 Images^ 720 x 480 Images^16 Frames/s^8414 8 # of Tiles

Speedup

Frames/s # of Tiles

MPEG-2 Encoder Performance^ Ā„^

Square – Linear speedup Ā„ Diamond – Hand-optimized, slice parallel implementation Ā„ Circle – Slice parallel implementation Ā„ Triangle – Baseline macroblock parallel implementation
10 6.189 IAP 2007 MIT

Programmable Graphics Pipeline^ screenshot from^ Counterstrike Dr. Rodric Rabbah, IBM.

Input VVertex VertexSync Triangle SetupPPixel Pixel simplified graphics pipeline

11 6.189 IAP 2007 MIT

Phong Shading ā—^ Per-pixel phong-shadedpolyhedron ā—^ 162 vertices, 1 light Dr. Rodric Rabbah, IBM.

Output, rendered using Raw simulator

13 6.189 IAP 2007 MIT

Shadow Volumes ā—^ 4 textured triangles ā—^ 1 point light ā—^ Rendered in 3 passes Dr. Rodric Rabbah, IBM.

Output, rendered using Raw simulator

14 6.189 IAP 2007 MIT

Fixed pipelinePass 1^ Pass 2 Dr. Rodric Rabbah, IBM.

Pass 3

Reconfigurable pipelinePass 1^ Pass 2^ Pass 3

ā—^ 40% faster Shadow Volumes (64-tiles)

cycles

16 6.189 IAP 2007 MIT

Case Study: Beamformer^240 Dr. Rodric Rabbah, IBM.

(^64019) 1, 1,6001,4001,2001,000^8006004002000 C program^ C program

UnoptimizedOptimized StreamItStreamIt 1 GHz Pentium III^ 420 MHz single tileRaw

420 MHz 64 tile420 MHz 16 tileRawRaw MFLOPS

17 6.189 IAP 2007 MIT

The Raw Experience ā—^ Insights into the design Raw architecture ā—^ Raw parallelizing compiler ā—^ StreamIt language and CompilerDr. Rodric Rabbah, IBM.

19 6.189 IAP 2007 MIT

Dr. Rodric Rabbah, IBM.

ALUALUALUALU ALUALUALUALU ALUALUALUALU Bypass Net ALUALUALUALU (^2 3) ~N~N RF

N ALUs

Area and Frequency Scalability Problems

20 6.189 IAP 2007 MIT

Dr. Rodric Rabbah, IBM.

ALUALUALUALU ALUALUALUALU ALUALUALUALU Bypass Net ALUALUALUALU RF

Operand Routing is Global