Replaced some incorrect hi16s with ha16s.
authorDavid Given <dg@cowlark.com>
Mon, 10 Sep 2018 21:21:54 +0000 (23:21 +0200)
committerDavid Given <dg@cowlark.com>
Mon, 10 Sep 2018 21:21:54 +0000 (23:21 +0200)
mach/mips/libem/c_ud_i.s
mach/mips/libem/c_uf_i.s
mach/mips/libem/c_ui_d.s
mach/mips/libem/c_ui_f.s

index ed2c647..5af8848 100644 (file)
@@ -9,7 +9,7 @@
         * Only at and f30/f31 may be used.
         */
 
-       ori at, zero, hi16[.fd_80000000]
+       li at, ha16[.fd_80000000]
        ldc1 f30, lo16[.fd_80000000] (at)
        c.le.d 0, f30, f0
        bc1t toobig
index 8d7129c..1a3c2a1 100644 (file)
@@ -12,7 +12,7 @@
         * Only at and f30/f31 may be used.
         */
 
-       ori at, zero, hi16[.ff_80000000]
+       li at, ha16[.ff_80000000]
        lwc1 f30, lo16[.ff_80000000] (at)
        c.le.s 0, f30, f0
        bc1t toobig
index 0d339b7..ef987d5 100644 (file)
@@ -13,7 +13,7 @@
        bgez r2, nonnegative
        nop
 
-       ori at, zero, hi16[.fd_100000000]
+       li at, ha16[.fd_100000000]
        ldc1 f30, lo16[.fd_100000000] (at)
        add.d f0, f0, f30
 nonnegative:
index 7c1a05d..f54179f 100644 (file)
@@ -13,7 +13,7 @@
        bgez r2, nonnegative
        nop
 
-       ori at, zero, hi16[.fs_100000000]
+       li at, ha16[.fs_100000000]
        ldc1 f30, lo16[.fs_100000000] (at)
        add.d f0, f0, f30
 nonnegative: