>My problem is a segv in perl. If I do any of:
>Add another empty function into the source code
>Add 1 or more instructions to the troublesome function
>Remove 1 instruction from the troublesome function
>
>the segv goes away.
>Is it likely that this si a StrongARM revision K bug?
Well, I always hate to point the finger without conclusive proof. But it does
sound rather like it might be (I assume you're using a rev K chip!).
> However, I got it with something like:
> cmp Rn, #0
> bne .somewhere
> mov R0, #0
> ldmfd blah ; function return
>
> where the code at .somewhere didn't use the value in R0. Presumably the
> optimiser can be souped up to convert the cmp Rn, #0 into a movs R0, Rn
> as quite a few C functions go
> if (!some_input_parameter)
> return 0;
If you can provide a concrete test case where this could be done and isn't,
we can probably make it happen. :-)
p.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]