Clean up the handing of operands in assemble.c
commit839eca23e4a3219213b7b3a1c55f96479d9ca4fc
authorH. Peter Anvin <hpa@zytor.com>
Tue, 30 Oct 2007 06:12:47 +0000 (29 23:12 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 30 Oct 2007 06:12:47 +0000 (29 23:12 -0700)
treea7da7d8202035e63e2cca3fe389da6c37fc583a1
parent10e27271330792a2d33cf08c5002c73cd2d7b201
Clean up the handing of operands in assemble.c

assemble.c was full of code containing ins->oprs[c - 0xxx] where 0xxx
was the base of the particular code block.  Verbose and error prone
when code is moved around.  Now we precompute opx = &ins->oprs[c & 3]
before dispatching, resulting in less code.
assemble.c