News for hackers. Stuff that matters.
Re:ARM or x86? ISA Doesn't Matter by slashdave on Saturday August 31, 2024 @08:53PM (#41413279)
Isn't it kind of obvious that the instruction set itself cannot directly impact performance, since operations are just single clock cycles? I assume the issue is more about the difficulties of implementation, in particular how x86 has a lot of complicated archaic features and corner cases that just absorbs space on silicon, not to mention engineering effort. Apple, being vertically integrated, is free to toss features at will.
Re:ARM or x86? ISA Doesn't Matter by saagarjha on Saturday August 31, 2024 @09:01PM (#41413322)
This is a pretty simplistic view of how processors execute instructions. They reorder, merge, and speculate execution. Most instructions do not take a single cycle to complete, often they take less or more (and even this depends on how you look at it, since they can be less if you overlap them and more if you look at latency). While this doesn’t mean ISA matters as much as people might think how CPUs work is also more complicated than people might think.
Re:ARM or x86? ISA Doesn't Matter by tiberious726 on Saturday August 31, 2024 @10:16PM (#41413673)
What synchronous processor can complete an instruction in anything other than a positive integer multiple of its clock?
Re:ARM or x86? ISA Doesn't Matter by slashdave on Sunday September 01, 2024 @01:56AM (#41414649)
Independent operations can be performed in parallel, with an effective throughput of a fraction of a clock. However, this is not something that depends on instruction set.
Re:ARM or x86? ISA Doesn't Matter by crest on Saturday August 31, 2024 @09:31PM (#41413480)
The ISA can massively impact performance on relevant real-world workloads, but the divide isn't along the mythical RISC vs. CISC divide. Take H.264 encoding as a contrived example and try it with different x86 ISA levels (e.g. no SIMD vs. SSE2 vs. SSE4.2 vs. AVX256 vs. AVX-512 on the same Zen 5 desktop CPU. You can't just build a 32-wide OoO core and have it run at a useful clock speed.
Re:ARM or x86? ISA Doesn't Matter by slashdave on Saturday August 31, 2024 @09:40PM (#41413515)
Even if you ignore specialized vector operations, the additional registers are a huge boost in the updated x86 architectures. Not to mention memory pipelining in the cache. But none of this is RISC vs CISC, really.