x86emul: correct FPU stub asm() constraints
authorJan Beulich <jbeulich@suse.com>
Tue, 24 Jan 2017 11:35:59 +0000 (12:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Jan 2017 11:35:59 +0000 (12:35 +0100)
commit3dfbb8df335f12297cfc7db9d3df2b74c474921b
tree473f88a9ff4e50c342429664ce883bb83b879c23
parentff9ea20a34690d97a93e386f2b5cc9edcfb20fb5
x86emul: correct FPU stub asm() constraints

Properly inform the compiler about fic's role as both an input (its
insn_bytes field) and output (its exn_raised field).

Take the opportunity and bring emulate_fpu_insn_stub() more in line
with emulate_fpu_insn_stub_eflags().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c