Ads by TechWords

See your link here
Receive the latest technology news and information.
Hardware
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
Cloud Computing
View all newsletters




Privacy Policy
 

Inside a Microprocessor

October 8, 2001 12:00 PM ET

Computerworld - The processors in today's computers have grown tremendously in performance, capabilities and complexity over the past decade. Clock speed has skyrocketed, and size has dwindled, even as the number of transistors packed on them has soared. A processor from 1983 made do with 30,000 transistors, while some current CPUs have upwards of 40 million transistors.

Any computer program consists of many instructions for operating on data. A processor executes the program through four operating stages: fetch, decode, execute and retire (or complete).

The fetch stage reads a program's instructions and any needed data into the processor.

The decode stage determines the purpose of the instruction and passes it to the appropriate hardware element.

The execution stage is where that hardware element, now freshly fed with an instruction and data, carries out the instruction. This might be an add, bit-shift, floating-point multiply or vector operation.

The retire stage takes the results of the execution stage and places them into other processor registers or the computer's main memory. For example, the result of an add operation might be stored in memory for later use.

An important part of a microprocessor is its built-in clock, which determines the maximum speed at which other units can operate and helps synchronize related operations. Clock speed is measured in megahertz and, increasingly, gigahertz. Today's fastest commercial processors operate at 2 GHz, or 2 billion clock cycles per second. Some hobbyists speed it up (a practice called overclocking) to get more performance. However, this raises the chip's operating temperature considerably, often causing early failure.

Parts Is Parts

Processor circuitry is organized into separate logic elements - perhaps a dozen or more - called execution units. The execution units work in concert to implement the four operating stages. The capabilities of the execution units often overlap among the processing stages. The following are some of the common processor execution units:

• Arithmetic logic unit: Processes all arithmetic operations. Sometimes this unit is divided into subunits, one to handle all integer add and subtract instructions, and another for the computationally complex integer multiply and divide instructions.

• Floating-point unit (FPU): Deals with all floating-point (noninteger) operations. In earlier times, the FPU was an external coprocessor; today, it's integrated on-chip to speed up operations.

• Load/store unit: Manages the instructions that read or write to memory.

• Memory-management unit (MMU): Translates an application's addresses into physical memory addresses. This allows an operating system to map an application's code and data in different virtual address spaces, which lets the MMU offer memory-protection services.



Jump to comments

Hardware

Additional Resources

Xerox
By using solid ink technology only from Xerox, you could save up to 65% by printing color for the cost of black and white. Enter for a chance to WIN a PhaserTM 8860 network color printer!
Microsoft
Save time and mitigate security risk. Deploy it now.
Sybase
In this white paper, IDC analyzes the role of next-generation mobile enterprise platforms as organizations seek a more strategic deployment of mobile solutions.

Learn the important issues you must consider before starting your next mobility initiative. Get your mobility white paper from IDC now, compliments of Sybase.