+ -
当前位置:首页 → 问答吧 → 有128位的linux吗?

有128位的linux吗?

时间:2009-10-09

来源:互联网

看到新闻说微软开发128位的win8,跟风问下。

作者: 难免有错   发布时间: 2009-10-09

这个问题让我有点崩溃!
我想楼主的问题应该是有支持128位指令集的电脑么?
还是留给三楼的回答吧!

作者: conanx   发布时间: 2009-10-09

我觉得要是GCC支持,应该不难。

不过越大的位数,寻址速度越慢,现在完全达不到这个要求。64位支持4T内存,硬盘还没达到这个等级呢。

PS: 我看评测说intel早期酷睿在32位的时候能同时执行两条32位指令,64位的时候不行,因为那时候用64位系统性能会下降。但是貌似现在又可以了,是不是某种程度上已经是128位的了

作者: jarryson   发布时间: 2009-10-09

只是传闻而已,128位的cpu已经有了,128位操作系统应该也能搞出来。
不过,就是不知道能干什么。

作者: tony2u   发布时间: 2009-10-09

引用:
There are currently no mainstream general-purpose processors built to operate on 128-bit integers or addresses, though a number of processors do operate on 128-bit data. System/370, made by IBM, could be considered the first rudimentary 128-bit computer as it used 128-bit floating point registers. Most modern CPUs such as the Pentium and PowerPC have 128-bit vector registers used to store several smaller numbers, such as four 32-bit floating-point numbers. A single instruction can operate on all these values in parallel (SIMD). They are 128-bit processors in the sense that they have 128-bit registers, but they do not operate on individual numbers that are 128 binary digits in length.
多查查资料,哪来的真正意义上的128位CPU?目前只是有些处理器能处理部分128位的数据罢了。

而128位的意义,现在看来也就是更新换代——就像64位相对于32位的意义。

至于,Linux内核,还未听说支持128位,连计划都没有;微软那也只是说说吧。毕竟机器都没出来,怎么去设计?

作者: coderoar   发布时间: 2009-10-09

引用:
作者: coderoar
多查查资料,哪来的真正意义上的128位CPU?目前只是有些处理器能处理部分128位的数据罢了。
而128位的意义,现在看来也就是更新换代——就像64位相对于32位的意义。
至于,Linux内核,还未听说支持128位,连计划都没有;微软那也只是说说吧。毕竟机器都没出来,怎么去设计?
并不完全是这样的。

x86_64 架构,使用 64 位的指针, 32 位的整数,128 位的浮点。这个配置现在看来很多年内都不会有太大的必要升级。因为太大的处理实际会造成更低的效率,只有合适才是最好的。

由于不论是指针还是整数,都没有任何必要超过 64 位,而浮点处理器目前已经是128位了,因此全 128 位处理器在桌面计算机领域几乎没有什么意义。这跟 32 位转64位还是完全不同的。毕竟 32 位的地址线在当今很多机器上已经到了瓶颈。

作者: poet   发布时间: 2009-10-09

引用:
作者: poet
x86_64 架构,使用 64 位的指针, 32 位的整数,128 位的浮点。
據我所知,目前常見64位架構的CPU的浮點寄存器都是64位的,例如,酷睿2(x86_64)和64位的安騰(IA64),而且它們的整數寄存器也都是64位的。如果有你說的那種CPU,請舉例說明。

此外,目前的gcc在64位架構的長整型、無符號長整型和雙精度浮點型也都是64位。

至於PS3的CPU是定製的64位Cell處理器,由一個3.2G的基於PowerPC的"Power Processing Element"(PPE)和八個Synergistic Processing Elements(SPEs)構成。PPE含有64位的通用寄存器,64位浮點寄存器和128位的Altivec寄存器,SPE內只有128位寄存器。

---
引用:
PS3 System Unit - Wikipedia
Cell (microprocessor) - Wikipedia
IA-64 - Wikipedia
X86-64 - Wikipedia
64bit - Wikipedia

作者: coderoar   发布时间: 2009-10-09

PS2的U就是128位的,而且也早就有官方的linux移植版本了~~

作者: oyasmi   发布时间: 2009-10-09

引用:
作者: oyasmi
PS2的U就是128位的,而且也早就有官方的linux移植版本了~~
PS2的CPU跟PS3是一樣的架構,是索尼、東芝和IBM共同開發的Cell處理器,稱為Emotion Engine

作者: coderoar   发布时间: 2009-10-09

怎么这么多人BLA BLA这么久, 都没人给"何为128位CPU"下个明确的定义? 连这都没定义清楚, 讨论这么多有什么意义?

作者: kevinlei   发布时间: 2009-10-09

引用:
作者: kevinlei
怎麼這麼多人BLA BLA這麼久, 都沒人給"何為128位CPU"下個明確的定義? 連這都沒定義清楚, 討論這麼多有什麼意義?
這還需要說明嗎?
目前的32/64bit都是以暫存器寬度來定義

作者: yanzilme   发布时间: 2009-10-09

引用:
作者: yanzilme
這還需要說明嗎?
目前的32/64bit都是以暫存器寬度來定義
CPU里这么多寄存器, 很多位宽都不一样, 以哪个寄存器为准?

