|
Bugzilla – Full Text Bug Listing |
| Summary: | disInstr(ppc32): unhandled instruction: 0xC5ABFFFC | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Andreas Schwab <schwab> |
| Component: | Development | Assignee: | Dirk Mueller <dmueller> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PowerPC | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
valgrind log
valgrind log valgrind log patch fsqrt.diff implement clock_getres Missing syscalls |
||
|
Description
Andreas Schwab
2005-11-30 21:26:42 UTC
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. 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.
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. |