LSN 2 Computer Processors



Similar documents
Central Processing Unit (CPU)

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

Chapter 2 Logic Gates and Introduction to Computer Architecture

İSTANBUL AYDIN UNIVERSITY

Instruction Set Architecture (ISA)

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University

Computer Architecture TDTS10

CPU Organization and Assembly Language

Instruction Set Design

Chapter 5 Instructor's Manual

Chapter 1 Computer System Overview

Computer Architecture Lecture 3: ISA Tradeoffs. Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 1/18/2013

Administrative Issues

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

CHAPTER 4 MARIE: An Introduction to a Simple Computer

CHAPTER 7: The CPU and Memory

MICROPROCESSOR AND MICROCOMPUTER BASICS

Intel 8086 architecture

Computer Architectures

(Refer Slide Time: 00:01:16 min)

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Week 1 out-of-class notes, discussions and sample problems

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

Computer Organization and Architecture

Microprocessor and Microcontroller Architecture


A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Processor Architectures

Introduction to GPU Programming Languages

ELE 356 Computer Engineering II. Section 1 Foundations Class 6 Architecture

Lecture 11: Multi-Core and GPU. Multithreading. Integration of multiple processor cores on a single chip.

MACHINE ARCHITECTURE & LANGUAGE

ARM Microprocessor and ARM-Based Microcontrollers

EC 362 Problem Set #2

COMPUTER ORGANIZATION AND ARCHITECTURE. Slides Courtesy of Carl Hamacher, Computer Organization, Fifth edition,mcgrawhill

Property of ISA vs. Uarch?

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

Instruction Set Architecture

Central Processing Unit

An Overview of Stack Architecture and the PSC 1000 Microprocessor

Introduction to Cloud Computing

PROBLEMS. which was discussed in Section

An Introduction to the ARM 7 Architecture

Let s put together a Manual Processor

a storage location directly on the CPU, used for temporary storage of small amounts of data during processing.

Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Chapter 2 Topics. 2.1 Classification of Computers & Instructions 2.2 Classes of Instruction Sets 2.3 Informal Description of Simple RISC Computer, SRC

In the Beginning The first ISA appears on the IBM System 360 In the good old days

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

ARM Architecture. ARM history. Why ARM? ARM Ltd developed by Acorn computers. Computer Organization and Assembly Languages Yung-Yu Chuang

The Central Processing Unit:

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

Microprocessor & Assembly Language

Computer organization

Computer Organization. and Instruction Execution. August 22

Instruction Set Architecture (ISA) Design. Classification Categories

Chapter 12: Multiprocessor Architectures. Lesson 01: Performance characteristics of Multiprocessor Architectures and Speedup

on an system with an infinite number of processors. Calculate the speedup of

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

INSTRUCTION LEVEL PARALLELISM PART VII: REORDER BUFFER

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

CMSC 611: Advanced Computer Architecture

RISC AND CISC. Computer Architecture. Farhat Masood BE Electrical (NUST) COLLEGE OF ELECTRICAL AND MECHANICAL ENGINEERING

EE361: Digital Computer Organization Course Syllabus

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX

Design Cycle for Microprocessors

l C-Programming l A real computer language l Data Representation l Everything goes down to bits and bytes l Machine representation Language

Introduction to Computer Architecture Concepts

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

CPU Organisation and Operation

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Generations of the computer. processors.

UNIT 2 CLASSIFICATION OF PARALLEL COMPUTERS

Chapter 2 Parallel Architecture, Software And Performance

High Performance Computing

IA-64 Application Developer s Architecture Guide

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

CISC, RISC, and DSP Microprocessors

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s)

Lecture 2 Parallel Programming Platforms

Chapter 5, The Instruction Set Architecture Level

Q. Consider a dynamic instruction execution (an execution trace, in other words) that consists of repeats of code in this pattern:

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Summary of the MARIE Assembly Language

MACHINE INSTRUCTIONS AND PROGRAMS

1 Classical Universal Computer 3

Introducción. Diseño de sistemas digitales.1

Computer Architecture Basics

Computer Organization

PART B QUESTIONS AND ANSWERS UNIT I

IOS110. Virtualization 5/27/2014 1

A3 Computer Architecture

Guide to RISC Processors

Transcription:

LSN 2 Computer Processors Department of Engineering Technology

LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed

LSN 2 Machine Instructions CPU instruction set is the collection of different instructions that the CPU can execute Elements of machine instruction Operation code Source operand reference Unary Binary Result operand reference Next instruction reference

