scarv / xcrypto

XCrypto: a cryptographic ISE for RISC-V
MIT License
91 stars 10 forks source link

Re-encode the multi-destination register instructions. #74

Open ben-marshall opened 5 years ago

ben-marshall commented 5 years ago

The current encoding of the multi-precision and xc.mror instructions is very wasteful.

Current usage patterns are:

Most of the time, a source and a destination register (or two) are the same.

Suggestions:

For xc.mror: