Docsity

Multimedia Processing - Computer Systems Architecture - Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Multimedia Processing - Computer Systems Architecture - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

PROCESSOR ARCHITECTURES FOR MULTIMEDIA

APPLICATIONS

What Is Multimedia Processing?

  • Desktop:
    • 3D graphics (games)
    • Speech recognition (voice input)
    • Video/audio decoding (mpeg-mp3 playback)
  • Servers:
    • Video/audio encoding (video servers, IP telephony)
    • Digital libraries and media mining (video servers)
    • Computer animation, 3D modeling & rendering (movies)
  • Embedded:
    • 3D graphics (game consoles)
    • Video/audio decoding&encoding (set top boxes, PVR...)
    • Image processing (digital cameras)
    • Signal processing (cellular phones)

Characteristics Of Multimedia Apps.

cont.

  • Coarse-grain parallelism
    • Most apps organized as a pipeline of functions
    • Multiple threads of execution can be used
  • Memory requirements
    • High bandwidth requirements but can tolerate high latency
    • High spatial locality (predictable pattern) but low temporal locality
    • Cache bypassing and prefetching can be crucial

Examples of Media Functions

  • Matrix transpose/multiply (3D graphics)
  • DCT/FFT (Video, audio, communications)
  • Motion estimation (Video encoding, deinterlacing)
  • Gamma correction (3D graphics)
  • Haar transform (Media mining)
  • Median filter (Image processing)
  • Separable convolution (Image processing)
  • Viterbi decode (Communications, speech)
  • Bit packing (Communications, cryptography)
  • …

Application Example: MPEG Dec.

MPEG Encoder & Decoder Complexity

Function Specific Architectures

Programmable Dedicated Architectures

  • Increased flexibility: enables the processing of different tasks under software control.
  • Higher cost for design and manufacturing: additional hardware for program control is required.
  • Require software development for the application: parallelization strategies have to be applied

Adapted Programmable

Architectures

C-Cube’s VRP – VRP2 Docsity.com

VLIW Advanced Architectures

  • Reduce the number of cycles per instruction required for execution of highly complex and parallel algorithms
  • Multiple independent functional units that are directly controlled by long instruction words.
  • Unefficient use of silicon: requires a giant routing network of buses and crossbar switches.
  • All functional units share a common large register file
  • Code compaction is typically done by a special compiler, which can predict branch outcomes by applying an algorithm known as trace scheduling
  • Can be combined with SIMD arch. for increased parallelism

e.g. : Mitsubishi D30V and Philips Semiconductor’s TriMedia

Philips TriMedia CPU64 Arch.

  • 5 slot VLIW architecture with a 64-bit word size;
  • 27 functional units, offering a choice of operation types
  • in each slot in the instruction any operation can be guarded to provide conditional execution without branching;
  • All functional units provide vector-style subword parallelism on byte, half-word, or word entities.
  • instruction set and functional units optimized with respect to media processing;
  • a single multi-ported register file with bypass network, allowing 1-cycle latency operations;
  • 32 kB, 8-way instruction cache 16 kB, 8-way, quasi-dual ported, data cache;
  • a variable-length (compressed) instruction set design.

Multiple-instruction, multiple-

• offer 10 to 100 times more throughput than existingdata (MIMD) architectures

VLIW and SIMD architectures

  • Multiple instructions are executed in parallel on multiple data: a control unit for each data path.
  • asynchronous nature increases the complexity of software development.

SIMD Extensions to General Purp. Processors

  • Motivation
    • Low media-processing performance of GPPs
    • Cost and lack of flexibility of specialized ASICs for graphics/video
    • Underutilized datapaths and registers
  • Basic idea: sub-word parallelism
    • The mismatch between wide data paths and the relatively short data types found in multimedia applications
    • Treat a 64-bit register as a vector of 2 32-bit or 4 16-bit or 8 8-bit values (short vectors)
    • Partition 64-bit datapaths to handle multiple narrow operations in parallel
  • Initial constraints
    • No additional architecture state (registers)
    • No additional exceptions
    • Minimum area overhead

Overwiew of SIMD Extensions