From: Jacob Lifshay Date: Thu, 1 Sep 2022 08:17:09 +0000 (-0700) Subject: move fsins/fcoss to fptrans.mdwn -- they are transcendental not SV instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49330f613dfb6d0d25677d5e5539df0670be277c;p=openpower-isa.git move fsins/fcoss to fptrans.mdwn -- they are transcendental not SV instructions --- diff --git a/openpower/isa/fptrans.mdwn b/openpower/isa/fptrans.mdwn new file mode 100644 index 00000000..bae24491 --- /dev/null +++ b/openpower/isa/fptrans.mdwn @@ -0,0 +1,40 @@ + + + + +# [DRAFT] Floating SIN [Single] + +X-Form + +* fsins FRT,FRB (Rc=0) +* fsins. FRT,FRB (Rc=1) + +Pseudo-code: + + FRT <- FPSIN32(FRB) + +Special Registers Altered: + + FPRF FR FI + FX OX UX XX + VXSNAN VXISI VXIMZ + CR1 (if Rc=1) + +# [DRAFT] Floating COS [Single] + +X-Form + +* fcoss FRT,FRB (Rc=0) +* fcoss. FRT,FRB (Rc=1) + +Pseudo-code: + + FRT <- FPCOS32(FRB) + +Special Registers Altered: + + FPRF FR FI + FX OX UX XX + VXSNAN VXISI VXIMZ + CR1 (if Rc=1) + diff --git a/openpower/isa/svfparith.mdwn b/openpower/isa/svfparith.mdwn index 4fa9939b..a7b05457 100644 --- a/openpower/isa/svfparith.mdwn +++ b/openpower/isa/svfparith.mdwn @@ -254,40 +254,3 @@ Special Registers Altered: FX OX UX XX VXSNAN VXISI VXIMZ CR1 (if Rc=1) - -# [DRAFT] Floating SIN [Single] - -X-Form - -* fsins FRT,FRB (Rc=0) -* fsins. FRT,FRB (Rc=1) - -Pseudo-code: - - FRT <- FPSIN32(FRB) - -Special Registers Altered: - - FPRF FR FI - FX OX UX XX - VXSNAN VXISI VXIMZ - CR1 (if Rc=1) - -# [DRAFT] Floating COS [Single] - -X-Form - -* fcoss FRT,FRB (Rc=0) -* fcoss. FRT,FRB (Rc=1) - -Pseudo-code: - - FRT <- FPCOS32(FRB) - -Special Registers Altered: - - FPRF FR FI - FX OX UX XX - VXSNAN VXISI VXIMZ - CR1 (if Rc=1) - diff --git a/src/openpower/decoder/isa/.gitignore b/src/openpower/decoder/isa/.gitignore index ca22e277..c071e2ac 100644 --- a/src/openpower/decoder/isa/.gitignore +++ b/src/openpower/decoder/isa/.gitignore @@ -17,6 +17,7 @@ /fpload.py /fpmove.py /fpstore.py +/fptrans.py /sprset.py /stringldst.py /system.py