diff options
author | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-09 20:03:07 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-04-09 20:03:07 -0700 |
commit | fa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b (patch) | |
tree | f3e190522e7f497597efddab87a91e161a49d949 /parse-opcodes | |
parent | 9212085398dee4aecfead02897d8ad3686afe6bc (diff) | |
download | riscv-opcodes-fa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b.zip riscv-opcodes-fa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b.tar.gz riscv-opcodes-fa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b.tar.bz2 |
[xcc, sim] added rvc insn c.li; misc fixes
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-x | parse-opcodes | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/parse-opcodes b/parse-opcodes index 45d16db..a266d44 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -28,7 +28,6 @@ arglut['crd5'] = (9,5) arglut['cimm6'] = (15,10) typelut = {} # 0=unimp,1=j,2=lui,3=imm,4=r,5=r4,6=ish,7=ishw,10=b -typelut[0x00] = 0 typelut[0x03] = 3 typelut[0x07] = 3 typelut[0x13] = 3 @@ -52,6 +51,11 @@ typelut[0x6F] = 1 typelut[0x77] = 4 typelut[0x7B] = 4 +# XXX RVC +for i in range(0,3): + for j in range(0,8): + typelut[j*4+i] = 0 + # vector opcodes typelut[0x0B] = 4 typelut[0x0F] = 5 |