CPU Buying Guide


Tracing an instruction

Here's how a CPU does its thing: the instruction pointer directs the instruction fetch to a spot in memory that holds an instruction. The fetch grabs the instruction and hands it to the instruction decoder, which examines the instruction and determines what steps are necessary to accomplish that instruction. (An instruction can comprise numerous steps that need to be accomplished in a specific order.)

The ALU then performs the work the instruction calls for: it adds, subtracts, or otherwise manipulates the data. After the CPU interprets and performs an instruction, the control unit tells the fetch to grab the next instruction in memory.

This process continues -- instruction after instruction, at a dizzying pace -- to create the results you see on your monitor.

Both of the major CPU manufacturers, AMD and Intel, have introduced proprietary technologies designed to optimise efficiency of CPUs at particular tasks and with particular software. It's not strictly necessary to understand where each and every bit that passes through the CPU goes in order to make an informed CPU buying decision, but it is important to understand the basics of each technological innovation in order to properly evaluate CPU performance.

To improve calculation performance, chip makers placed another arithmetic logic unit in the CPU. Theoretically, this meant twice as much processing could be done at once. Using multiple ALUs is like having two people lay a kitchen floor instead of one: the job gets finished more quickly.

In addition to multiple ALUs, Intel integrated the floating point unit (FPU) into the CPU. The FPU handles extremely large and extremely small numbers (those with many decimal places). While the FPU handles those types of calculations, the ALU is free to do something else at the same time, further enhancing performance.

AMD and Intel also sped up instruction processing by pipelining the instructions, or running them nearly parallel to each other. The execution of an instruction requires many separate steps -- fetching and decoding an instruction, for example. Originally the CPU had to complete an entire instruction before beginning the next one. Now, discrete circuits handle the separate steps. Once an instruction has moved from the first step to the second step, the transistors that performed the first step are free to start working on the next instruction, therefore speeding up the process. It's like climbing stairs: as soon as your feet leave a stair, the person behind you can use it.

Other additions that enhance performance include branch prediction (guessing which jump the program is likely to take); speculative execution, executing the predicted branch ahead of time; and out-of-order completion, the ability to complete a series of instructions out of a program's normal order.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

PC World Staff

PC World
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?