Bugzilla – Bug 136185
disInstr(ppc32): unhandled instruction: 0xC5ABFFFC
Last modified: 2006-01-05 09:41:48 UTC
valgrind can't handle amarok.
Created attachment 59315 [details] valgrind log
Created attachment 59316 [details] valgrind log
hmm, we can patch out the ppc support of valgrind if the arch team has no resources to fix it
no, we want ppc support. I've asked Andreas to create this bugreport.
http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixassem/alangref/lfsu.htm lfsu f5,-4(r11)
it seems there was already an attempt to support this instruction: VEX/priv/guest-ppc32/toIR.c: //zz case 0x31: // lfsu (Load Float Single with Update, PPC32 p442) //zz if (rA_addr == 0) { //zz vex_printf("dis_fp_load(PPC32)(instr,lfsu)\n"); //zz return False; //zz } //zz DIP("lfsu fr%u,%d(r%u)\n", frD_addr, simm16, rA_addr); //zz assign( EA, ea_rA_simm(rA_addr, simm16) ); //zz putFReg( frD_addr, unop(Iop_F32toF64, loadBE(Ity_F32, mkexpr(EA))) ); //zz putIReg( rA_addr, mkexpr(EA) ); //zz break; Andreas, can you try with commenting in this? Also, use --workaround-gcc296-bugs=yes. for some reason our compiler seems to write below the stack, thats a different bug we have to fix.
http://bugs.kde.org/show_bug.cgi?id=117419
dis_fp_arith(PPC32)(3F: opc2) disInstr(ppc32): unhandled instruction: 0xFDA0082C primary 63(0x3F), secondary 44(0x2C)
Created attachment 59625 [details] valgrind log
hmm, thats fsqrt. unsure if its 64bit or 32bit. guessing 64bit.
Created attachment 59645 [details] patch try this patch.
Created attachment 59764 [details] fsqrt.diff
Created attachment 59793 [details] implement clock_getres
m_syswrap/syswrap-ppc32-linux.c:1748: error: '__NR_clock_getres' undeclared here (not in a function)
ok, --- coregrind/vki_unistd-ppc32-linux.h (revision 5283) +++ coregrind/vki_unistd-ppc32-linux.h (working copy) @@ -276,7 +276,7 @@ //#define __NR_timer_delete 244 //#define __NR_clock_settime 245 #define __NR_clock_gettime 246 -//#define __NR_clock_getres 247 +#define __NR_clock_getres 247 //#define __NR_clock_nanosleep 248 //#define __NR_swapcontext 249 #define __NR_tgkill 250
Created attachment 59869 [details] Missing syscalls
thanks, committed to upstream
everything upstream, package updated.