[Cryptography] Does RISC V solve Spectre ?

Henry Baker hbaker1 at pipeline.com
Fri Mar 23 21:05:46 EDT 2018


At 04:19 PM 3/23/2018, Ray Dillinger wrote:
>From: Ray Dillinger <bear at sonic.net>
>Shouldn't all of that stuff be in the compilers, where it can be done
>ahead of time and without occupying silicon nanoacres, and without
>converting watts of electricity into heat during runtime?
>
>Speculative caching is strictly less efficient than a compiler-generated
>instruction that says "precache xxxxx to yyyyy now" getting executed
>well before needing the data.

Great idea.

Let's see how well it works in practise.

precache xxxxx to yyyyy now.
<instruction 1>
<instruction 2>
<instruction 3>
...
<instruction 197>
<instruction 198>
<instruction 199>
# stuff finally shows up at yyyyy in the cache at this point in time
# I just received this $$$ box from Amazon that I ordered 5 months ago.
# I can't remember what I was doing at the time, or why I ordered it.
# Well, gotta go now, so throw it in the trash or give it away.



More information about the cryptography mailing list