作者: kevinlei   发布时间: 2009-10-09

引用:
In computer architecture, 64-bit integers, memory addresses, or other data units are those that are at most 64 bits (8 octets) wide. Also, 64-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size.
就是說,64位CPU的寄存器、地址總線或數據總線的位寬是64位。沒有太準確的定義,但是像通用寄存器、浮點寄存器和地址寄存器必須是64位的。

作者: coderoar   发布时间: 2009-10-09

引用:
作者: kevinlei
CPU里这么多寄存器, 很多位宽都不一样, 以哪个寄存器为准?
我记得好像有这么个定义,说是:在一个指令周期中CPU能处理的指令的最大长度的位数。不知道对不对。
嗯,又百度了一下,比较准确的说法应该是CPU的“字长”

作者: 糊涂   发布时间: 2009-10-09

ps2是128位,再后来现在随着cpu技术提高结构复杂特别是多核技术的发展,处理器位数已经
不代表什么不能用来恒量性能了,比如ps3的cpu是64位核心但它的性能远远超过ps2的128位的cpu,现在讨论位数已经没多大意义了。
感兴趣的可以参考:
http://zh.wikipedia.org/zh-cn/PlayStation_2
http://zh.wikipedia.org/zh-cn/PlayStation_3

作者: tony2u   发布时间: 2009-10-11

引用:
作者: tony2u
ps2是128位,再后来现在随着cpu技术提高结构复杂特别是多核技术的发展,处理器位数已经
不代表什么不能用来恒量性能了,比如ps3的cpu是64位核心但它的性能远远超过ps2的128位的cpu,现在讨论位数已经没多大意义了。
感兴趣的可以参考:
http://zh.wikipedia.org/zh-cn/PlayStation_2
http://zh.wikipedia.org/zh-cn/PlayStation_3
中文資料還是少看為妙。
http://en.wikipedia.org/wiki/PlayStation_2

作者: coderoar   发布时间: 2009-10-11

引用:
Emotion Engine(エモーションエンジン)はソニー・コンピュータエンタテインメント(SCEI)と東芝が共同開発し、プレイステーション2に搭載された128bit CPUである。
http://ja.wikipedia.org/wiki/Emotion_Engine

Emotion Engine是SCEI与东芝共同开发,搭载于ps2的128位CPU

ps2的配置:
http://ja.wikipedia.org/wiki/%E3%83%...BB.95.E6.A7.98

作者: dkeehl   发布时间: 2009-10-11

CPU core

The CPU core is a two-way superscalar in-order RISC processor. It implements the MIPS-III instruction set architecture (ISA) and much of MIPS-IV in addition to a custom 128-bit single instruction multiple data (SIMD) instruction set developed by Sony. The custom instruction set consists of 107 instructions for operating on four 32-bit, eight 16-bit or sixteen 8-bit integers simultaneously. Instructions defined include: add, subtract, multiply, divide, min/max, shift, logical, leading-zero count, 128-bit load/store and 256-bit to 128-bit funnel shift in addition to some not described by Sony for competitive reasons.

The MIPS-based core consists of two arithmetic logic units (ALUs) and a floating point unit (FPU). The integer units are 64-bit, but the FPU was single-precision, or 32-bit. The custom instruction set was implemented by grouping the two 64-bit integer units. Both the integer and floating-point pipelines are both six stages long. To support the custom instruction set, the integer registers are 128 bits wide.

http://en.wikipedia.org/wiki/Emotion_Engine

可以认为EMOTION_ENGINE是128位CPU了. 至少从程序员角度来看, 它具有128bit的通用寄存器, 128位的ALU, 128位的load/store指令.

但实际上EE的128位ALU是由两个64位ALU组成的, 当使用64位指令集的时候可以分开来在两条流水线中用的.

作者: kevinlei   发布时间: 2009-10-11

中文和日文的維基應該都是根據廣告來的,而且描述太少,也沒有任何解釋。

引用:
To support the custom instruction set, the integer registers are 128 bits wide.
有128位寄存器!=128位CPU。而且128位整數寄存器並不是通用的,只是用來完成SIMD指令。

引用:
The CPU core is a two-way superscalar in-order RISC processor. It implements the MIPS-III instruction set architecture (ISA) and much of MIPS-IV in addition to a custom 128-bit single instruction multiple data (SIMD) instruction set developed by Sony.
它本質上是完整支持MIPS-III、部分支持MIPS-IV並帶有定製的SIMD指令集的MIPS64架構CPU,它的很多關鍵操作還是通過MIPS指令來完成的。

SIMD(單指令多數據)的作用是將多條指令的任務并行執行,只是起到一個加速的作用,常用於多媒體數據處理。

PC上的SIMD指令集有MMX、SSE、SSE2、SSE3、SSSE3和3DNow!等等,支持這些指令集的CPU,在處理視頻音頻數據時在軟件的配合下,要快很多。

作者: coderoar   发布时间: 2009-10-12

说简单点,一般无特殊用途的常用的寄存器如果达到32位,就称为32位的CPU。

让我想起了,哈佛结构和冯诺一曼结构的区别,至今还是搞不清楚。

作者: CrazyPandar   发布时间: 2009-10-13