x86emul: relax asm() constraints
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:20:01 +0000 (16:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:20:01 +0000 (16:20 +0100)
commit5644ce014223a6dbd087c0a5e18b5abe37b91c8d
tree91e1c349c4f0cec692d36da510c419de349cee62
parentae80792f711325f5881154db6e2407a7645ac588
x86emul: relax asm() constraints

Let's give the compiler as much liberty at picking instruction operands
as possible. Also drop unnecessary size modifiers when the correct size
can already be derived from the asm() operands. Finally also drop an
"unsigned" from idiv_dbl()'s second parameter, allowing a cast to be
eliminated.

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