From: Jacob Lifshay Date: Thu, 18 Mar 2021 03:26:24 +0000 (-0700) Subject: convert all CSVs to opint=True form -- opcode field always has 0b... prefix X-Git-Tag: convert-csv-opcode-to-binary~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66d1ed729ea1ac2eea65dbfdfaef4d4d547cf4a6;p=libreriscv.git convert all CSVs to opint=True form -- opcode field always has 0b... prefix --- diff --git a/openpower/isatables/extra.csv b/openpower/isatables/extra.csv index bf0809320..7625affa4 100644 --- a/openpower/isatables/extra.csv +++ b/openpower/isatables/extra.csv @@ -1,4 +1,4 @@ opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry out,ldst len,BR,sgn ext,upd,rsrv,32b,sgn,rc,lk,sgl pipe,comment,form -000000---------------0100000000-,NONE,OP_ATTN,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,1,attn,NONE -01100000000000000000000000000000,NONE,OP_NOP,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,nop,D -000001---------------0000000011-,NONE,OP_SIM_CONFIG,NONE,NONE,NONE,RT,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,1,sim_cfg,NONE +0b000000---------------0100000000-,NONE,OP_ATTN,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,1,attn,NONE +0b01100000000000000000000000000000,NONE,OP_NOP,NONE,NONE,NONE,NONE,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,nop,D +0b000001---------------0000000011-,NONE,OP_SIM_CONFIG,NONE,NONE,NONE,RT,NONE,NONE,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,1,sim_cfg,NONE diff --git a/openpower/isatables/minor_19_valid.csv b/openpower/isatables/minor_19_valid.csv index 34bd7cab9..0689360a6 100644 --- a/openpower/isatables/minor_19_valid.csv +++ b/openpower/isatables/minor_19_valid.csv @@ -1,15 +1,15 @@ opcode,valid,comment ------00010,1,addpcis: 5 upper bits are part of constant -1000010000,1,bcctr -0000010000,1,bclr -1000110000,0,bctar -0100000001,1,crand -0010000001,1,crandc -0100100001,1,creqv -0011100001,1,crnand -0000100001,1,crnor -0111000001,1,cror -0110100001,1,crorc -0011000001,1,crxor -0010010110,1,isync -0000000000,1,mcrf +0b-----00010,1,addpcis: 5 upper bits are part of constant +0b1000010000,1,bcctr +0b0000010000,1,bclr +0b1000110000,0,bctar +0b0100000001,1,crand +0b0010000001,1,crandc +0b0100100001,1,creqv +0b0011100001,1,crnand +0b0000100001,1,crnor +0b0111000001,1,cror +0b0110100001,1,crorc +0b0011000001,1,crxor +0b0010010110,1,isync +0b0000000000,1,mcrf