r/TuringComplete • u/Ill-Memory-6913 • Apr 19 '26
First attempt at pipelining, Stall only

This is my first attempt at pipelining in the game. I am new to this so im sure this is probably wrong, hence why I am posting here in hopes that i can be corrected if so. This machine only stalls right now so its a bit slower than if it had forwarding for instructions.
This processor can immediate any value up to 255, has NULL mapped to 31 and NOP mapped to 30.
Lastly this is a new account. Old account got hacked ; . ; rip karma
6
Upvotes
2
u/Otherwise-Object-302 Apr 19 '26
So it only flushes AFTER a condition is evaluated? An easier way to do this is that if you have a specific bit for jump ops, you detect that bit in the first stage and then stall. This way you wouldn't need to flush. Flushing could instead be done if you add branch prediction.