From 21d41b73173a343250b2fc1b84f3a824db245c50 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 6 Oct 2020 22:23:39 +0100 Subject: [PATCH] uniquify opcodes --- openpower/opcodes_deduped.csv | 113 +++++++++++++++++----------------- 1 file changed, 56 insertions(+), 57 deletions(-) diff --git a/openpower/opcodes_deduped.csv b/openpower/opcodes_deduped.csv index 06e4dac38..a064c5195 100644 --- a/openpower/opcodes_deduped.csv +++ b/openpower/opcodes_deduped.csv @@ -18,81 +18,46 @@ NONE,RB,RS,RA,NONE,CR0,ZERO,0.0,NONE,0.0,0.0,0,1.0,0.0,RC,0.0 NONE,RB,RS,RA,NONE,CR0,ZERO,1.0,NONE,0.0,0.0,0,0.0,1.0,RC,0.0 NONE,RB,RS,RA,NONE,CR0,ZERO,1.0,NONE,0.0,0.0,0,1.0,1.0,RC,0.0 NONE,RB,RS,RA,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,1.0,0.0,RC,0.0 +RA,CONST_DS,NONE,RT,NONE,NONE,ZERO,0.0,is4B,0.0,1.0,0,0.0,0.0,NONE,0.0 +RA,CONST_DS,NONE,RT,NONE,NONE,ZERO,0.0,is8B,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_DS,NONE,RT,NONE,NONE,ZERO,0.0,is8B,0.0,0.0,1,0.0,0.0,NONE,0.0 +RA,CONST_DS,RS,NONE,NONE,NONE,ZERO,0.0,is8B,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_DS,RS,NONE,NONE,NONE,ZERO,0.0,is8B,0.0,0.0,1,0.0,0.0,NONE,0.0 RA,CONST_M1,NONE,RT,NONE,CR0,CA,1.0,NONE,0.0,0.0,0,0.0,0.0,RC,0.0 RA,CONST_SH32,RS,RA,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,1.0,0.0,RC,0.0 RA,CONST_SH,RS,RA,NONE,CR0,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,RC,0.0 +RA,CONST_SI_HI,NONE,RT,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0 RA,CONST_SI,NONE,NONE,NONE,BF,ONE,0.0,NONE,0.0,0.0,0,0.0,1.0,NONE,0.0 RA,CONST_SI,NONE,NONE,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0 RA,CONST_SI,NONE,NONE,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,1.0,0.0,NONE,0.0 RA,CONST_SI,NONE,RT,NONE,CR0,ZERO,0.0,NONE,0.0,0.0,0,0.0,1.0,NONE,0.0 RA,CONST_SI,NONE,RT,NONE,CR0,ZERO,1.0,NONE,0.0,0.0,0,0.0,0.0,ONE,0.0 RA,CONST_SI,NONE,RT,NONE,NONE,ONE,1.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is1B,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is1B,0.0,0.0,1,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is2B,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is2B,0.0,0.0,1,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is2B,0.0,1.0,0,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is2B,0.0,1.0,1,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is4B,0.0,0.0,0,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,is4B,0.0,0.0,1,0.0,0.0,NONE,0.0 +RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0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