By: Moritz (better.delete@this.not.tell), February 21, 2020 9:32 am
Room: Moderated Discussions
hobold (hobold.delete@this.vectorizer.org) on February 21, 2020 7:33 am wrote:
> A number of embedded processors allow locking down (part of) their caches. So you can prime, say,
> the instruction cache with your small function, and then lock down that part of the cache. From then
> on, the function cannot be evicted from cache anymore. Calling it will always be a cache hit.
> Close enough?
Implementation wise very different, but with the same outcome.
I of course thought of a CPU that did not even have caches or complex instructions that could do a lot of work. It would also have been an optional, backwards compatible addition.
The argument that came to mind against it was that any CPU that could have profited would have been so tiny that even the smallest such explicit i-cache would have been a waste of expensive transistors.
> A number of embedded processors allow locking down (part of) their caches. So you can prime, say,
> the instruction cache with your small function, and then lock down that part of the cache. From then
> on, the function cannot be evicted from cache anymore. Calling it will always be a cache hit.
> Close enough?
Implementation wise very different, but with the same outcome.
I of course thought of a CPU that did not even have caches or complex instructions that could do a lot of work. It would also have been an optional, backwards compatible addition.
The argument that came to mind against it was that any CPU that could have profited would have been so tiny that even the smallest such explicit i-cache would have been a waste of expensive transistors.
Topic | Posted By | Date |
---|---|---|
Has there ever been a CPU with ... | Moritz | 2020/02/21 07:11 AM |
Has there ever been a CPU with ... | hobold | 2020/02/21 07:33 AM |
Has there ever been a CPU with ... | Adrian | 2020/02/21 09:10 AM |
Has there ever been a CPU with ... | Lyra Heartstrings | 2020/02/21 01:45 PM |
locked i-cache | Moritz | 2020/02/21 09:32 AM |
locked i-cache | Wilco | 2020/02/21 10:33 AM |
Has there ever been a CPU with ... | blaine | 2020/02/21 12:39 PM |
Has there ever been a CPU with ... | Gabriele Svelto | 2020/02/21 10:11 AM |
Atari Jaguar | incorrector | 2020/02/22 05:40 AM |
Super-FX & THX, all | Moritz | 2020/02/22 10:40 AM |
Has there ever been a CPU with ... | Tim McCaffrey | 2020/02/21 10:41 AM |
Instruction Buffers | Rob Thorpe | 2020/02/22 07:37 PM |
Instruction Buffers | Marcus | 2020/02/23 02:50 AM |
Instruction Buffers - Cray 1 | Björn R. Björnsson | 2020/02/23 09:40 AM |
Instruction Buffers - Cray 1 | Marcus | 2020/02/23 10:24 AM |
Instruction Buffers - Cray 1 | Björn R. Björnsson | 2020/02/23 11:25 AM |
Has there ever been a CPU with ... | Mark Roulo | 2020/02/21 11:57 AM |
before I-cache | Moritz | 2020/02/21 03:46 PM |
before I-cache | Mark Roulo | 2020/02/21 04:03 PM |
before I-cache | rwessel | 2020/02/22 12:13 PM |
before I-cache | anonymou5 | 2020/02/22 02:49 PM |
microcode RAM capacity (before I-cache) | hobold | 2020/02/23 02:33 AM |
Has there ever been a CPU with ... | anonymous2 | 2020/02/21 12:21 PM |
Has there ever been a CPU with ... | Jose | 2020/02/21 02:43 PM |
Has there ever been a CPU with ... | Peter Greenhalgh | 2020/02/23 03:20 AM |
Has there ever been a CPU with ... | gallier2 | 2020/02/24 12:28 AM |
Has there ever been a CPU with ... | Etienne | 2020/02/24 05:25 AM |