Michael Jørgensen
Michael Jørgensen
Interesting. I will think about it the next few days until our meeting next week.
Thank you Bernd for pointing out what I have missed: The goal to keep the complexity low. Fearure creep is a real "threat" to a project line this, and adding...
This is a tough call. First of all, I think we SHOULD adhere to SOME industry standard. What we have now is a proprietary bus, and that puts extra burden...
We can leave it in V1.8, that suits me fine. It's certainly not urgent.
I'm currently looking at the Wishbone standard. Here are some notes and thoughts. The wishbone protocol does offer possibility of high bandwidth, and supports pipelined accesses, see e.g. section 3.1.3.2...
Here is a nice [link](http://zipcpu.com/zipcpu/2017/11/07/wb-formal.html) describing how the wishbone protocol works.
I like @bernd-ulmann 's idea very much. Actually, I have seen a similar algorithm used in VHDL :-) I expect to implement it later today or tomorrow.
I've implemented both routines now. The only problem is that I've (so far) changed the semantics of `shr32` so that the X flag is undefined upon return. The reason is...
Ah, my last comment was not entirely correct. The real problem is that the RET instruction itself modifies the X flag (and N and Z), because it really is just...
One more thing: I just realized the C library has 32-bit shifts built-in. Look in e.g. `c/qnice/vclib/machines/qnice/libsrc/_llsl.c`.