Replaced some incorrect hi16s with ha16s.

This commit is contained in:
David Given 2018-09-10 23:21:54 +02:00
parent 008737ed19
commit 3122946a6f
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
* Only at and f30/f31 may be used. * 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) ldc1 f30, lo16[.fd_80000000] (at)
c.le.d 0, f30, f0 c.le.d 0, f30, f0
bc1t toobig bc1t toobig

View file

@ -12,7 +12,7 @@
* Only at and f30/f31 may be used. * 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) lwc1 f30, lo16[.ff_80000000] (at)
c.le.s 0, f30, f0 c.le.s 0, f30, f0
bc1t toobig bc1t toobig

View file

@ -13,7 +13,7 @@
bgez r2, nonnegative bgez r2, nonnegative
nop nop
ori at, zero, hi16[.fd_100000000] li at, ha16[.fd_100000000]
ldc1 f30, lo16[.fd_100000000] (at) ldc1 f30, lo16[.fd_100000000] (at)
add.d f0, f0, f30 add.d f0, f0, f30
nonnegative: nonnegative:

View file

@ -13,7 +13,7 @@
bgez r2, nonnegative bgez r2, nonnegative
nop nop
ori at, zero, hi16[.fs_100000000] li at, ha16[.fs_100000000]
ldc1 f30, lo16[.fs_100000000] (at) ldc1 f30, lo16[.fs_100000000] (at)
add.d f0, f0, f30 add.d f0, f0, f30
nonnegative: nonnegative: