]> granicus.if.org Git - musl/commitdiff
fix mips fesetenv(FE_DFL_ENV) again
authorRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2015 02:19:58 +0000 (22:19 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2015 02:19:58 +0000 (22:19 -0400)
commit 5fc1487832e16aa2119e735a388d5f36c8c139e2 attempted to fix it,
but neglected the fact that mips has branch delay slots.

src/fenv/mips/fenv.s

index a3233c1e538e90417047c64b246842a67059e732..9b45ffc3291f44575a66876c36f9057ce6949f84 100644 (file)
@@ -59,6 +59,7 @@ fegetenv:
 fesetenv:
        addiu   $5, $4, 1
        beq     $5, $0, 1f
+        nop
        lw      $5, 0($4)
 1:     ctc1    $5, $31
        jr      $ra