From: Luke Kenneth Casson Leighton Date: Mon, 28 Dec 2020 20:44:47 +0000 (+0000) Subject: add fp sv_analysis entries X-Git-Tag: convert-csv-opcode-to-binary~746 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b70154784e9883127a00a1912765e5546b139284;p=libreriscv.git add fp sv_analysis entries --- diff --git a/openpower/isatables/RM-1P-2S1D.csv b/openpower/isatables/RM-1P-2S1D.csv index f682a8f5c..007b2167a 100644 --- a/openpower/isatables/RM-1P-2S1D.csv +++ b/openpower/isatables/RM-1P-2S1D.csv @@ -84,10 +84,10 @@ fdivs,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 fsubs,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 fadds,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 fmuls,1P,EXTRA3,TODO,0,0,0,FRA,0,FRC,FRT,0,CR1 -fdiv,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 -fsub,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 -fadd,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 -fmul,1P,EXTRA3,TODO,0,0,0,FRA,0,FRC,FRT,0,0 +fdiv,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 +fsub,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 +fadd,1P,EXTRA3,"d:FRT,d:CR1",s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 +fmul,1P,EXTRA3,TODO,0,0,0,FRA,0,FRC,FRT,0,CR1 26/6=fmrgow,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 30/6=fmrgew,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 0/8=fcpsgn,1P,EXTRA3,TODO,0,0,0,FRA,FRB,0,FRT,0,0 diff --git a/openpower/isatables/RM-1P-3S1D.csv b/openpower/isatables/RM-1P-3S1D.csv index 24293c0dd..1b9207cb7 100644 --- a/openpower/isatables/RM-1P-3S1D.csv +++ b/openpower/isatables/RM-1P-3S1D.csv @@ -35,8 +35,8 @@ fmsubs,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 fmadds,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 fnmsubs,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 fnmadds,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 -fsel,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,0 -fmsub,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,0 -fmadd,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,0 -fnmsub,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,0 -fnmadd,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,0 +fsel,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 +fmsub,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 +fmadd,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 +fnmsub,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 +fnmadd,1P,EXTRA2,"d:FRT,d:CR1",s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 diff --git a/openpower/isatables/RM-2P-1S1D.csv b/openpower/isatables/RM-2P-1S1D.csv index 2e4a95872..9364ce19b 100644 --- a/openpower/isatables/RM-2P-1S1D.csv +++ b/openpower/isatables/RM-2P-1S1D.csv @@ -60,9 +60,9 @@ fcfid[u]s,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 fsqrts,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 fres,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 frsqrtes,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 -fsqrt,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 -fre,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 -frsqrte,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 +fsqrt,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 +fre,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 +frsqrte,2P,EXTRA3,"d:FRT,d:CR1",s:FRA,0,0,0,FRB,0,FRT,0,CR1 18/7=mffsfamily,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 1/8=fneg,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 2/8=fmr,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0 diff --git a/openpower/isatables/minor_63h.csv b/openpower/isatables/minor_63h.csv index 968db09bb..86289186c 100644 --- a/openpower/isatables/minor_63h.csv +++ b/openpower/isatables/minor_63h.csv @@ -1,13 +1,13 @@ opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry out,ldst len,BR,sgn ext,upd,rsrv,32b,sgn,rc,lk,sgl pipe,comment,form -0b0010,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fdiv, -0b0100,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsub, -0b0101,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fadd, -0b0110,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsqrt, -0b0111,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsel, -0b1000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fre, -0b1001,FPU,OP_FPOP,FRA,NONE,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fmul, -0b1010,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,frsqrte, -0b1100,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fmsub, -0b1101,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fmadd, -0b1110,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fnmsub, -0b1111,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fnmadd, +0b0010,FPU,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