From d1cd85e73d47a6a11e31e17998d36e627f5ce9a2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 6 Oct 2023 10:06:20 +0100 Subject: [PATCH] add svshape3 reservation in minor_22.csv, see https://bugs.libre-soc.org/show_bug.cgi?id=1155#c6 --- openpower/isatables/minor_22.csv | 2 ++ src/openpower/decoder/power_enums.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/openpower/isatables/minor_22.csv b/openpower/isatables/minor_22.csv index 7a2e5c80..d8a1c3d5 100644 --- a/openpower/isatables/minor_22.csv +++ b/openpower/isatables/minor_22.csv @@ -25,6 +25,8 @@ opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry ou 1111-011001,VL,OP_SVSHAPE,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,svshape,SVM,,1,unofficial until submitted and approved/renumbered by the opf isa wg # svshape2: {-100,mm,011001} 100--011001,VL,OP_SVSHAPE,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,svshape2,SVM2,,1,unofficial until submitted and approved/renumbered by the opf isa wg +# svshape3 - none of the horribleness of shoe-horning svshape2 in it +-----000001,VL,OP_SVSHAPE,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,svshape3,SVM,,1,unofficial until submitted and approved/renumbered by the opf isa wg # A/V bitmanip 1101001110-,ALU,OP_AVGADD,RA,RB,NONE,RT,NONE,CR0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC_ONLY,0,0,avgadd,X,,1,unofficial until submitted and approved/renumbered by the opf isa wg --01101110-,ALU,OP_SHADD,RA,RB,NONE,RT,NONE,CR0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC_ONLY,0,0,sadd,Z23,,1,unofficial until submitted and approved/renumbered by the opf isa wg diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index c0c1ddca..2d144176 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -816,7 +816,8 @@ _insns = [ "svindex", # https://libre-soc.org/openpower/sv/remap "svremap", # https://libre-soc.org/openpower/sv/remap - TEMPORARY "svshape", # https://libre-soc.org/openpower/sv/remap/#svshape - "svshape2", # https://libre-soc.org/openpower/sv/remap/discussion TODO + "svshape2", # https://libre-soc.org/openpower/sv/remap/#svshape2 TODO + "svshape3", # https://libre-soc.org/openpower/sv/remap/#svshape3 TODO "svstep", # https://libre-soc.org/openpower/sv/setvl "sim_cfg", "sadd", "saddw", "sadduw", -- 2.30.2