alr thanks for the info
Comment on Intel CPU Temperature Monitoring Driver For Linux Now Unmaintained After Layoffs
Mihies@programming.dev 2 months agoRISC is perfectly good for desktops as demonstrated by Apple. Microcontroller chips are suitable for light desktop tasks, they are nowhere near modern x64 CPUs. For now.
Mwa@thelemmy.club 2 months ago
Eknz@lemmy.eknz.org 2 months ago
It doesn’t really make much of a difference on modern CPUs as instructions are broken down into RISC-like operands even on CISC CPUs before being processed to make pipelining more effective.
LH0ezVT@sh.itjust.works 2 months ago
This is the correct answer. Modern x86 (x64) is a RISC CPU with a decoder that can decode a cisc isa.
Mihies@programming.dev 2 months ago
From what I remember one of problems with CISC is that it has variable length instructions and these are harder to predict since you have to analyze all instructions up to the current one wheres for RISC you exactly know where is each instruction in memory/cache.
The_Decryptor@aussie.zone 2 months ago
RISC systems also have variable length instructions, they’re just a bit stricter with the implementation that alleviates a lot of the issues (ARM instructions are always either 16-bits or 32-bits, while RISC-V is always a multiple of 16-bits and self-describing, similar to UTF-8)
Mihies@programming.dev 2 months ago
I was thinking about Apple’s M CPUs that have fixed length and they benefit out of it. It was explained on Anandtech years ago, here is a brief paragraph on the topic. Sadly Anandtech article(s) isn’t available anymore.
Eknz@lemmy.eknz.org 2 months ago
This isn’t completely true. Even a basic instruction like ADD has multiple versions once decoded depending on the memory used. For example, if the memory being operated on is in RAM, then the ADD needs to be decoded to include a fetch operand before it can be used.
Mihies@programming.dev 2 months ago
Yes, but RISC knows the exact position of that instruction in cache and how many instructions fit the instructions cache or pipeline. Like you said, it doesn’t help with data cache.
Kazumara@discuss.tchncs.de 2 months ago
Yeah if you build a RISC processor directly you can just save the area needed for instruction decode.