SlideShare a Scribd company logo
PIPELINING, PROCESSORS,
RISC AND CISC. (PPRC)
F453 COMPUTER SCIENCE 3.3.3 COMPUTER ARCHITECTURES
PIPELINING
• The main idea behind pipelining, is to allow multiple programs
to use the FDE cycle at one time.
• In the FDE cycle, there are 3 main processes, Fetch, Decode,
Execute.
• Each one of these 3 sections, use only 1 part of the processor
at a time.
• When 1 instruction is ‘executed’, it goes through all 3 sections
one after another, which always leaves parts of the processor
inactive.
DIAGRAM
• In this diagram, when the program is started, instruction 1
starts in F, then moves to D, when instruction 1 moves,
instruction 2 moves into F. This continues with all subsequent
instructions as well, and maximises processor use.Fetch Decode Execute
Instruction 1
Instruction 2 Instruction 1
Instruction 3 Instruction 2 Instruction 1
Instruction 4 Instruction 3 Instruction 2
Instruction 5 Instruction 4 Instruction 3
Instruction 6 Instruction 5 Instruction 4
Instruction 7 Instruction 6 Instruction 5
ARRAY OR VECTOR PROCESSING
• Some types of data can be processed individually of each other,
for example processing pixels on a screen.
• For example, if you wanted to make all red pixels blue, and all
blue pixels green, and leave green pixels alone.
• A sequential processor would examine each pixel one at a time,
and apply the change.
ARRAY OR VECTOR PROCESSING
• But the data for this process can be arranged into an array, like
this:
• {element 1, element 2, …}
• This is known as a one dimensional array or vector, another
type of array looks like this:
• {element 1, element 2
• Element 3, element 4}
• This is called a two dimensional array or matrix, which is
fundamental to graphics work.
ARRAY PROCESSOR
• An array (vector) processor has a number of ALU’s that allow all
the elements of an array to be processed at the same time.
• With an array processor, a single instruction is issued by a
control unit, and that instruction is applied to a number of data
sets at the same time.
• An array processor is a single instruction multiple data
computer (SIMD).
DIAGRAM
Control unit
ALU 1
ALU 3 ALU 4
ALU 2
DAT
A
DAT
A
DAT
A
DAT
A
MULTIPLE PROCESSORS
• The next level of parallel processing, is to have multiple
instructions acting upon multiple data sets.
• This is achieved by having a number of CPU’s being applied to
a single problem, with each CPU carrying out part of the overall
problem.
DIAGRAM
Job Scheduler
CPU 1
CPU 3 CPU 4
CPU 2
DAT
A
DAT
A
DAT
A
DAT
A
MULTIPLE PROCESSORS
• A good example of this architecture, is a supercomputer. For
example the IBM Blue Gene supercomputer has 4098
processors, allowing a lot of processing. It is used to solve
complex problems, such as predicting climate change, or
running simulations (any large problem that can be broken
down into smaller problems).
• But even normal CPU chips in personal computers will normally
have multiple cores, for example your (my) Toshiba laptop has
quad core processing ( ͡° ͜ʖ ͡°).
• A multi-core computer is a multiple instruction multiple data
TYPES OF PARALLEL PROCESSING
• There are a number of ways to carry out parallel processing:
Types of parallel
processing
Class of computer Application
Pipeline Single instruction
single data (SISD)
Inside a CPU
Array processor SIMD Graphics card, games
consoles
Multi-core MIMD Super computers,
modern multi-core
chips
ADVANTAGES AND DISADVANTAGES OF
PARALLEL PROCESSING
• Advantages of parallel processing (over Von Neumann
architecture):
• Faster when handling large amounts of data, with each data set requiring
the same processing.
• Is not limited by the bus transfer rate (Von Neumann bottleneck).
• Can make maximum use of the CPU (pipeline method) in spite of the
bottleneck.
• Disadvantages:
• Only certain types of data are suitable for parallel processing. Data that
relies on the result of a previous operation cannot be made parallel. For
parallel processing, each data set must be independent of each other.
CO PROCESSOR
• So far, we have discussed parallel processing as a means of
speeding up data processing. This is fine, but it does make an
assumption that the ALU within the CPU is perfect for handling
all kinds of data. And this is not always true.
• There are two basic ways of doing calculations within a CPU:
• Integer maths which only deal with whole numbers.
RISC AND CISC
• CISC stands for complex instruction set computers, and RISC
stands for reduced instruction set computers, and they both
describe the thought behind designing a new computer chip.
• Until recently, most chips were made using the CISC approach.
Each iteration of their computer chips offered larger and richer
instruction sets than the last one. But now chips are being
created using the RISC approach.
CISC
• In a CISC chip, a single instruction such as MULT a,b is
available. The chip-maker adds more complex circuits within
the CPU to carry out these instructions. So the trade-off is
more complex hardware to support simpler software coding.
• The compiler when seeing a MULT command written in a high
level language source code, can generate a single machine
code instruction to carry out the task.
RISC
• In a RISC chip, it is the other way round (keep the hardware
simple and let the software be more complicated). There may
be no single MULT instruction available, so the compiler has to
generate more line of codes, such as multiple ADD commands.
• But each of those instructions can be carried out in a single
cycle. You can also use the pipeline method to speed it up even
more (since a and b do not depend on each other). So overall
the RISC approach may be faster.

