SWI PSR corruption
Christian Ludlam
chris at recoil.org
Thu Apr 28 22:39:19 BST 2005
On 28 Apr Stewart Brodie wrote:
> Christian Ludlam <chris at recoil.org> wrote:
>
> > When you build an application targeting 32 bit OSs, it seems you MUST use
> > the -zpq512 compiler switch to tell the compiler that inline SWI calls
> > corrupt the PSR (why this isn't the default I don't know).
>
> I thought that was the one that stopped multiple calls to malloc being
> optimised away, no?
Hmm, my reference was
<http://www.chiark.greenend.org.uk/~theom/riscos/docs/low/norcroft-qpragmas.txt>
--
Christian Ludlam
chris at recoil.org
More information about the oslib-user
mailing list