Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/arm/arm32
> On Wednesday 15 October 2003 2:56 pm, Richard Earnshaw wrote:
>
> > This is wrong. ldrd and strd are available on any v5E processor, so
> > it shouldn't be wrapped in '#ifdef XSCALE'.
>
> Ok, my 'fix' commit also jumped the gun, and hasn't actually solved the
> problem.
>
> What's the easiest/quickest way to determine if strd/ldrd are available?
>
> Given that the code is in a critical path, a compile-time check would be
> best, otherwise is there a quick way to check the cpu id?
>
> Cheers, Steve
>
Isn't ok just to check for it unconditionally?
This whole section really needs rewriting for modern ARM processors
anyway, it doesn't handle Thumb and it wouldn't stand a chance with
Jazelle.
R.
Home |
Main Index |
Thread Index |
Old Index