- Fix incorrect operation on 32-bit caused by incorrectly-sized storage for a temporary FPSCR.
- Fix several whitespace problems.
- Don't unconditionally try to enable VSX during cleanup_fpscr().
Details
Details
- Reviewers
jhibbits alfredo - Commits
- rS368604: [PowerPC] Floating-point exception trap followup
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/powerpc/powerpc/fpu.c | ||
---|---|---|
221–224 ↗ | (On Diff #80250) | I don't think PSL_VSX is needed here at all. |
sys/powerpc/powerpc/fpu.c | ||
---|---|---|
221–224 ↗ | (On Diff #80250) | Yeah, FPSCR has VXSOFT bit that is being cleared, but documentation doesn't mention PSL_VSX bit should be enabled when manipulating FPSCR. PSL_FP is mandatory |