[Libre-soc-isa] [Bug 529] scheme for supporting 16/48-bit instructions on PowerPC LE with full backward compatibility

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Nov 13 00:20:22 GMT 2020


https://bugs.libre-soc.org/show_bug.cgi?id=529

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i updated the wiki page.

what happens with these 3 instructions?

* 1 16 bit
* 2 32 bit
* 3 32 bit

byte 0    1    2    3
     2 HI32    1 16
     3 HI32    2 LO32
     ...       3 LO32

this would be reordered:

1 16 | 2 HI32 LO32 | 3 HI32 LO32

and then...  because the 1st one is 16bit it's processed and then you look at
HI32 and find that from the Major Opcode it's 32 bit

same for SV-P48

i think this will work just fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list