Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

General • Re: PIO feature request: load 32bit values from instruction memory

$
0
0
I do not see why you are not using the FIFO to precompute the values.

Code:

pull blockmov x, osrpull blockmov y, osr
Yup, I could have done that.

Originally I had attempted to initialize the values on demand at runtime, but IIRC the timing was problematic, so I refactored and went with the upfront initialization + faster runtime stash/restore strategy. At that point it worked, was good enough, and I had no need for further instruction count reductions, so I didn't pursue the more complicated route of precomputing and injecting the values via FIFO.

Statistics: Posted by steffenyount — Fri Dec 20, 2024 5:27 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles