kuznia-rdzeni / coreblocks

RISC-V out-of-order core for education and research purposes
https://kuznia-rdzeni.github.io/coreblocks/
BSD 3-Clause "New" or "Revised" License
36 stars 14 forks source link

Support for UnionLayout in assign and other changes #661

Closed tilk closed 5 months ago

tilk commented 5 months ago

I decided to abandon the automatic union field selection idea and implemented an explicit form of assignment. The behavior implemented is:

This should allow simple usage of unions in method calls and method return values.

Additional changes are: