SlideShare ist ein Scribd-Unternehmen logo
1 von 16
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Arbitration in computer organization
 Arbitration in computer organization   Arbitration in computer organization
Arbitration in computer organization Amit kashyap
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Dhaval Kaneria
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 IntroductionDr. Pankaj Zope
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorNikhil Kumar
 
Programed I/O Modul..
Programed I/O Modul..Programed I/O Modul..
Programed I/O Modul..Myster Rius
 
DRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write OperationsDRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write OperationsNaman Bhalla
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA ControllerShivamSood22
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architectureDr.YNM
 
RISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingRISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingTushar Swami
 

Was ist angesagt? (20)

Arbitration in computer organization
 Arbitration in computer organization   Arbitration in computer organization
Arbitration in computer organization
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
 
Programed I/O Modul..
Programed I/O Modul..Programed I/O Modul..
Programed I/O Modul..
 
DRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write OperationsDRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write Operations
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Bus aribration
Bus aribrationBus aribration
Bus aribration
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
RISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set ComputingRISC - Reduced Instruction Set Computing
RISC - Reduced Instruction Set Computing
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 

Ähnlich wie Pipelining, processors, risc and cisc

Ähnlich wie 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
 

Kürzlich hochgeladen

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 

Kürzlich hochgeladen (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.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.