问题
I am using OMAP3515 processor (Generic CortexA8 Device) for my project, I was working on exception handling but this processor dos not generate any exception when any divide by zero instruction is given , it simply goes not next instruction. I want to know whether any configuration available to generate divide by zero exception.
回答1:
Cortex A8 does not support divide-by-zero for integer operations. Other than normal interrupts and debug exceptions, the only fault exceptions supported are data abort, prefetch abort, and undefined instruction
The VFP supports divide-by-zero exceptions for floating point operations, which must be explicitly enabled via the FPSCR DZE bit.
来源:https://stackoverflow.com/questions/27719441/divide-by-zero-exception-in-arm-omap3515-processor