iflag: In iflag_cmp() scan from the most significant word down
commit80d18b55551e43f0c3e390550ecd396b90265fd3
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 Nov 2013 23:21:15 +0000 (26 15:21 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 Nov 2013 23:21:15 +0000 (26 15:21 -0800)
tree08cf085a5917431df2e01ccf1677699f6ababea6
parent4b47c77d89adac7abd81f6a99a04d85d853d84d9
iflag: In iflag_cmp() scan from the most significant word down

In order for iflag_cmp() to return an ordering that makes sense, we
need to scan from the most significant word downward.  That way the
bits with the higher index consistently are the more significant.

This fixes the disassembler vendor selection algorithm.  While we are
doing that, make that dependency more explicit in the comments.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
iflag.h
insns-iflags.pl