qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PowerPC CPU tester


From: Gwenole Beauchesne
Subject: Re: [Qemu-devel] PowerPC CPU tester
Date: Wed, 3 Dec 2003 08:10:59 +0100

Hi,

Would it be possible to get a readable description of the problems
encountered ?

Hmm, wait, I read XER the wrong way. It seems you used the normal numbering way with 0 being LSB. I have uploaded a new version of test-powerpc.cpp. Sorry, for the inconvience. Only "rlwimi" were wrong indeed.
30698 errors out of 689408 tests

Testing neg
invalid bits: 00002800 for opcode: 1f -08 - 03 (0x7c6428d0) (0x80031890)
According to PPC specification, bits 16 to 20 (in IBM/Motorola notation) have
always to be zero, has neg have no rB operand.

Indeed, copy-paste propagation. ;-) Thanks, for noticing.

+#ifdef DO_EXEC_RETURN
+               if (ctx.opcode == 0x18000000) {
+                 gen_op_raise_exception(EXCP_HLT);
+                 break;
+               }
+#endif
         /* Is opcode *REALLY* valid ? */
         if ((ctx.opcode & handler->inval) != 0) {
             if (loglevel > 0) {

What does this mean ?

That's for the tester, it's simply an extra opcode to get out of emulation code, if you know a better way...

Bye,
Gwenole.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]