Messages in this thread |  | | Date | Sun, 07 Jun 2009 12:40:50 +0300 | From | Avi Kivity <> | Subject | Re: [2.6.30-rc8 KVM] gcc 3.3 dies at emulate_2op_cl(). |
| |
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.
|  |