More Related Content

What's hot

8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
ShivamSood22
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
PreethiSureshkumar1
 
Instruction Set Architecture
Instruction  Set ArchitectureInstruction  Set Architecture
Instruction Set Architecture
Haris456
 
Pipelining powerpoint presentation
Pipelining powerpoint presentationPipelining powerpoint presentation
Pipelining powerpoint presentation
bhavanadonthi
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
Om Bheda
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
 
Registers
RegistersRegisters
Registers
Sahil Bansal
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
AJAL A J
 
Memory organization
Memory organizationMemory organization
Memory organization
Dhaval Bagal
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set 8051 micro controllers Instruction set
8051 micro controllers Instruction set
Nitin Ahire
 
Counters
CountersCounters
Counters
Ketaki_Pattani
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
Mazin Alwaaly
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
Muhammed Afsal Villan
 
Digital Data to Digital Signal Conversion
Digital Data to Digital Signal ConversionDigital Data to Digital Signal Conversion
Digital Data to Digital Signal Conversion
Arafat Hossan
 
Arm modes
Arm modesArm modes
Arm modes
abhi165
 
Combinational circuit and Sequential circuit
Combinational circuit and Sequential circuitCombinational circuit and Sequential circuit
Combinational circuit and Sequential circuit
Poornima Santhosh
 
digital Counter
digital Counterdigital Counter
digital Counter
shamshad alam
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
Nikhil Baby
 

What's hot (20)

8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Instruction Set Architecture
Instruction  Set ArchitectureInstruction  Set Architecture
Instruction Set Architecture
 
Pipelining powerpoint presentation
Pipelining powerpoint presentationPipelining powerpoint presentation
Pipelining powerpoint presentation
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Registers
RegistersRegisters
Registers
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
Memory organization
Memory organizationMemory organization
Memory organization
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set 8051 micro controllers Instruction set
8051 micro controllers Instruction set
 
Counters
CountersCounters
Counters
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
Digital Data to Digital Signal Conversion
Digital Data to Digital Signal ConversionDigital Data to Digital Signal Conversion
Digital Data to Digital Signal Conversion
 
Arm modes
Arm modesArm modes
Arm modes
 
Combinational circuit and Sequential circuit
Combinational circuit and Sequential circuitCombinational circuit and Sequential circuit
Combinational circuit and Sequential circuit
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
 

Similar to Pipelining, processors, risc and cisc

Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
Ali Raza
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
Ali Raza
 
CSA unit5.pptx
CSA unit5.pptxCSA unit5.pptx
CSA unit5.pptx
AbcvDef
 
Processors
ProcessorsProcessors
Processors
HIMANSHU JAIN
 
PILOT Session for Embedded Systems
PILOT Session for Embedded Systems PILOT Session for Embedded Systems
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
High performance computing
High performance computingHigh performance computing
High performance computing
punjab engineering college, chandigarh
 
