unicorn/qemu/target/i386
Paolo Bonzini f944cf4255
target/i386: simplify handling of conforming code segments on interrupt
Move the handling of conforming code segments before the handling
of stack switch.

Because dpl == cpl after the new "if", it's now unnecessary to check
the C bit when testing dpl < cpl. Furthermore, dpl > cpl is checked
slightly above the modified code, so the final "else" is unreachable
and we can remove it.

Backports commit 1110bfe6f5600017258fa6578f9c17ec25b32277 from qemu
2018-03-03 21:19:48 -05:00
..
arch_memory_mapping.c target/i386: enable A20 automatically in system management mode 2018-03-03 14:33:09 -05:00
bpt_helper.c
cc_helper_template.h
cc_helper.c
cpu-qom.h
cpu.c target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
cpu.h target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
excp_helper.c
fpu_helper.c
helper.c target/i386: use multiple CPU AddressSpaces 2018-03-03 14:53:47 -05:00
helper.h
int_helper.c
Makefile.objs
mem_helper.c
misc_helper.c
mpx_helper.c
ops_sse_header.h
ops_sse.h
seg_helper.c target/i386: simplify handling of conforming code segments on interrupt 2018-03-03 21:19:48 -05:00
shift_helper_template.h
smm_helper.c
svm_helper.c target-i386: defer VMEXIT to do_interrupt 2018-03-02 12:49:18 -05:00
svm.h
TODO
topology.h
translate.c i386: fix read/write cr with icount option 2018-03-03 14:56:18 -05:00
unicorn.c
unicorn.h