]> xenbits.xensource.com Git - xen.git/commit
x86emul: adjustments to mem access / write logic testing
authorJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:26:11 +0000 (10:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:26:11 +0000 (10:26 +0200)
commitdf8fb11d8880cb0f4f1bbcff1700d0a80e0f6983
tree8e89cf40275d42e3fe089705a4582e7a21a4ff14
parent2e98d0b1d09e99e3d1287cb13f42b604ebc3c29a
x86emul: adjustments to mem access / write logic testing

The combination of specifying a ModR/M byte with the upper two bits set
and the modrm field set to T is pointless - the same test will be
executed twice, i.e. overall things will be slower for no extra gain. I
can only assume this was a copy-and-paste-without-enough-editing mistake
of mine.

Furthermore adjust the base type of a few bit fields to shrink table
size, as subsequently quite a few new entries will get added to the
tables using this type.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/predicates.c