diff options
Diffstat (limited to 'lib/libc/powerpcspe/gen/fabs.S')
-rw-r--r-- | lib/libc/powerpcspe/gen/fabs.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/powerpcspe/gen/fabs.S b/lib/libc/powerpcspe/gen/fabs.S index da806f025394..4fb08d63b6f1 100644 --- a/lib/libc/powerpcspe/gen/fabs.S +++ b/lib/libc/powerpcspe/gen/fabs.S @@ -31,7 +31,8 @@ __FBSDID("$FreeBSD$"); * double fabs(double) */ ENTRY(fabs) - efdabs %f1,%f1 + /* arg is split in two words, clear sign bit only, in r3. */ + clrlwi %r3,%r3,1 blr END(fabs) |