112-types-of-cpu Flashcards
1
Q
instruction set
A
- set of all possible instructions a processor can recognise and execute. Made available by hardware design of processor
-instructions are machine code that the processor has been designed to handle based on a specific processor instruction set - Assembly (programming language) lets you combine these instructions to make a program.
-included in ISA
2
Q
ISA (instruction set architecture)
A
- processor architecture specification
- standardizes how software can interact with a computer’s hardware
- including necessary details for software developers to write programs.
3
Q
CISC (complex instruction set computer)
A
- Complex architecture design with many specialized instructions.
- Designed to execute tasks in as few lines of assembly code as possible
4
Q
CISC good points
A
- Assembly code is relatively short, less RAM to store instructions -> easier to translate to machine code.
-can execute series of operations in one instruction - Offers consistency and backwards compatibility with both software and hardware.
- Has a single register set with variable-length instructions and addressing modes.
5
Q
CISC bad points
A
- Instructions may take multiple cycles to execute, making pipelining more difficult.
- Low-level operations may be carried out as part of a single instruction, making software run more slowly - processor has to carry out each operation sequentially.
- Complexity of the hardware can be expensive to manufacture, generate more heat, and require efficient cooling features.
- Some instructions may rarely get used.
6
Q
RISC (reduced instruction set computer)
A
- Uses simple instructions executed within a single clock cycle for fast execution and enabling pipelining.
- Has a small instruction set (with a limited amount of instructions)
- standardized, fixed-length instructions that run faster and are used regularly in multiple general-purpose registers.
7
Q
RISC good points
A
- Simple circuitry and processor design
- minimize manufacturing costs, generate less heat, fewer transistors and consume less power,
- leaving more space for general-purpose registers and cache.
- Suitable for low-power, portable, or battery-powered devices that require high-speed parallel processing, such as smartphones, tablets, smartwatches, printers, home assistants, and TVs.
8
Q
RISC bad points
A
- Complex tasks in RISC may require multiple instructions, leading to longer programs
- more complex compiler as needs to do more work to convert due to the need for more assembly mnemonics,
-and increased RAM usage for storing instructions.
9
Q
CISC and RISC with pipelining
A
- CISC more complex, harder to divide instruction processing into smaller stages. And has variable lengths, pipeline stalls/flushes.
-risc simple and streamlined, easier to break into smaller stages
10
Q
co-processor
A
- Co-processors are additional processors used for specialized tasks.
- improve the overall speed of a computer by executing concurrently with the main CPU and reducing its workload.
- used for complex functions, such as calculating floating point numbers.
-The main CPU offloads some of its tasks to the co-processor, which then executes them in parallel.
11
Q
GPUs
A
specialised co-processor designed to handle and manipulate large amounts of data, particularly for graphics-related tasks and other specialized tasks.
can be integrated into a computer’s motherboard or used as a dedicated graphics card
12
Q
GPU pros
A
- Many cores - optimised for parallel processing, allows them to process similar data simultaneously: image processing, video transcoding, cryptocurrency mining
- Designed to handle and display high-quality graphics - graphic processing, gaming, virtual and AR, digital content creation: 3D modelling and animation, medicinal imaging and analysis
- High processing power - handles large amounts of data and complex numerical calculations: scientific simulations and modelling, financial modelling and analysis, AI and neural networks
13
Q
GPU cons
A
- expensive, consume a lot of power, more complex to program and use
- typically have less memory than a CPU, limit their ability to handle certain tasks.
- GPUs can be large and require a dedicated slot in a computer case, which can limit the flexibility of a computer’s configuration.
14
Q
Difference between GPUs and CPUs
A
- CPUs general purpose processors, GPUs specialized for certain tasks e.g graphics processing.
- GPUs faster and more efficient for simple operations on large data sets, CPUs at complex operations on small data sets.
- GPUs optimized for parallel processing calculations, CPUs process tasks in a serial order.
- GPUs thousands of cores, CPUs typically smaller, limited amount of cores.
15
Q
Why the need for multicore and parallel systems?
A
- software complexity/demands increase = more instructions needed for processing (time-consuming)
- Multicore/parallel systems allow multiple processors to share and perform tasks simultaneously
- reducing completion time and improving performance.