Subject: Re: cpufunc.h
To: Ben Harris <bjh21@netbsd.org>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm
Date: 05/30/2001 23:16:37
> > Then the current code setcpsr.S code is screwed because set_cpsr can
> > clobber "r8","r9","r10","r11","r12","r13","r14".
>
> This is only true if it's ever used to change mode, which I'm fairly sure
> it isn't.
And it certainly shouldn't ever be used to change out of FIQ mode (or
we've got the OS design wrong).
PS. You are probably missing a clobber of CC as well.
R.