IT討論區(238) - 12月,休息!

771 回覆
0 Like 0 Dislike
2024-12-21 00:46:52
OOO
2024-12-21 01:02:41
3窿
2024-12-21 01:31:36
2024-12-21 01:46:16
2024-12-21 03:02:31
tg link?
2024-12-21 03:04:25
2024-12-21 08:35:50
2024-12-21 08:37:41
2024-12-21 08:44:04
2024-12-21 08:44:30
佢就好
2024-12-21 09:15:10
2024-12-21 09:44:58
2024-12-21 11:57:08
microcode engine loop. 一般CPU integer division 係variable number of cycle,段估都係loop黎。

舉例AMD Zen4,127頁。我估係一次loop4-5個bit。
https://www.agner.org/optimize/instruction_tables.pdf

floating 除數好似可以有reciprocal approximation,都係 loop但好似快啲
2024-12-21 12:03:27
肯定有loop 冇理由整個超大look up table浪費晒啲area
但有啲algo會有lookup table (as small helper function)去加速 例如SRT division
2024-12-21 12:10:40
啊但其實都可以harden做combinational circuit 都一樣可以variable number of cycle
2024-12-21 12:18:20
啊即係條link入面個pipeline 但手巴個focus係某啲case可以提早出pipeline 而唔係可以攝下一個division入stage
2024-12-21 15:51:07
2024-12-21 16:10:06
你就好
2024-12-21 17:42:19
2024-12-21 17:46:27
2024-12-21 20:10:10
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