Subject: Re: Optimising m68k's _splraise()
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Steve Woodford <steve@mctavish.co.uk>
List: port-m68k
Date: 12/10/2000 18:57:35
On Sun, 10 Dec 2000, Izumi Tsutsui wrote:

> Some ports have getsr() in locore.s, but sun3 has inline version.
> getsr() is called from few place (mostly isrdispatch_vectored())
> but is it worth to make it inline? In that case, is "clrl %0" needed?

A quick glance at sun3 shows that those places which call getsr() only
interpret the low 16-bits too, so the clrl %d0 is superfluous.

Cheers, Steve