diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-15 21:24:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-15 21:24:45 +0000 |
commit | 9cdef7801599d5960d5290d50790e3c7d923215a (patch) | |
tree | bdf53c92e485dfd67a0a2c42aea7a0dc09bf0cc2 /sys/arch | |
parent | fbd8ea8c9ce67a08fe73a578538fdb7f7467c80e (diff) |
At last, port the mvme88k eh.S r1.66 fixes to aviion.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/aviion/aviion/eh.S | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/aviion/aviion/eh.S b/sys/arch/aviion/aviion/eh.S index 516bf8b65b9..7ccf6e8b3f9 100644 --- a/sys/arch/aviion/aviion/eh.S +++ b/sys/arch/aviion/aviion/eh.S @@ -1,4 +1,4 @@ -/* $OpenBSD: eh.S,v 1.2 2006/05/21 12:22:01 miod Exp $ */ +/* $OpenBSD: eh.S,v 1.3 2007/11/15 21:24:44 miod Exp $ */ /* * Copyright (c) 2006, Miodrag Vallat * @@ -57,27 +57,27 @@ ASLOCAL(pfsr_av400_double) */ ld TMP2, TMP, CI_PFSR_I0 - ld TMP2, TMP2, r0 - extu TMP3, TMP2, 3<16> - bcnd.n ne0, TMP3, 1f - st r0, TMP2, r0 - ld TMP2, TMP, CI_PFSR_I1 - ld TMP2, TMP2, r0 + ld TMP3, TMP2, r0 + extu TMP3, TMP3, 3<16> + bcnd ne0, TMP3, 1f st r0, TMP2, r0 + ld TMP2, TMP, CI_PFSR_I1 1: - st TMP2, r31, REG_OFF(EF_IPFSR) + ld TMP3, TMP2, r0 + st r0, TMP2, r0 + st TMP3, r31, REG_OFF(EF_IPFSR) ld TMP2, TMP, CI_PFSR_D0 - ld TMP2, TMP2, r0 - extu TMP3, TMP2, 3<16> - bcnd.n ne0, TMP3, 2f - st r0, TMP2, r0 - ld TMP2, TMP, CI_PFSR_D1 - ld TMP2, TMP2, r0 + ld TMP3, TMP2, r0 + extu TMP3, TMP3, 3<16> + bcnd ne0, TMP3, 2f st r0, TMP2, r0 + ld TMP2, TMP, CI_PFSR_D1 2: + ld TMP3, TMP2, r0 + st r0, TMP2, r0 br.n _ASM_LABEL(pfsr_done) - st TMP2, r31, REG_OFF(EF_DPFSR) + st TMP3, r31, REG_OFF(EF_DPFSR) ASLOCAL(pfsr_av400_straight) /* |