From Surf Wiki (app.surf) — the open knowledge base
Scalar processor
Class of computer processors
Class of computer processors
Scalar processors are a class of computer processors that process only one data item at a time. Typical data items include integers and floating point numbers.
Classification
A scalar processor is classified as a single instruction, single data (SISD) processor in Flynn's taxonomy. The Intel 486 is an example of a scalar processor. It is to be contrasted with a vector processor where a single instruction operates simultaneously on multiple data items (and thus is referred to as a single instruction, multiple data (SIMD) processor). The difference is analogous to the difference between scalar and vector arithmetic.
The term scalar in computing dates to the 1970 and 1980s when vector processors were first introduced. It was originally used to distinguish the older designs from the new vector processors.
Superscalar processor
A superscalar processor (such as the Intel P5) may execute more than one instruction during a clock cycle by simultaneously dispatching multiple instructions to redundant functional units on the processor. Each functional unit is not a separate CPU core but an execution resource within a single CPU such as an arithmetic logic unit, a bit shifter, or a multiplier. The Cortex-M7, like many consumer CPUs today, is a superscalar processor.
Scalar data type
A scalar data type, or just scalar, is any non-composite value.
Generally, all basic primitive data types are considered scalar:
- The Boolean data type (
bool) - Numeric types (
int, the floating point typesfloatanddouble) - Character types (
char) Some programming languages also treat strings as scalar types, while other languages treat strings as arrays or objects.
References
References
- Ram, Badri. (2001). "Advanced microprocessors and interfacing". Tata McGraw-Hill Pub. Co.
- Patterson, David. (2012). "Computer organization and design: the hardware/software interface". Morgan Kaufmann.
- "Cortex-M7". Arm Limited.
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Scalar processor — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report