summaryrefslogtreecommitdiff
path: root/src/fenv
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-27 18:54:46 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-27 18:54:46 -0400
commitebc87349fef4f460abc3991c58f38d76c309bc6b (patch)
treeedb8c9a4d08c8689e501d2cfcb2a2ce45bb2e347 /src/fenv
parenta543369e3b06a51eacd392c738fc10c5267a195f (diff)
downloadmusl-ebc87349fef4f460abc3991c58f38d76c309bc6b.tar.gz
musl-ebc87349fef4f460abc3991c58f38d76c309bc6b.tar.bz2
musl-ebc87349fef4f460abc3991c58f38d76c309bc6b.tar.xz
musl-ebc87349fef4f460abc3991c58f38d76c309bc6b.zip
fix invalid instruction mnemonics in powerpc fenv asm
there is no non-dot version of the andis instruction, but there's no harm in updating the flags anyway, so just use the dot version.
Diffstat (limited to 'src/fenv')
-rw-r--r--src/fenv/powerpc/fenv.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fenv/powerpc/fenv.s b/src/fenv/powerpc/fenv.s
index 3886d168..e34a9990 100644
--- a/src/fenv/powerpc/fenv.s
+++ b/src/fenv/powerpc/fenv.s
@@ -1,7 +1,7 @@
.global feclearexcept
.type feclearexcept,@function
feclearexcept:
- andis 3,3,0x3e00
+ andis. 3,3,0x3e00
# if (r3 & FE_INVALID) r3 |= all_invalid_flags
andis. 0,3,0x2000
stwu 1,-16(1)
@@ -29,7 +29,7 @@ feclearexcept:
.global feraiseexcept
.type feraiseexcept,@function
feraiseexcept:
- andis 3,3,0x3e00
+ andis. 3,3,0x3e00
# if (r3 & FE_INVALID) r3 |= software_invalid_flag
andis. 0,3,0x2000
stwu 1,-16(1)
@@ -53,7 +53,7 @@ feraiseexcept:
.global fetestexcept
.type fetestexcept,@function
fetestexcept:
- andis 3,3,0x3e00
+ andis. 3,3,0x3e00
# return r3 & fpscr
stwu 1,-16(1)
mffs 0