From: Luke Kenneth Casson Leighton Date: Fri, 6 Oct 2023 09:06:20 +0000 (+0100) Subject: add svshape3 reservation in minor_22.csv, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac538421;p=openpower-isa.git add svshape3 reservation in minor_22.csv, see https://bugs.libre-soc.org/show_bug.cgi?id=1155#c6 --- diff --git a/openpower/isatables/minor_22.csv b/openpower/isatables/minor_22.csv index adf1c3a0..17b48155 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 54e325ae..190fa959 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -814,7 +814,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",