The Signal Processing Engine (SPE) found in Freescale e500 cores (and
others) offloads IEEE-754 compliance (NaN, Inf handling, overflow,
underflow) to software, most likely as a means of simplifying the APU
silicon. Some software, like AbiWord, needs full IEEE-754 compliance,
including NaN handling. Implement the necessary bits to enable it.
Details
Details
- Reviewers
nwhitehorn - Commits
- rS339514: powerpcspe: Implement SPE exception handling
Tested on a P1022, both a simple floating point program and polkitd.
polkitd uses spidermonkey, and is a great test for FPU conformance.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 20021 Build 19525: arc lint + arc unit
Event Timeline
Comment Actions
Aside from one inline note, this looks OK for non-SPE.
sys/powerpc/booke/spe.c | ||
---|---|---|
126 | Doesn't this break on non-SPE systems? |
sys/powerpc/booke/spe.c | ||
---|---|---|
126 | spe.c is only built for powerpcspe, so no :) |