Re: [2.6.30-rc8 KVM] gcc 3.3 dies at emulate_2op_cl().

From: Avi Kivity
Date: Sun Jun 07 2009 - 05:41:10 EST


Tetsuo Handa wrote:
Avi Kivity wrote:
What if you change "rm" in the patch to "m"?
It still fails.

__asm__ __volatile__ ( \
_PRE_EFLAGS("0", "5", "2") \
_op _suffix " %4,%1 \n" \
_POST_EFLAGS("0", "5", "2") \
: "=m" (_eflags), "+m" (_dstv), "=&r" (_tmp) \
: "c" (_clv) , "r" (_srcv), "i" (EFLAGS_MASK) \
);

I can eliminate _tmp by using lahf/sahf, but it's not going to be a trivial patch.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/