(10-09-2019, 10:47 PM)Vega Wrote: Is this close to what needs to be done? Or is this overkill?
I actually haven't tried this myself, looking in the Broadway manual it says to use these instructions (so your extra sync probably isn't necessary):
dcbst 0, r4
sync
icbi 0, r4
isync
The only real use case I see for it is backing up floats to the stack in fewer lines, in case you want to back up like ten floats for whatever reason.
Basically, this process is necessary because the instruction cache on Broadway isn't cache coherent (unlike the data cache which is)