[Libre-soc-bugs] [Bug 755] add grev instruction (OP_GREV)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Feb 13 18:01:02 GMT 2022


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

--- Comment #31 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #30)

> which reduces the number of options to sane.  provides 16 instructions in
> one.

including, ha! if allowing (RA|0) it would allow, by setting swaplut2=0b1111
(or other), for certain combinations of 64-bit constants to be set without
having to use the 6-instruction ORI/ORIS/shift sequence. possible
constants:

* 0b01010101
* 0b10101010
* 0b00001111
* 0b11110000

etc. etc. simply by setting the right step and swaplut2 values.

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


More information about the libre-soc-bugs mailing list