add tlbsync and wait as NOPs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 6 Jan 2022 00:04:53 +0000 (00:04 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 6 Jan 2022 00:04:53 +0000 (00:04 +0000)
openpower/isatables/minor_31.csv
src/openpower/decoder/power_enums.py

index c4f4c45f16e311ec918c26537e5e9f90b13233cf..c87574fe9196d69ec78d6d4bb7e3aa6f7547c0c5 100644 (file)
@@ -202,4 +202,6 @@ opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry ou
 0b0000000100,TRAP,OP_TRAP,RA,RB,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,1,0,NONE,0,1,tw,X,
 0b0100110010,MMU,OP_TLBIE,NONE,RB,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,tlbie,X,
 0b0100010010,MMU,OP_TLBIE,NONE,RB,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,tlbiel,X,
+0b1000110110,ALU,OP_NOP,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,1,tlbsync,X,
+0b0000011110,ALU,OP_NOP,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,1,wait,X,
 0b0100111100,LOGICAL,OP_XOR,RS,RB,NONE,RA,NONE,CR0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,xor,X,
index 0e1517ddb9aa683a6ff569c9b194e93703a6c054..cd753b85c9ed2b4290257db956ad9907284a9c77 100644 (file)
@@ -332,8 +332,9 @@ _insns = [
     "sync",
     "ternlogi",
     "td", "tdi",
-    "tlbie", "tlbiel",
+    "tlbie", "tlbiel", "tlbsync",
     "tw", "twi",
+    "wait",
     "xor", "xori", "xoris",
 ]