CSC204PPTNOTES
CSC204PPTNOTESCSC204PPTNOTES
CSC204PPTNOTES
Gilbert NZABONITEGEKA
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
Zakaria Gomaa
 
Lec 2 (parallel design and programming)
Lec 2 (parallel design and programming)Lec 2 (parallel design and programming)
Lec 2 (parallel design and programming)
Sudarshan Mondal
 
Flynn's Classification .pptx
Flynn's Classification .pptxFlynn's Classification .pptx
Flynn's Classification .pptx
Nayan Gupta
 
CA UNIT IV.pptx
CA UNIT IV.pptxCA UNIT IV.pptx
CA UNIT IV.pptx
ssuser9dbd7e
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
unit 4.pptxunit 4.pptx
Aca module 1
Aca module 1Aca module 1
Aca module 1
Avinash_N Rao
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
komal mistry
 
DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
AswathSelvaraj
 
Multithreaded processors ppt
Multithreaded processors pptMultithreaded processors ppt
Multithreaded processors ppt
Siddhartha Anand
 
Advanced processor principles
Advanced processor principlesAdvanced processor principles
Advanced processor principles
Dhaval Bagal
 
Computer arch
Computer archComputer arch
Computer arch
Rahul Bhaskar
 
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.pptBIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
Kadri20
 

Similar to Pipelining, processors, risc and cisc (20)

Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
CSA unit5.pptx
CSA unit5.pptxCSA unit5.pptx
CSA unit5.pptx
 
Processors
ProcessorsProcessors
Processors
 
PILOT Session for Embedded Systems
PILOT Session for Embedded Systems PILOT Session for Embedded Systems
PILOT Session for Embedded Systems
 
High performance computing
High performance computingHigh performance computing
High performance computing
 
CSC204PPTNOTES
CSC204PPTNOTESCSC204PPTNOTES
CSC204PPTNOTES
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Lec 2 (parallel design and programming)
Lec 2 (parallel design and programming)Lec 2 (parallel design and programming)
Lec 2 (parallel design and programming)
 
Flynn's Classification .pptx
Flynn's Classification .pptxFlynn's Classification .pptx
Flynn's Classification .pptx
 
CA UNIT IV.pptx
CA UNIT IV.pptxCA UNIT IV.pptx
CA UNIT IV.pptx
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
Aca module 1
Aca module 1Aca module 1
Aca module 1
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
 
DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
 
Multithreaded processors ppt
Multithreaded processors pptMultithreaded processors ppt
Multithreaded processors ppt
 
Advanced processor principles
Advanced processor principlesAdvanced processor principles
Advanced processor principles
 
Computer arch
Computer archComputer arch
Computer arch
 
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.pptBIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
 

Recently uploaded

How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 

Recently uploaded (20)

How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 

