Re: [問題] 關於作業系統的bit數目

看板CSSE (電腦科學及軟體工程)作者 ( )時間18年前 (2007/01/24 21:49), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/9 (看更多)
※ 引述《ji3g45j (pig)》之銘言: : 64bit CPU 是指他的data bus是64條線,每一次的資料搬移就是64bit : 所以單位時間內64 bitCPU所能處理的資料能夠比32bit多2倍 : 但這也得要OS及compile針對64bitCPU做最佳化才會有,因此64bit CPU在資料 : 移動上面是會變快,但整體速度上來說不一定會快2倍,因為不是每次搬移 : 都可以湊滿64bit,有可能只要處理8bit或32bit而已。 : 還有64bit在數學運算上可以有更大的範圍 一個簡單的狀況是, 因為原本的 data type 就是 64-bit, 而在 32-bit 環境需要 2 - 3 道指令才能完成, 在 64-bit 環境只要一道就能完成, 這種狀況下處理速度就會變快, 這部分不需要 compiler 特別做 optimization。 「可能」需要特別做的是 SIMD 最佳化, 譬如多媒體運算通常需要對 8-bit data array 做處理, 原本 32-bit register 只能同時放入 4 筆, 而 64-bit register 可以同時放入 8 筆, 不過這項技術其實也已經相當一般化, 實現的困難度並不會太高。 -- Name: Tseng, Ling-hua E-mail Address: uranus@it.muds.net School: National Tsing Hua University Department: Computer Science Interesting: C++, Compiler, PL/PD, OS, VM, Large-scale software design Researching: Software pipelining for VLIW architectures Homepage: https://it.muds.net/~uranus -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.230.220.211
文章代碼(AID): #15jsG6go (CSSE)
討論串 (同標題文章)
文章代碼(AID): #15jsG6go (CSSE)