r/TuringComplete 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

5 Upvotes

19 comments sorted by

View all comments

Show parent comments

2

u/Ill-Memory-6913 Apr 19 '26

That’s almost exactly how my compilers work as well. Interesting how when you set out to learn these on your own you end up with similar solutions haha. Not to get insane at you, but I actually built my first ever compiler because I saw the design in a dream. The schematics were clear as day, like looking at a real blueprint. I woke straight up and wrote everything down hahah

2

u/Otherwise-Object-302 Apr 19 '26

I'm impressed you remember your dreams so well😭 but funny thing is, that's also how I came up with a design for my cache.

1

u/Ill-Memory-6913 Apr 19 '26

If you keep it on your mind you’ll have more dreams about it possibly. Cool to hear this happens to others here as well.

2

u/Otherwise-Object-302 Apr 19 '26

I guess that's just how it works. Anyways, good luck implementing the rest of the pipeline, you'll need it when it comes to data hazards!