[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 18/25] x86emul: add missing suffixes in test harness
I'm in the process of putting together a gas change issuing at least warnings when the intended size of a memory operation can't be deduced from another (register) operand. Add missing suffixes to silence such future diagnostics. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- v3: New. --- a/tools/tests/x86_emulator/test_x86_emulator.c +++ b/tools/tests/x86_emulator/test_x86_emulator.c @@ -785,13 +785,13 @@ int main(int argc, char **argv) regs.eflags |= (i & 0x100) ? X86_EFLAGS_AF : 0; if ( i & 0x400 ) __asm__ ( - "pushf; and $0xffffffee,(%%esp); or %1,(%%esp); popf; das; " + "pushf; andl $~0x11,(%%esp); or %1,(%%esp); popf; das; " "pushf; popl %1" : "=a" (bcdres_native), "=r" (regs.eflags) : "0" (i & 0xff), "1" (regs.eflags) ); else __asm__ ( - "pushf; and $0xffffffee,(%%esp); or %1,(%%esp); popf; daa; " + "pushf; andl $~0x11,(%%esp); or %1,(%%esp); popf; daa; " "pushf; popl %1" : "=a" (bcdres_native), "=r" (regs.eflags) : "0" (i & 0xff), "1" (regs.eflags) ); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |