From 67294de1591c6afe55e2e5e80912fe677339be38 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 23 Jul 2021 14:17:59 +0100 Subject: [PATCH] add DCT mul-add to CSV and enums --- openpower/isatables/minor_59.csv | 1 + src/openpower/decoder/power_enums.py | 1 + 2 files changed, 2 insertions(+) diff --git a/openpower/isatables/minor_59.csv b/openpower/isatables/minor_59.csv index 731245ad..be66a56b 100644 --- a/openpower/isatables/minor_59.csv +++ b/openpower/isatables/minor_59.csv @@ -17,5 +17,6 @@ opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry ou -----00110,FPU,OP_FP_MADD,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,ffnmsubs,A, -----00111,FPU,OP_FP_MADD,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,ffnmadds,A, -----01101,FPU,OP_FPOP,FRA,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,ffadds,A, +-----01110,FPU,OP_FP_MADD,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,fdmadds,A, 1000001100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,fsins,X, 1000101100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,fcoss,X, diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 478b1451..516d8523 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -242,6 +242,7 @@ _insns = [ "extsb", "extsh", "extsw", "extswsli", "fadd", "fadds", "fsub", "fsubs", # FP add / sub "fcfids", "fcfidus", "fsqrts", "fres", "frsqrtes", # FP stuff + "fdmadds", # DCT FP 3-arg "fmsubs", "fmadds", "fnmsubs", "fnmadds", # FP 3-arg "ffadds", "ffsubs", "ffmuls", "ffdivs", # FFT FP 2-arg "ffmsubs", "ffmadds", "ffnmsubs", "ffnmadds", # FFT FP 3-arg -- 2.30.2