-/* $OpenBSD: fp_emulate.c,v 1.10 2015/01/02 22:38:46 sebastia Exp $ */
+/* $OpenBSD: fp_emulate.c,v 1.11 2015/05/05 21:24:58 jmatthew Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
sv->sival_ptr = (void *)va;
return SIGBUS;
}
-#ifdef __MIPSEB__
- va ^= 4;
-#endif
if (copyin((const void *)va, &wdata, sizeof wdata) != 0) {
sv->sival_ptr = (void *)va;
return SIGSEGV;
sv->sival_ptr = (void *)va;
return SIGBUS;
}
-#ifdef __MIPSEB__
- va ^= 4;
-#endif
wdata = regs[FPBASE + inst.FQType.fs];
if (copyout(&wdata, (void *)va, sizeof wdata) != 0) {
sv->sival_ptr = (void *)va;
sv->sival_ptr = (void *)va;
return SIGBUS;
}
-#ifdef __MIPSEB__
- va ^= 4;
-#endif
if (copyin((const void *)va, &wdata, sizeof wdata) != 0) {
sv->sival_ptr = (void *)va;
return SIGSEGV;
sv->sival_ptr = (void *)va;
return SIGBUS;
}
-#ifdef __MIPSEB__
- va ^= 4;
-#endif
wdata = regs[FPBASE + inst.IType.rt];
if (copyout(&wdata, (void *)va, sizeof wdata) != 0) {
sv->sival_ptr = (void *)va;