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)
This commit is contained in:
parent
ee09cb0bfb
commit
23e00b90da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290349
@ -179,12 +179,12 @@ vfp_bounce(u_int addr, u_int insn, struct trapframe *frame, int code)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user