• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Difference between instruction sets and processor architecture?

Status
Not open for further replies.
Ok. Imagine you had some Ikea furniture you needed to assemble. The instruction set is the language the directions are written in. The architecture is the person reading the directions and building the furniture. So for example, x86 (Intel) instruction set is "English" and you can give it to several English speaking workers (different Intel architectures). Some workers do things smarter than others and can build the furniture faster.

And the depending on the language, maybe it's more wordy to explain what you need to do. Maybe it's faster.

Edit: Actually what I quoted closer to microarchitecture instead of architecture. Maybe someone else can come up with an Ikea furniture analogy. 😛
 
Ok. Imagine you had some Ikea furniture you needed to assemble. The instruction set is the language the directions are written in. The architecture is the person reading the directions and building the furniture. So for example, x86 (Intel) instruction set is "English" and you can give it to several English speaking workers (different Intel architectures). Some workers do things smarter than others and can build the furniture faster.

And the depending on the language, maybe it's more wordy to explain what you need to do. Maybe it's faster.

Edit: Actually what I quoted closer to microarchitecture instead of architecture. Maybe someone else can come up with an Ikea furniture analogy. 😛

Yes, you did, but the "architecture" as formally defined is just the combination of the microarchitecture and the instruction set (as a whole).


But in order to be REALLY simple, here is an example.

Instruction Set Architectures: The actual description of valid commands for the CPU. Examples of these are:
x86
Intel-SSE3 (as an extension of x86)
MIPS
ARM
Motorolla 68k

Microarchitecture: The way the chip is built. How many/what kind of ALUs, kind/size of cache, cache associativity, how many/what kind of floating point units, what kind of branch predictor, what kind of other operational units. Examples are:
Intel 80286 (i286)
Intel Netburst (Pentium 4)
Intel Dothan (Pentium M)
AMD Thunderbird (Athlon)
AMD Bulldozer (Athlon XP)
(and hundreds more)


Here is the car analogy.

Instruction set: Gas pedal on the right, brake on the left, shifter in your right hand, turn signal to the left of the wheel, using KPH for the speedo. Uses unleaded.

Architecture: Flat 4 engine, turbocharged with 32-valve dual cam. Bembro brakes and extra stiff swaybar. Pirelli tyres.


Car analogies win.
 
Last edited:
+12 on the car analogies from this thread! 🙂 Thanks for the informative analogy explanation of cpu arch. and ISA on this thread to everyone who contributed. Its really useful of a technique for my studies in school.
 
It should be mentioned that there's also a difference between micro architecture and organization.

(micro)architecture: "we have two ALUs"

Organization: "the ALU has a Booth's multiplier."


Back to the car analogies. The instruction set (gas pedal) follows the architecture (flat 4 motor), which has a particular organization (gasoline engine, rather than diesel).

Hope this makes sense...
 
Status
Not open for further replies.
Back
Top