Scalar processor: Difference between revisions

Content deleted Content added
m Classification: disambiguate
destub
 
(11 intermediate revisions by 8 users not shown)
Line 1:
{{Short description|Class of computer processors}}
{{refimprove|date=August 2012}}
'''Scalar processors''' representare a class of [[computer processor]]s. Athat scalar processor processesprocess only one data item at a time,. with typicalTypical data items beinginclude [[integer (computer science)|integer]]s orand [[floating point number]]s.<ref name="Ram 2001 p. 11">{{cite book | last=Ram | first=Badri | title=Advanced microprocessors and interfacing | publisher=Tata McGraw-Hill Pub. Co | publication-place=New Delhi | year=2001 | isbn=978-0-07-043448-6 | oclc=55946893 | page=11}}</ref>
 
== Classification ==
Line 7 ⟶ 8:
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.
 
== SuperscalerSuperscalar processor ==
A [[superscalar]] processor (such as the [[P5 (microarchitecture)|Intel P5]]), on the other hand, 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.<ref name="Ram 2001 p. 11" /> The [[Cortex-M7]], like many consumer [[Central processing unit|CPUs]] today, is a superscalar processor.<ref>{{cite web | title=Cortex-M7 | website=Arm Developer | publisher=Arm Limited | url=https://developer.arm.com/ip-products/processors/cortex-m/cortex-m7 | access-date=2021-07-03}}</ref>
 
== Scalar data type ==
Line 14 ⟶ 15:
 
Generally, all basic [[primitive data type]]s are considered scalar:
* The [[booleanBoolean data type]] (<code>bool</code>)
* Numeric types (<code>[[Integer (computer science)|int]]</code>, the [[floating point]] types <code>float</code> and <code>double</code>)
* Character types (<code>[[Character (computer science)#char|char]]</code> and <code>[[String (computer science)|string]]</code>)
Some programming languages also treat [[String (computer science)|strings]] as scalar types, while other languages treat strings as [[Array (data structure)|arrays]] or [[Object (computer science)|objects]].
 
==See also==
Line 29 ⟶ 31:
{{DEFAULTSORT:Scalar Processor}}
[[Category:Central processing unit]]
 
 
{{Compu-hardware-stub}}