I think I can save 8 instructions
TonyB
Posts: 73
in Propeller 2
All instructions same length and same execution time as now.
Would anyone like more info?
Would anyone like more info?
Comments
Does 'save 8 instructions' mean the opcode map reduces, or opcodes get more efficient, or ?
Is the any logic-cost downside to this 'save 8 instructions' ?
1 bit of encoding would change in 16 existing instructions.
Probably 8 new instruction proposals...
Okay, so how do we get 8 more instructions?
That breaks things a lot.
Split encoding but 8 new instructions gained.
Low complexity there matters.
When the V9 FPGA image was released with smartpins my nice little Parallax P123-A9 board (with its huge Cyclone V FPGA) had all 64 smartpins available.
Now at V18a I have 14!
A bit scary....
That would free up a lot of space, all right. It really wouldn't be that much to make such a change, but the bigger problem is that we probably don't have the logic budget to make good use of all that space. We are pretty heavy on logic, as it is. At this point, less disruption is probably best. This line of thinking is important for the future, though.
a) run as fast as, or faster than, the current one ?
b) have no more logic consumed?
It is not a bad idea to have reserved opcode space, even if on this version, no logic is attached.
Other MCUs have done that, and then future versions can keep binary compatible, but super-set.
Personally, I'm feeling good about the tweaks to get SPIN, C and language performance support in there.
It's a win, designing together like that. I feel we will have a no B.S. SPIN, lean, mean, fast. C and friends lining up the same way. Worth it.
I suppose there is always another niche seriously improved by an instruction. But, we do have 16 COGS, and all of those are x16 cost per logic unit too.
Because of that, it's really hard to say worth it outside that scope now.
And none of that is about the ideas. It's about moving to actualize this thing. We need to.
We all probably have a list of niche instructions we would like but at last count we have 320+ instructions.
I'm excited about the new SPIN tweaks but have fingers crossed that FPGA image V19 is the FINAL release.
This change would add logic to the instruction decoding, but not that much. It probably wouldn't impact Fmax timing.
I don't want to do it, though, because it adds another ripple into the architecture and will make the tools more complex, given where they probably are, due to the long-standing 9-bit S field.
Yes, this is a sobering "creepage metric" from ozpropdev ....
I wonder what the final RAM allowance will be ? 512k was looking limiting, what about 128k ?