[MPlayer-dev-eng] [PATCH] correct illegal instruction on < armv5tE

GNUtoo at no-log.org GNUtoo at no-log.org
Sun Oct 12 19:49:31 CEST 2008


> Hi,
>
> On Wednesday 08 October 2008 01:01, GNUtoo at no-log.org wrote:
>> hello, I wanted to cross-compile mplayer from svn but it
>> failed...that's because the pld instruction is not supported by
>> my platform(armv4): More precisely the pld instruction was
>> introduced in armv5tE variants( but is not present on armv5texp)
> [...]
>> I bet the patch won't be accepted as-is because it has a
>> performance cost on the platform where the pld instruction is
>> supported because the pld instruction preloads things...
>
> Then just use
> #ifdef HAVE_ARMV5TE
> #endif /* HAVE_ARMV5TE */
> closure around this instruction.
>
> Best regards,
> Andrew
thanks a lot...here's the updated patch...it took a long time because I
don't have much time theses days
I tested it and it compiles and runs(youtube works)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_illegal_instruction.patch
Type: application/octet-stream
Size: 4304 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081012/c6c16641/attachment.obj>


More information about the MPlayer-dev-eng mailing list