]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target-arm: Don't print debug messages for various UNDEF cases
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jul 2011 00:51:21 +0000 (00:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jul 2011 14:30:54 +0000 (14:30 +0000)
Remove some stray printfs for cases which don't generally happen
(some VFP UNDEF cases, reads and writes to unknown cp14 registers);
we should simply generate an UNDEF when the instruction is executed.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c

index fcb41d1cbe11bfe14da2b3e42e988eabea1ed2a9..75c0ad413a4b909f67ad7b2c9c8f6abe92fdd49d 100644 (file)
@@ -3288,12 +3288,10 @@ static int disas_vfp_insn(CPUState * env, DisasContext *s, uint32_t insn)
                         gen_vfp_toul(dp, 32 - rm, 0);
                         break;
                     default: /* undefined */
-                        printf ("rn:%d\n", rn);
                         return 1;
                     }
                     break;
                 default: /* undefined */
-                    printf ("op:%d\n", op);
                     return 1;
                 }
 
@@ -6372,8 +6370,6 @@ static int disas_cp14_read(CPUState * env, DisasContext *s, uint32_t insn)
             return 0;
         }
     }
-    fprintf(stderr, "Unknown cp14 read op1:%d crn:%d crm:%d op2:%d\n",
-            op1, crn, crm, op2);
     return 1;
 }
 
@@ -6405,8 +6401,6 @@ static int disas_cp14_write(CPUState * env, DisasContext *s, uint32_t insn)
             return 0;
         }
     }
-    fprintf(stderr, "Unknown cp14 write op1:%d crn:%d crm:%d op2:%d\n",
-            op1, crn, crm, op2);
     return 1;
 }