- reliably set vtype.vill
Re: reliably set vtype.vill
toggle quoted messageShow quoted text
As usual, Krste is completely right. This was a matter of OpenOCD not doing what I thought it was doing. Thanks for your help.
On Mon, Nov 1, 2021 at 10:32 AM Krste Asanovic <krste@...
Put that value in a register and use the vsetvl instruction which takes a register argument for vtype.
On Nov 1, 2021, at 9:46 AM, Tim Newsome <tim@...
I'm trying to set vill, and I can't think of a reliable way to do it.
This comes up when OpenOCD (a debugger) connects to a RV32 target where vtype contains (for instance) 0x80000000. The user asks to read the vector registers, and the debugger wants to use vtype so it can shift the register. When done, it wants to restore the original value so that there is no observable impact to the debugging.
Is there a way that I can write 0x80000000 to vtype?
Join email@example.com to automatically receive all group messages.