“N”的确切含义是什么?位处理器 ? , 对飞思卡尔 arch 的澄清
在阅读一本飞思卡尔处理器手册时,我在某个地方卡住了,其中指定它是一个32位处理器。
我可以知道这背后的确切含义和逻辑吗?
更新:
它是否具体指定其 ALU 宽度或其地址宽度或其寄存器宽度,或者它们全部一起都是 N 位。
更新:
希望您听说过飞思卡尔处理器。我刚刚浏览了他们的网站,其中描述了他们最新的基于 Starcore 的处理器之一,称为 SC3850,是一款 16 位处理器。据我所知,它有32位程序计数器,包括ALU,以及40位寄存器宽度和2x64位地址总线宽度。 SC3850还可以处理32位或64位的SIMD(2)指令。
有关更多详细信息,请访问 此链接
While reading one Freescale processor manual I stuck somewhere, which specifies that it is a 32-bit processor.
May I know the exact meaning and logic behind that?
Update:
Does it specify its ALU width or its address width or its register width specifically or all of them together is N-bit each.
Update:
Hope you have heard of Freescale processors. I just came across their site which describes one of their latest Starcore-based processor known as SC3850 as a 16-bit processor. As far as I know, it has 32 bit program counters, including ALU, and 40-bit register width and 2x64 bit address bus width. Also the SC3850 can handle SIMD(2) instructions which are of 32 bit or 64 bit.
For more details please go through this link
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您关心处理器寄存器宽度的主要原因之一是性能。一般来说,位数加倍会使处理器移动数据和计算的速率加倍。这就是为什么我们并不都使用 8 位处理器。
另一个主要原因是地址空间。 16 位程序计数器将地址空间限制为 64k,而 32 位计数器将地址空间限制为 4 GB。如果所有地址线都存在,新的 64 位处理器可以支持 17,179,869,184 GB 的内存。
One of the major reasons you would care about the register width of the processor is performance. Generally doubling the number of bits doubles the rate at which a processor can move data around, and compute. This is why we're not all using 8 bit processors.
The other major reason is address space. A 16 bit program counter limits you to 64k of address space, and a 32 bit counter limits you to 4 gigabytes. The new 64 bit processors make it possible, if all the address lines are present, to support 17,179,869,184 gigabytes of memory.
首先,我没有明确的答案,但我猜测 8 是 2 的幂,是一个重要因素。 2 的幂还意味着可以通过将 8 位分成组来执行某些优化,这也意味着查找表可以用于某些操作。过去,8 位在处理普通的旧 ASCII 字符时也是完美的大小。我可以想象,使用 5 位字节并在内存中编码一串 ASCII 字符将是一件痛苦的事情。
Firstly i dont have a definitive answer but i would guess that 8 being a power of 2, is an important factor. Being a power of 2 also means that certain optimisations may be performed by dividing the 8 bits into groups which also means lookup tables can be used for certain operations. 8 bits in the past was also the perfect size when dealing wiht plain old ascii characters. I can imagine that using 5 bit bytes and encoding a string of ascii characters across memory would be a pain.
请查看关于 32 位处理器 的维基百科条目:
阅读并理解这篇文章 - 那么
N
的答案将是显而易见的。Please check out the Wikipedia entry on 32-bit processors, from the entry:
Read and understand the article - then the answer for
N
will be obvious.