svn commit: r290349 - head/sys/arm/arm
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Nov 4 04:02:01 UTC 2015
Author: gonzo
Date: Wed Nov 4 04:01:59 2015
New Revision: 290349
URL: https://svnweb.freebsd.org/changeset/base/290349
Log:
Revert r290243, it's vaid "illegal instruction" case
DEX bit is set to 1 and exception raised whenever vectorized operation is
attempted on the VFP implementation that does not support it (i.e. on Cortex A7)
Modified:
head/sys/arm/arm/vfp.c
Modified: head/sys/arm/arm/vfp.c
==============================================================================
--- head/sys/arm/arm/vfp.c Wed Nov 4 01:00:42 2015 (r290348)
+++ head/sys/arm/arm/vfp.c Wed Nov 4 04:01:59 2015 (r290349)
@@ -179,12 +179,12 @@ vfp_bounce(u_int addr, u_int insn, struc
fpexc = fmrx(fpexc);
if (fpexc & VFPEXC_EN) {
/* Clear any exceptions */
- fmxr(fpexc, fpexc & ~(VFPEXC_EX | VFPEXC_DEX | VFPEXC_FP2V));
+ fmxr(fpexc, fpexc & ~(VFPEXC_EX | VFPEXC_FP2V));
/* kill the process - we do not handle emulation */
critical_exit();
- if (fpexc & (VFPEXC_EX | VFPEXC_DEX)) {
+ if (fpexc & VFPEXC_EX) {
/* We have an exception, signal a SIGFPE */
ksiginfo_init_trap(&ksi);
ksi.ksi_signo = SIGFPE;
More information about the svn-src-all
mailing list