[Libre-soc-bugs] [Bug 945] binutils: implement fmvis/fishmv instructions
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Oct 7 17:31:08 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=945
--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #1)
> I checked it, these both will need custom handlers. Also, since we want to
> be good citizens, we must also add tests. Anyway, these don't look as
> difficult as say svshape2 was, perhaps I'll complete it even today.
they're exactly the same as... as... addpcis, which is also DX-Form.
p68 v3.0B. i picked an existing Form very deliberately.
DX-Form
51 # V3.0B 1.6.6 DX-FORM
52 |0 |6 |11 |16 |26 |31
53 | PO | RT| d1| d0| XO|d2
54 | PO | FRS| d1| d0| XO|d2
addpcis RT,D
D <- d0||d1||d2
fmvis FRS, D
bf16 = d0 || d1 || d2 # create BF16 immediate
so the only addition should be using FRS instead of RT.
for the tests you could probably even directly copy the addpcis tests
and just change the instruction name!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list