double-word load and store instructions. This used to work by chance, but
recent compiler changes no longer put us in the lucky situation.
tweaks kettenis@
-/* $OpenBSD: cpu.c,v 1.49 2012/11/25 13:34:17 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.50 2014/04/30 04:20:31 miod Exp $ */
/* $NetBSD: cpu.c,v 1.56 1997/09/15 20:52:36 pk Exp $ */
/*
fpu_init(sc)
struct cpu_softc *sc;
{
- struct fpstate fpstate;
+ struct fpstate fpstate __aligned(8);
/*
* Get the FSR and clear any exceptions. If we do not unload
-/* $OpenBSD: trap.c,v 1.65 2014/04/18 11:51:17 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.66 2014/04/30 04:20:31 miod Exp $ */
/* $NetBSD: trap.c,v 1.58 1997/09/12 08:55:01 pk Exp $ */
/*
int error, new;
struct args {
register_t i[8];
- } args;
- register_t rval[2];
+ } args __aligned(8);
+ register_t rval[2] __aligned(8);
#ifdef DIAGNOSTIC
extern struct pcb *cpcb;
#endif