Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Open In App
Next Article:
UltraSPARC Architecture
Next article icon

Co-Processor | Computer Architecture

Last Updated : 10 Sep, 2021
Comments
Improve
Suggest changes
Like Article
Like
Report

Introduction :
If in microprocessor chip, new circuitry can be added with special purpose to perform special tasks or to perform operations on numbers in order to offload the work of the core CPU. The CPU can then work faster.

We may use a conveyor belt to do some extra work while motor is running. So , the motor is more effectively utilized. Similarly, supplementary processor, i.e.,  a co-processor handles the mathematical part of the work when we run complex applications.

What is a coprocessor ?

  • A co-processor is many times referred as a Math Processor. As the coprocessor performs routine mathematical tasks, the core processor is freed up from this computation and its time is saved. By taking specialized processing tasks from core CPU, coprocessor reduces the strain on the main microprocessor, so that it can run at a greater speed.
  • A coprocessor can perform  special tasks like complex mathematical calculations or graphical display processing. They perform such jobs faster than core CPU. As a result, overall computer speed of the system increases.
  • To an ARM processor, we can attach the coprocessors. A coprocessor when added, we need to   expand instruction set of Core CPU or add configurable registers,  to increase the processing power. The coprocessor interface permits a couple of coprocessor to be connected to the ARM CPU.

How does coprocessor work ?
Coprocessors assists the system in running more efficiently by offloading specific tasks of the CPU. They can be 

  1. Independent type - 
    It work in an asynchronous manner with the CPU . Whenever it performs any task/ some calculations, that is not synchronized with the CPU. Co-processor can take decisions independently here. CPU can then do its own work without worrying about co-processor's work. Instead of synchronously waiting, CPU that issued the request is freed up to perform another task.
  2. Direct control type -  
    Direct control type such as floating-point units - controlled by coprocessor's instructions that are CPU instruction set's part. The CPU that initiated the request waits or  checks until co-processor completes operation. The coprocessor is not independent here & is governed or controlled by the main CPU. CPU & coprocessor works in synchronization here.

The processor is designed and implemented in manner so that it can send, both data and instructions to several coprocessors. These coprocessors are designed to perform in coordination with the core and are pipelined in the identical manner.

By adding a new set of specialized instructions, coprocessor can expand instruction set . For example, to handle vector floating-point (VFP) operations, a series of specialized instructions can be added to the normal ARM instruction set. When the instruction is decoded and it is encountered as coprocessor instruction, that instruction is passed on to the appropriate coprocessor. However, if the coprocessor isn't present or doesn't find instruction in its instruction set, an undefined instruction exception is thrown by ARM.

Properties of Coprocessor  :

  1. Without primary microprocessor, coprocessor cannot function.
  2. Main processor has to identify and segregate computationally intensive instructions in a program.
  3. The instructions which have an intensive amount of calculations are performed by coprocessor.
  4. The main processor handles all other activities.

Functionalities of a Coprocessor :

  • Coprocessors are incapable of retrieving instructions from memory, managing memory, executing instructions(flow control types) directly, performing I/O operations, etc.
  • The coprocessor relies on the host (main) processor to retrieve coprocessor instructions and take care of all other operations not related to the coprocessor.
  • A coprocessor is not the main processor of the system.
  • Coprocessor can perform : Floating point arithmetic operations such as addition, subtraction, multiplication, Calculating the square root of the given number, estimating the logarithmic value  of the given number etc. (for float point values) , or signal, string, graphical processing or encryption/decryption etc.
  • Coprocessors enable a computer customization , so the clients  do not need to pay if they do not require the additional performance.

Example - Intel 8087 Coprocessor :
The Intel 8087 was first  math co-processor suited for operations of 16 bit. It was built to be paired with the Intel 8086 Microprocessor. Its main purpose was to decrease time required by  the applications to give output (that require high floating point computations).
With introduction of co-processor along with the main processor, it was noticed that performance of the applications improved from 20% to 500%. 
8087 coprocessor Performance - About 50 Kilo Floating Point Operations per second(KFLOPS).

Functional Diagram of 8087 Co-Processor

Intel 8087 co-processor supports :

  • Integer
  • BCD
  • Single Precision floating point number
  • Double Precision  floating-point number
  • Extended precision ( 80 bit)  floating-point number

The diagram shows the connectivity of a co-processor with 8086 Microprocessor. 
Most of the co-processors has - Arithmetic module, Temporary registers and logic module. 


Next Article
UltraSPARC Architecture

S

sameekshakhandelwal1712
Improve
Article Tags :
  • Computer Organization & Architecture

Similar Reads

  • Architecture of 8085 microprocessor
    A microprocessor is fabricated on a single integrated circuit (IC) or chip that is used as a central processing unit (CPU).The 8085 microprocessor is an 8-bit microprocessor that was developed by Intel in the mid-1970s. It was widely used in the early days of personal computing and was a popular cho
    11 min read
  • UltraSPARC Architecture
    UltraSPARC Architecture belongs to the SPARC (Scalable Processor Architecture) family of processors. This architecture is suitable for wide range of microcomputers and supercomputers. UltraSPARC is example of RISC (Reduced Instruction Set Computer). UltraSPARC architecture: Memory: Memory consists o
    2 min read
  • PowerPC Architecture
    PowerPC Architecture are microprocessor for personal computers. PowerPC is a RISC (Reduced Instruction Set Computer) architecture which are very powerful and low-cost microprocessors. RISC architecture tries to keep the processor as busy as possible. Design features of PowerPC are as follows: Broad
    3 min read
  • Computer Architecture | Flynn's taxonomy
    Parallel computing is a computing where the jobs are broken into discrete parts that can be executed concurrently. Each part is further broken down to a series of instructions. Instructions from each part execute simultaneously on different CPUs. Parallel systems deal with the simultaneous use of mu
    4 min read
  • Memory Organisation in Computer Architecture
    Memory organization is essential for efficient data processing and storage. The memory hierarchy ensures quick access to data by the CPU, while larger, slower storage devices hold data for the long term. Effective memory management ensures the system operates efficiently, providing programs with the
    3 min read
  • Pentium Pro Architecture
    The Pentium Pro microprocessor belongs to the CISC (Complex Instruction Set Computers) machines. Processor of Pentium Pro family are mostly present in majority of personal computers. The term 'Pentium processor' refers to an Intel x86 family of microprocessors that share a common architecture and in
    3 min read
  • Handler's Classification in Computer Architecture
    In 1977, Wolfgang Handler presented a computer architectural classification scheme for determining the degree of parallelism and pipelining built into the computer system hardware. Parallel systems are complicated to the program as compared to the single processor system because parallel system arch
    3 min read
  • Hardware architecture (parallel computing)
    Let's discuss about parallel computing and hardware architecture of parallel computing in this post. Note that there are two types of computing but we only learn parallel computing here. As we are going to learn parallel computing for that we should know following terms. Era of computing - The two f
    3 min read
  • Architecture of SoC
    SoC stands for System On Chip. It is a small integrated chip that contains all the required components and circuits of a particular system. The components of SoC include CPU, GPU, Memory, I/O devices, etc. SoC is used in various devices such as smartphones, Internet of Things appliances, tablets, an
    4 min read
  • Arithmetic Logic Shift Unit in Computer Architecture
    Arithmetic Logic Shift Unit (ALSU) is a member of the Arithmetic Logic Unit (ALU) in a computer system. It is a digital circuit that performs logical, arithmetic, and shift operations. Rather than having individual registers calculating the micro operations directly, the computer deploys a number of
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences