The integer division algorithm of Intel's x86 processors

▼魔方 西西 提交于 2019-11-28 07:35:56

问题


Which integer division algorithm does Intel implement in their x86 processors?


回答1:


Intel has a paper, Improvements in the Intel® Core™2 Processor Family Architecture and Microarchitecture, in which they discuss a number of different division algorithms. The first paragraph:

The new Radix-16 floating-point divider with variable latency Radix-16 integer divide capability replaces the Merom Radix-4 floating point divide and Radix-2 square root and integer divide hardware. The preceding algorithm dated back to the Pentium® divide implementation.

So it looks like the Intel processors had the same integer divide (Radix-2) since the early Pentium days.

A Google search on radix 16 integer divide gives some very good information.



来源:https://stackoverflow.com/questions/8401194/the-integer-division-algorithm-of-intels-x86-processors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!