1.1.2 - types of processor Flashcards
1
Complex instruction set computers (CISC)
A large instruction set is used to accomplish a task in as few lines of assembly language as possible.
advantages of CISC processors
- Compiler has to do very little work
- Very little RAM required to store instructions
disadvantages of CISC processors
- Only about 20% of the specialised instructions were used in the average program.
- Cannot benefit from pipelining.
reduced instruction set computers (RISC)
Only simple instructions, each taking one clock cycle to be executed.
advantages of RISC processors
- Since each instruction takes one clock cycle, pipelining is possible.
- Takes single clock cycle.
disadvantages of RISC processors
- Compiler has to do more work to translate high level code into machine code
- More RAM required to store machine code instructions
co-processor
An extra processor used to supplement the functions of the primary processor. It generally only carries out a limited range of functions like floating point arithmetic and graphics processing.
e.g,GPU
GPU
A GPU has a massively parallel architecture consisting of thousands of smaller, more efficient cores designed for handling multiple tasks simultaneously. Its highly parallel structure makes it suitable for tasks where
processing of large blocks of visual data is done simultaneously
Name some more generalised uses for GPUs in computers.
- machine learning
- oil exploration
- image processing
- financial transactions
instruction set
Set of all instructions written in machine code that can be recognised and executed by a given processing unit/CPU.
Name the 2 types of instruction sets.
- complex instruction set computers (CISC)
- reduced instruction set computers (RISC)
multicore processor
A single processor containing more than one processing unit which can process instructions at the same time.
Name 3 ways multicore processors increase performance.
- Each core can fetch, decode ad execute its own instructions.
- On-chip shared cache
- Inter-core communication
Name 2 reason why double cores doesn’t mean double performance.
- Overheads involved with inter-core communication (bottlenecks, waiting on other processes).
- Some programs can’t make maximum use of all cores.
parallel processing
The processing of program instructions by dividing them between multiple processors or processor cores.