diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-09-12 18:23:36 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-09-12 18:23:36 -0700 |
commit | c12b39030265006a1b5af2261d459b55feb33b72 (patch) | |
tree | 913a1a238fdc747ade6e8f05ec3968c95cd777b8 /parse-opcodes | |
parent | 5103021dc40f42a18669c11bab8feea3a56f4ed5 (diff) | |
download | riscv-opcodes-c12b39030265006a1b5af2261d459b55feb33b72.zip riscv-opcodes-c12b39030265006a1b5af2261d459b55feb33b72.tar.gz riscv-opcodes-c12b39030265006a1b5af2261d459b55feb33b72.tar.bz2 |
[xcc, sim] moved shamt field and renamed shifts
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-x | parse-opcodes | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-opcodes b/parse-opcodes index ccf49b5..4e56615 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -21,8 +21,8 @@ arglut['fd'] = (9,5) arglut['imm27'] = (26,0) arglut['imm20'] = (19,0) arglut['imm'] = (11,0) -arglut['shamt'] = (10,5) -arglut['shamtw'] = (9,5) +arglut['shamt'] = (5,0) +arglut['shamtw'] = (4,0) typelut = {} # 0=unimp,1=j,2=lui,3=imm,4=r,5=r4,6=rsh,7=rshw typelut[0x00] = 0 |