[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: explicit suffix in inline assembler (for clang).
# HG changeset patch # User Tim Deegan <tim@xxxxxxx> # Date 1360848006 -3600 # Node ID cffb489a6df37d8d114e7d2d53a7a85d14e8f968 # Parent f9016812f0e48262387e11d3680528976dea5911 x86: explicit suffix in inline assembler (for clang). This fixes the clang build, and has no effect on gcc's output. Signed-off-by: Tim Deegan <tim@xxxxxxx> Committed-by: Jan Beulich <jbeulich@xxxxxxxx> --- diff -r f9016812f0e4 -r cffb489a6df3 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Thu Feb 14 12:20:58 2013 +0000 +++ b/xen/arch/x86/time.c Thu Feb 14 14:20:06 2013 +0100 @@ -127,7 +127,7 @@ static inline u64 scale_delta(u64 delta, delta <<= scale->shift; asm ( - "mul %2 ; shrd $32,%1,%0" + "mulq %2 ; shrd $32,%1,%0" : "=a" (product), "=d" (delta) : "rm" (delta), "0" ((u64)scale->mul_frac) ); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |