Minimal instruction set computer

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Generic 4-stage pipeline; the colored boxes represent instructions independent of each other
(Not to be confused with multiple instruction set computer, also abbreviated MISC, such as the HLH Orion or the OROCHI VLIW processor.)

Minimal Instruction Set Computer (MISC) is a processor architecture with a very small number of basic operations and corresponding opcodes. Such instruction sets are commonly stack-based rather than register-based to reduce the size of operand specifiers.

Such a stack machine architecture is inherently simpler since all instructions operate on the top-most stack entries.

As a result of the stack architecture is an overall smaller instruction set, a smaller and faster instruction decode unit with overall faster operation of individual instructions.

Separate from the stack definition of a MISC architecture, is the MISC architecture being defined with respect to the number of instructions supported.

  • Typically a Minimal Instruction Set Computer is viewed as having 32 or fewer instructions,[1][2][3] where NOP, RESET and CPUID type instructions are generally not counted by consensus due to their fundamental nature.
  • 32 instructions is viewed as the highest allowable number of instructions for a MISC, as 16 or 8 instructions are closer to what is meant by "Minimal Instructions".
  • A MISC CPU cannot have zero instructions as that is a zero instruction set computer.
  • A MISC CPU cannot have one instruction as that is a one instruction set computer[4]
  • The implemented CPU instructions should by default not support a wide set of inputs, so this typically means an 8-bit or 16-bit CPU.
  • If a CPU has an NX bit, it is more likely to be viewed as being CISC or RISC.
  • MISC chips typically don't have hardware memory protection of any kind unless there is an application specific reason to have the feature.
  • If a CPU has a microcode subsystem, that excludes it from being a MISC system.
  • The only addressing mode considered acceptable for a MISC CPU to have is LOAD-STORE, the same as for RISC CPUs.
  • MISC CPUs can typically have between 64 KB to 4 GB of accessible addressable memory—but most MISC designs are under 1 megabyte.

Also, the instruction pipelines of MISC as a rule tend to be very simple. Instruction pipelines, branch prediction, out-of-order execution, register renaming and speculative execution broadly exclude a CPU from being classified as a MISC architecture system.

History

Some of the first digital computers implemented with instruction sets were by modern definition Minimal Instruction Set computers.

Among these various computers, only ILLIAC and ORDVAC had compatible instruction sets.

Early stored-program computers

  • The IBM SSEC had the ability to treat instructions as data, and was publicly demonstrated on January 27, 1948. This ability was claimed in a US patent.[6] However it was partially electromechanical, not fully electronic. In practice, instructions were read from paper tape due to its limited memory.[7]
  • The Manchester SSEM (the Baby) was the first fully electronic computer to run a stored program. It ran a factoring program for 52 minutes on June 21, 1948, after running a simple division program and a program to show that two numbers were relatively prime.
  • The ENIAC was modified to run as a primitive read-only stored-program computer (using the Function Tables for program ROM) and was demonstrated as such on September 16, 1948, running a program by Adele Goldstine for von Neumann.
  • The BINAC ran some test programs in February, March, and April 1949, although was not completed until September 1949.
  • The Manchester Mark 1 developed from the SSEM project. An intermediate version of the Mark 1 was available to run programs in April 1949, but was not completed until October 1949.
  • The EDSAC ran its first program on May 6, 1949.
  • The EDVAC was delivered in August 1949, but it had problems that kept it from being put into regular operation until 1951.
  • The CSIR Mk I ran its first program in November 1949.
  • The SEAC was demonstrated in April 1950.
  • The Pilot ACE ran its first program on May 10, 1950 and was demonstrated in December 1950.
  • The SWAC was completed in July 1950.
  • The Whirlwind was completed in December 1950 and was in actual use in April 1951.
  • The first ERA Atlas (later the commercial ERA 1101/UNIVAC 1101) was installed in December 1950.

Design weaknesses

The disadvantage of an MISC is that instructions tend to have more sequential dependencies, reducing overall instruction-level parallelism.

MISC architectures have much in common with the Forth programming language and the Java Virtual Machine that are weak in providing full instruction-level parallelism.

Notable CPUs

Probably the most commercially successful MISC was the original INMOS transputer archecture that had no floating-point unit. However, many eight-bit microcontrollers (for embedded computer applications) fit into this category.

Each STEREO spacecraft includes two P24 MISC CPUs and two CPU24 MISC CPUs.[8][9]

See also

References

  1. Chen-hanson Ting and Charles H. Moore. "MuP21--A High Performance MISC Processor". 1995.
  2. Michael A. Baxter. "Minimal instruction set computer architecture and multiple instruction issue method". 1993.
  3. Richard Halverson, Jr. and Art Lew. "An FPGA-Based Minimal Instruction Set Computer". 1995. p. 23.
  4. Kong, J.H.; Ang, L.-M.; Seng, K.P. "Minimal Instruction Set AES Processor using Harvard Architecture". 2010. doi:10.1109/ICCSIT.2010.5564522
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found. Issued April 28, 1953.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. R. A. Mewaldt, C. M. S. Cohen, W. R. Cook, A. C. Cummings, et. al. "The Low-Energy Telescope (LET) and SEP Central Electronics for the STEREO Mission".
  9. C.T. Russell. "The STEREO Mission". 2008.

External links