summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/fpu
Commit message (Collapse)AuthorAgeFilesLines
* Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it forjhb2013-12-051-8/+13
| | | | | | powerpc64. This fixes the LINT64 kernel config. Approved by: nwhitehorn (the idea, not the actual patch)
* Fix undefined behavior: (1 << 31) is not defined as 1 is an int and thiseadler2013-11-302-4/+4
| | | | | | | | | | | | | shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva
* Make single precision floating point arithmetic actually work -- I thinknwhitehorn2013-11-172-3/+13
| | | | | | | | it never did -- and fix an obvious missing line. Floating point emulation on Book-E still needs some work but this gets it basically functional on soft-FPU systems (hard FPU for Book-E is not yet implemented). MFC after: 1 week
* Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.ed2011-11-071-1/+1
| | | | | | The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static.
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-031-7/+0
| | | | | | their software. Obtained from: NetBSD
* Include <sys/types.h> before <sys/systm.h> to get typedefs requiredgrehan2008-04-098-8/+8
| | | | by new atomic.h. Fixes tinderbox LINT build.
* Don't define DEBUG. No debugging required.marcel2008-02-241-2/+0
| | | | Pointy hat: marcel
* Resolve warnings exposed by LINT.marcel2008-02-245-26/+5
| | | | | o Put prototypes in a single header only. o Fix printf format specifiers.
* Add a floating-point emulator so that a single userland or single ABImarcel2008-02-2313-0/+3880
can run on processors that don't have a FPU. This is typically the case for Book E processors. While a tuned system will probably want to use soft-float (or use a processor that has a FPU if the usage is FP intensive enough), allowing hard-float on FPU-less systems gives great portability and flexibility. Obtained from: NetBSD
OpenPOWER on IntegriCloud