Re: [Xen-devel] [PATCH v2] x86emul: relax asm() constraints

2016-02-16 Thread Andrew Cooper
On 16/02/16 10:16, Jan Beulich wrote: > 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 para

[Xen-devel] [PATCH v2] x86emul: relax asm() constraints

2016-02-16 Thread Jan Beulich
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. Sign