add csv of deduplicated opcodes/registers
authorCole Poirier <colepoirier@gmail.com>
Tue, 6 Oct 2020 20:29:53 +0000 (13:29 -0700)
committerCole Poirier <colepoirier@gmail.com>
Tue, 6 Oct 2020 20:29:53 +0000 (13:29 -0700)
openpower/opcodes_deduped.csv [new file with mode: 0644]

diff --git a/openpower/opcodes_deduped.csv b/openpower/opcodes_deduped.csv
new file mode 100644 (file)
index 0000000..1220a3b
--- /dev/null
@@ -0,0 +1,132 @@
+in1,in2,in3,out,CR in,CR out,cry in,cry out,ldst len,BR,sgn ext,upd,32b,sgn,rc,lk
+RA,CONST_SI,NONE,RT,NONE,NONE,ZERO,1.0,NONE,0.0,0.0,0,0.0,0.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_OR_ZERO,CONST_SI,NONE,RT,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0
+RA_OR_ZERO,CONST_SI_HI,NONE,RT,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0
+NONE,NONE,NONE,NONE,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,0.0
+RS,CONST_UI,NONE,RA,NONE,CR0,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,ONE,0.0
+RS,CONST_UI_HI,NONE,RA,NONE,CR0,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,ONE,0.0
+NONE,CONST_LI,NONE,NONE,NONE,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,1.0
+SPR,CONST_BD,NONE,SPR,BI,NONE,ZERO,0.0,NONE,0.0,0.0,0,0.0,0.0,NONE,1.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_UI,NONE,NONE,NONE,BF,ONE,0.0,NONE,0.0,0.0,0,0.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