Pipelining, processors, risc and cisc

  • 1. PIPELINING, PROCESSORS, RISC AND CISC. (PPRC) F453 COMPUTER SCIENCE 3.3.3 COMPUTER ARCHITECTURES
  • 2. PIPELINING • The main idea behind pipelining, is to allow multiple programs to use the FDE cycle at one time. • In the FDE cycle, there are 3 main processes, Fetch, Decode, Execute. • Each one of these 3 sections, use only 1 part of the processor at a time. • When 1 instruction is ‘executed’, it goes through all 3 sections one after another, which always leaves parts of the processor inactive.
  • 3. DIAGRAM • In this diagram, when the program is started, instruction 1 starts in F, then moves to D, when instruction 1 moves, instruction 2 moves into F. This continues with all subsequent instructions as well, and maximises processor use.Fetch Decode Execute Instruction 1 Instruction 2 Instruction 1 Instruction 3 Instruction 2 Instruction 1 Instruction 4 Instruction 3 Instruction 2 Instruction 5 Instruction 4 Instruction 3 Instruction 6 Instruction 5 Instruction 4 Instruction 7 Instruction 6 Instruction 5
  • 4. ARRAY OR VECTOR PROCESSING • Some types of data can be processed individually of each other, for example processing pixels on a screen. • For example, if you wanted to make all red pixels blue, and all blue pixels green, and leave green pixels alone. • A sequential processor would examine each pixel one at a time, and apply the change.
  • 5. ARRAY OR VECTOR PROCESSING • But the data for this process can be arranged into an array, like this: • {element 1, element 2, …} • This is known as a one dimensional array or vector, another type of array looks like this: • {element 1, element 2 • Element 3, element 4} • This is called a two dimensional array or matrix, which is fundamental to graphics work.
  • 6. ARRAY PROCESSOR • An array (vector) processor has a number of ALU’s that allow all the elements of an array to be processed at the same time. • With an array processor, a single instruction is issued by a control unit, and that instruction is applied to a number of data sets at the same time. • An array processor is a single instruction multiple data computer (SIMD).
  • 7. DIAGRAM Control unit ALU 1 ALU 3 ALU 4 ALU 2 DAT A DAT A DAT A DAT A
  • 8. MULTIPLE PROCESSORS • The next level of parallel processing, is to have multiple instructions acting upon multiple data sets. • This is achieved by having a number of CPU’s being applied to a single problem, with each CPU carrying out part of the overall problem.
  • 9. DIAGRAM Job Scheduler CPU 1 CPU 3 CPU 4 CPU 2 DAT A DAT A DAT A DAT A
  • 10. MULTIPLE PROCESSORS • A good example of this architecture, is a supercomputer. For example the IBM Blue Gene supercomputer has 4098 processors, allowing a lot of processing. It is used to solve complex problems, such as predicting climate change, or running simulations (any large problem that can be broken down into smaller problems). • But even normal CPU chips in personal computers will normally have multiple cores, for example your (my) Toshiba laptop has quad core processing ( ͡° ͜ʖ ͡°). • A multi-core computer is a multiple instruction multiple data
  • 11. TYPES OF PARALLEL PROCESSING • There are a number of ways to carry out parallel processing: Types of parallel processing Class of computer Application Pipeline Single instruction single data (SISD) Inside a CPU Array processor SIMD Graphics card, games consoles Multi-core MIMD Super computers, modern multi-core chips
  • 12. ADVANTAGES AND DISADVANTAGES OF PARALLEL PROCESSING • Advantages of parallel processing (over Von Neumann architecture): • Faster when handling large amounts of data, with each data set requiring the same processing. • Is not limited by the bus transfer rate (Von Neumann bottleneck). • Can make maximum use of the CPU (pipeline method) in spite of the bottleneck. • Disadvantages: • Only certain types of data are suitable for parallel processing. Data that relies on the result of a previous operation cannot be made parallel. For parallel processing, each data set must be independent of each other.
  • 13. CO PROCESSOR • So far, we have discussed parallel processing as a means of speeding up data processing. This is fine, but it does make an assumption that the ALU within the CPU is perfect for handling all kinds of data. And this is not always true. • There are two basic ways of doing calculations within a CPU: • Integer maths which only deal with whole numbers.
  • 14. RISC AND CISC • CISC stands for complex instruction set computers, and RISC stands for reduced instruction set computers, and they both describe the thought behind designing a new computer chip. • Until recently, most chips were made using the CISC approach. Each iteration of their computer chips offered larger and richer instruction sets than the last one. But now chips are being created using the RISC approach.
  • 15. CISC • In a CISC chip, a single instruction such as MULT a,b is available. The chip-maker adds more complex circuits within the CPU to carry out these instructions. So the trade-off is more complex hardware to support simpler software coding. • The compiler when seeing a MULT command written in a high level language source code, can generate a single machine code instruction to carry out the task.
  • 16. RISC • In a RISC chip, it is the other way round (keep the hardware simple and let the software be more complicated). There may be no single MULT instruction available, so the compiler has to generate more line of codes, such as multiple ADD commands. • But each of those instructions can be carried out in a single cycle. You can also use the pipeline method to speed it up even more (since a and b do not depend on each other). So overall the RISC approach may be faster.