Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/m68k/m68k
On Tue, 8 Apr 2025 15:10:24 Martin Husemann wrote:
> On Tue, Apr 08, 2025 at 10:45:23AM +1000, Nat Sloss wrote:
> > nop - f* instructions are not atomic....what will happen if nop is
> > executed and then the processor is interrupted (by say pressing a
> > keystroke on the keyboard) then after that interrupt has run the f*
> > instruction is executed.
> >
> > How should this be handled?
>
> Why do you think it would need any special handling as long as *the kernel*
> does not issue any f* instructions in between (which it won't do).
>
> Martin
I'm currently testing with all local changes to the kernel removed.
So far it look promising after 10 runs of the libm tests.
Sorry for the noise.
The only thing I think I need to add now (given the fact that the lcfix option
is no longer the gas default) is asm("nop") before line 75 in m68k/fpu.c.
Any objections to that?
Best regards,
Nat
Home |
Main Index |
Thread Index |
Old Index