aboutsummaryrefslogtreecommitdiff
path: root/lib/bcheck.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-05-15 18:46:05 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:05 +0100
commitbde802df2993cb97c7522e2f50b488e682b231b7 (patch)
tree3088806591a46c1b3d4544504a010d6f24573bae /lib/bcheck.c
parent4af6e087dde9a2048419219bc4b7e6efff0e17bf (diff)
downloadtinycc-bde802df2993cb97c7522e2f50b488e682b231b7.tar.gz
tinycc-bde802df2993cb97c7522e2f50b488e682b231b7.tar.bz2
x86-asm: Reorganize instr_type
Disjoint instruction types don't need to be a bit field, so introduce an enumeration (3 bits). Also the 0x0f prefix can be expressed by a bit, doesn't need a byte in the opcode field. That enables to encode further prefixes still in 16 bit. To not have to touch all insns do some macro fiddling filtering out a 0x0f byte in the second position.
Diffstat (limited to 'lib/bcheck.c')
0 files changed, 0 insertions, 0 deletions