3 ms·
> it's just as fast to write "load, add, store" in software Not really, since you then need an extra register, which in x86 would be a very expensive cross-cut
by jsnell 4y ago
> it's just as fast to write "load, add, store" in software
Not really, since you then need an extra register, which in x86 would be a very expensive cross-cutting change.
- NobodyNada 4y agoAnd that's why RISC processors expose more architectural registers than CISC processors. (A read-modify-write instruction on a CISC processor will still implicitly need a temporary physical register; RISC processors simply expose a larger set of logical registers since a lot of these implicit temporary registers become explicit.)