News for hackers. Stuff that matters.
Re:Apple’s new M1 Pro and M1 Max processors by tedunangst on Monday October 18, 2021 @05:08PM (#28911771)
Hyper threading has nothing to do with instruction decode. It's for hiding memory latency. The sparc T line is 8 way threaded.
Re:Apple’s new M1 Pro and M1 Max processors by monocasa on Monday October 18, 2021 @05:58PM (#28912325)
It's slightly more general than that, hiding inefficient use of functional units. A lot of times that's totally memory latency causing the inability to keep FUs fed like you say, but i've seen other reasons, like a wide but diverse set of FUs that have trouble applying to every workload.
Re:Apple’s new M1 Pro and M1 Max processors by mnw21cam on Tuesday October 19, 2021 @06:09AM (#28916542)
The classic reason quoted for SMT is to allow the functional units to be fully utilised when there is instruction-to-instruction dependencies - that is, the input of one instruction is the output from the previous instruction. Doing SMT allow you to create one large pool of functional units and share them between multiple threads, hopefully increasing the chances that they will be fully used.