LSN 2 Instruction Cycle 2-step instruction cycle Program Counter (PC) contains address of next instruction to execute

LSN 2 Programming Models Defines how instructions access their operands and how instructions are described in the processor s assembly language Instruction types Processor - memory Processor - I/O Data processing Control Combination of above

LSN 2 Stack Based Architectures System registers (register file) are invisible to running programs Instructions read their operands from and write their results to a stack Stack Comprised of contiguous block of locations, only one of which can be accessed at a time Stack operations PUSH (write) to stack POP (read) from stack

LSN 2 Stack Based Architectures Stack format Requires three address to operate Stack pointer Stack base Stack limit Stack grows from higher to lower address

LSN 2 Stack Based Architectures Slow operations Whole stack or part of stack typically stored in main memory Since all addresses are implicit, multiple operations are required Small footprint for program in memory since it does not need to specify source/destination addresses Programs running on stack based architectures require postfix (RPN) notation Operator follows its operands a + b ab+

LSN 2 Stack Based Architectures

LSN 2 General Purpose Register Archs. Instructions read their operands and write their results to a random-access register file Register selection is unordered Registers are accessed via a register ID Reading values from GPRs does not remove them from memory (not POPed) Programs are responsible for selecting which values remain in registers at any given time

LSN 2 Instruction Set Architecture Defines how a processor is programmed Directly linked to assembly language Code density Based on the number of operands in each instruction Complex Instruction Set Computers (CISC) Large instruction set to accommodate most high-level operations Small memory footprint for programs Reduced Instruction Set Computers (RISC) Simple and fast instructions Large memory footprint for programs Load-store architecture

LSN 2 Instruction Set Architecture CISC ISAs X86 (IA-32) IA-64 / AMD64 Motorola 68k RISC ISAs ARM PowerPC MIPS

LSN 2 Addressing Modes Set of syntaxes and methods that instructions use to specify a memory address Register addressing Load/store instructions (RISC) CISC instructions that reference memory Label addressing Branch instructions using a label for destination address Relative addressing Register plus immediate addressing Value of specified register is added to the constant value in instruction

LSN 2 Instruction Encoding Selecting the bits that represent the ISA Fixed length Simple to decode Easily predicts next instruction location Wasted memory potential Variable length Memory efficient More complex decoding logic Next instruction location unknown until current decode

LSN2 Processor Organization Arithmetic and Logic Unit (ALU) Control Unit (CU) Registers Internal CPU bus

LSN2 ALU All other components of the computer system exist mainly to bring data into the ALU for processing and to have the results sent back out All operations result in data stored to registers Comprised of digital logic to perform necessary arithmetic and logic operations

LSN2 Register Organization The memory internal to the CPU User visible registers Allow user programs to minimize main memory access General purpose registers Sometimes used to store the operand of an instruction Data registers Only hold data, not used during address calculation Address registers Used for general purpose addressing or devoted to a particular addressing mode Condition code registers Condition codes are bits set by the CPU hardware as the result of operation

LSN2 Register Organization Control and status registers PC IR MAR MBR

LSN2 Multiprocessor Design Flynn s classification of computer architectures Single Instruction stream, Single Data stream (SISD) Single Instruction stream, Multiple Data stream (SIMD)

LSN2 Multiprocessor Design Flynn s classification of computer architectures Single Instruction stream, Multiple Data stream (SIMD) Multiple Instruction stream, Multiple Data stream (MIMD)

LSN2 Multiprocessor Design Flynn s classification of computer architectures Multiple Instruction stream, Multiple Data stream (MIMD)

LSN2 Multiprocessor Design Speedup How much faster a program runs on a system with n processors than it does on a system with 1 processor of the same type

LSN2 Multiprocessor Design Speedup divergence Interprocessor communications Synchronization Load balancing Superlinear speedup Some programs are more efficient on multiprocessor machines than on uniprocessor machines

LSN2 Multiprocessor Systems Multiprocessor systems either contain a centralized or distributed memory architecture Centralized All data in memory is accessible to any process Latency r/w issues can arise Distributed Each processor has its own dedicated local memory system Lower latency Requires interprocessor communications

LSN2 Intel Multi-Core Processors Intel Core2 Duo Intel Core2 Quad

LSN 2 Homework Reading Chapter 4.1-4.6 Chapter 5.1-5.4 Chapter 12.3 12.4 Assignment HMWRK1.pdf References http://www.intel.com/multi-core/index.htm Stallings, W, Computer Organization & Architecture, Prentice Hall, 7 th Ed., 2006