| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43233143
该黑客新闻线程讨论了奔腾的专用电路,用于乘以三个,如一篇文章所强调。 该电路使用Radix-8展位乘数,除X3因子外,它简化了乘法。 尽管转变和增加可以实现这一目标,但它认为它太慢了,因此特殊的电路可以处理它。评论者辩论历史背景,将其与较旧的处理器和现代技术进行比较。 一张海报使用位移位和增加对固定时间划分进行了有趣的观察。有人指出,现代CPU经常使用大量的管道加法器阵列进行单周期乘法,有可能结合展位乘数的变体。其他人则辩论摩尔定律的相关性以及软件膨胀对感知性能提高的影响。关于将晶体管缩放到第三维以及量子计算的有用性的讨论也有一个讨论。对话涵盖了历史环境以及处理器设计,贸易区域,性能和功率效率的持续发展。
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Start by observing that
1/3 - 1/2 = 2/6 - 3/6
or
1/3 = 1/2 - 1/2 (1/3)
Substitute equation above into RHS an infinite number of times and find
1/3 = -(-1/2)^N for N in 1..inf
You can do this with arbitrary pairs powers of 2 and 3 (also other bases).
The implication is that you can fairly easily build a fixed time divide-by-constant circuit as out of nothing but adders and subtractors for values that are close to a power of two.
reply