Enable fuzzy matching of operand sizes
commita81655bffb3841a0326c7224403f8c8e7cccd82a
authorH. Peter Anvin <hpa@zytor.com>
Sun, 26 Jul 2009 01:15:28 +0000 (25 18:15 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 26 Jul 2009 01:15:28 +0000 (25 18:15 -0700)
tree0d3f2da0698d2c8967b755c47416e0f6f2c9e4dc
parent23595f5946bc816185204302a78d8413ed59cc4b
Enable fuzzy matching of operand sizes

This allows automatic fuzzy matching of operand sizes.  If an operand
size is not specified, but there is exactly one possible size for the
instruction, select that instruction size.  This requires a second
pass through the instruction patterns, and so is slightly slower, but
should be a lot easier to get right than the S- flags, and works even
when there is more than one instruction.

The new SX (Size eXact) flag can be used to prevent fuzzy matching
completely.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
assemble.c
insns.h