From 917a94ab21b254aa5ddc85bebb4cd86c205eb0f8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 6 Jan 2022 00:04:53 +0000 Subject: [PATCH] add tlbsync and wait as NOPs --- openpower/isatables/minor_31.csv | 2 ++ src/openpower/decoder/power_enums.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/openpower/isatables/minor_31.csv b/openpower/isatables/minor_31.csv index c4f4c45f..c87574fe 100644 --- a/openpower/isatables/minor_31.csv +++ b/openpower/isatables/minor_31.csv @@ -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, diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 0e1517dd..cd753b85 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -332,8 +332,9 @@ _insns = [ "sync", "ternlogi", "td", "tdi", - "tlbie", "tlbiel", + "tlbie", "tlbiel", "tlbsync", "tw", "twi", + "wait", "xor", "xori", "xoris", ] -- 2.30.2