[Libre-soc-isa] [Bug 1015] rfc for rest of int/fp move/convert ls006

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Jun 20 05:02:57 BST 2023


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

--- Comment #44 from Jacob Lifshay <programmerjake at gmail.com> ---
since I think we need to rename fcvt*/fmv* to be consistent with existing
instructions, I propose:

fmvfg -> mtfpr/mtfprd (depending if we want a new instruction anyway)
fmvfgs -> mtfprs
fmvtg[.] -> mffpr[.]/mffprd (depending if we want a new instruction anyway)
fmvtgs[.] -> mffprs[.]
fcvtfg[.] -> ctfprd[.]
fcvtfgs[.] -> ctfprs[.]
fcvttg[o][.] -> cffprd[o][.]

note mtfprd/mffprd are just using the existing instructions but made available
on SFFS when SX/TX=0, since PowerISA treats the SX/TX=0 version as a FP
instruction instead of a VSX instruction. the only part that we would lose if
we just used the existing instructions is Rc=1 support for fmvtg., which is not
that important.

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


More information about the Libre-SOC-ISA mailing list