]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips: use putDReg/getDReg for ceil.l.d
authorPetar Jovanovic <mips32r2@gmail.com>
Thu, 9 Oct 2014 01:01:57 +0000 (01:01 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Thu, 9 Oct 2014 01:01:57 +0000 (01:01 +0000)
For better clarity and consistency, use putDReg/getDReg instead of
putFReg/getFReg for ceil.l.d.
Non-functional change.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2971

VEX/priv/guest_mips_toIR.c

index c47ff9280c23ae593ac6c4e0373aeb3357a7ea8e..77263d14702b6667b5ea426a59f31a9f09755493 100644 (file)
@@ -13371,8 +13371,8 @@ static DisResult disInstr_MIPS_WRK ( Bool(*resteerOkFn) (/*opaque */void *,
                      DIP("ceil.l.d %d, %d", fd, fs);
                      if (fp_mode64) {
                         calculateFCSR(fs, 0, CEILLD, False, 1);
-                        putFReg(fd, binop(Iop_RoundF64toInt, mkU32(0x2),
-                                          getFReg(fs)));
+                        putDReg(fd, binop(Iop_RoundF64toInt, mkU32(0x2),
+                                          getDReg(fs)));
                      } else {
                         ILLEGAL_INSTRUCTON;
                      }