uniquify opcodes
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Oct 2020 21:23:39 +0000 (22:23 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Oct 2020 21:23:39 +0000 (22:23 +0100)
openpower/opcodes_deduped.csv

index 06e4dac38f4ab570263d540573e33f23399b3794..a064c5195957c9ccf3469a686c2eba6a6669850c 100644 (file)
@@ -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,0.0,NONE,0.0
 RA,CONST_SI,NONE,RT,NONE,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