“N”的确切含义是什么?位处理器 ? , 对飞思卡尔 arch 的澄清

发布于 2024-09-12 22:45:23 字数 505 浏览 1 评论 0原文

在阅读一本飞思卡尔处理器手册时,我在某个地方卡住了,其中指定它是一个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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

救赎№ 2024-09-19 22:45:23

您关心处理器寄存器宽度的主要原因之一是性能。一般来说,位数加倍会使处理器移动数据和计算的速率加倍。这就是为什么我们并不都使用 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.

幻梦 2024-09-19 22:45:23

首先,我没有明确的答案,但我猜测 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.

飞烟轻若梦 2024-09-19 22:45:23

请查看关于 32 位处理器 的维基百科条目:

在计算机体系结构中,32位
整数、内存地址或其他
数据单元最多是那些
32 位(4 个八位字节)宽。另外,32 位
CPU和ALU架构是那些
基于寄存器、地址
总线,或该大小的数据总线。
32 位也是一个术语
一代计算机,其中
32 位处理器是常态。

阅读并理解这篇文章 - 那么 N 的答案将是显而易见的。

Please check out the Wikipedia entry on 32-bit processors, from the entry:

In computer architecture, 32-bit
integers, memory addresses, or other
data units are those that are at most
32 bits (4 octets) wide. Also, 32-bit
CPU and ALU architectures are those
that are based on registers, address
buses, or data buses of that size.
32-bit is also a term given to a
generation of computers in which
32-bit processors were the norm.

Read and understand the article - then the answer for N will be obvious.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文