cnlohr / rv003usb

CH32V003 RISC-V Pure Software USB Controller
MIT License
436 stars 43 forks source link

CH32V003 cycle information #26

Open cduk opened 11 months ago

cduk commented 11 months ago

Do you have a source of information for how many cycles different instructions take?

cnlohr commented 11 months ago

I've passed the request to Macyler. @duk-37 do you have any input?

cnlohr commented 11 months ago

I've also updated a note on the main readme. https://github.com/cnlohr/ch32v003fun/commit/c788f9ae0a0d7c195af5a7441d3c97522470b247

duk-37 commented 11 months ago

Might be a good idea to go into more detail about the exceptions (branches, loads/stores). I don't remember the exact numbers unfortunately.