Ok, but with opDEC_fix = 8 we actually skip to addt/stt, so that asm
probably should be rearranged to
"fmov $f31, $f0\n\t"
"cvttq/svm $f31, $f31\n\t"
"addt $f31, $f31, $f31\n\t"
"cmpteq $f31, $f31, $f0\n\t"
"stt $f0, %0"
Further, if fp emulation isn't compiled in, we'll have kernel mode
instruction fault. A quick fix appears to be
regs.pc += opDEC_fix;
+ if (opDEC_fix == 8)
+ return;
Did I missed something?
Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/