From 3122946a6f45420ef761177b552c4dbdb7533dff Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 10 Sep 2018 23:21:54 +0200 Subject: [PATCH] Replaced some incorrect hi16s with ha16s. --- mach/mips/libem/c_ud_i.s | 2 +- mach/mips/libem/c_uf_i.s | 2 +- mach/mips/libem/c_ui_d.s | 2 +- mach/mips/libem/c_ui_f.s | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mach/mips/libem/c_ud_i.s b/mach/mips/libem/c_ud_i.s index ed2c6479e..5af88483d 100644 --- a/mach/mips/libem/c_ud_i.s +++ b/mach/mips/libem/c_ud_i.s @@ -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 diff --git a/mach/mips/libem/c_uf_i.s b/mach/mips/libem/c_uf_i.s index 8d7129cad..1a3c2a1f7 100644 --- a/mach/mips/libem/c_uf_i.s +++ b/mach/mips/libem/c_uf_i.s @@ -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 diff --git a/mach/mips/libem/c_ui_d.s b/mach/mips/libem/c_ui_d.s index 0d339b702..ef987d50d 100644 --- a/mach/mips/libem/c_ui_d.s +++ b/mach/mips/libem/c_ui_d.s @@ -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: diff --git a/mach/mips/libem/c_ui_f.s b/mach/mips/libem/c_ui_f.s index 7c1a05d6a..f54179fb8 100644 --- a/mach/mips/libem/c_ui_f.s +++ b/mach/mips/libem/c_ui_f.s @@ -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: -- 2.34.1