]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: fix wrong register use
authorPetar Jovanovic <mips32r2@gmail.com>
Fri, 19 May 2017 13:25:41 +0000 (13:25 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Fri, 19 May 2017 13:25:41 +0000 (13:25 +0000)
Fix wrong register use in none/tests/mips32/MoveIns.c.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16399

none/tests/mips32/MoveIns.c
none/tests/mips32/MoveIns.stdout.exp-mips32r2-BE
none/tests/mips32/MoveIns.stdout.exp-mips32r2-LE

index ce2cb1332fe9b1d3f5a97fb75db893d7ec3dd72c..691a7968c889f452d9bf964131f395595dfc3f51 100644 (file)
@@ -354,7 +354,7 @@ int main()
    TESTINSNMOVEtd("mthc1 $v1, $f6",  12,  24,  f6, v1);
    TESTINSNMOVEtd("mthc1 $a0, $f8",  16,  32,  f8, a0);
    TESTINSNMOVEtd("mthc1 $a1, $f10", 20,  40, f10, a1);
-   TESTINSNMOVEtd("mthc1 $a2, $f12", 24,  48, f12, a1);
+   TESTINSNMOVEtd("mthc1 $a2, $f12", 24,  48, f12, a2);
    TESTINSNMOVEtd("mthc1 $a3, $f14", 28,  56, f14, a3);
    TESTINSNMOVEtd("mthc1 $s0, $f16", 32,  64, f16, s0);
    TESTINSNMOVEtd("mthc1 $s1, $f18", 36,  72, f18, s1);
index a354f3bda3faf39e7718bbd83d421e02f34f36fe..5351d4ec3a6337d125859468028a326150e3c8f2 100644 (file)
@@ -78,7 +78,7 @@ mthc1 $v0, $f4 :: out: bff0000007788000
 mthc1 $v1, $f6 :: out: 36500000
 mthc1 $a0, $f8 :: out: 3ff0000056789600
 mthc1 $a1, $f10 :: out: 78000000
-mthc1 $a2, $f12 :: out: 1252a2e2b
+mthc1 $a2, $f12 :: out: 252a2e2b252a2e2b
 mthc1 $a3, $f14 :: out: 262d2d2a962d2d2a
 mthc1 $s0, $f16 :: out: ffffffff87654321
 mthc1 $s1, $f18 :: out: ffffffff68466667
index 22f1ab95f6b97ab54ac4c59b0d5d23d68fa9a24b..9c0650bb43765de651dce21540c12054bef68272 100644 (file)
@@ -78,7 +78,7 @@ mthc1 $v0, $f4 :: out: bff0000007788000
 mthc1 $v1, $f6 :: out: 36500000
 mthc1 $a0, $f8 :: out: 3ff0000056789600
 mthc1 $a1, $f10 :: out: 78000000
-mthc1 $a2, $f12 :: out: 1252a2e2b
+mthc1 $a2, $f12 :: out: 252a2e2b252a2e2b
 mthc1 $a3, $f14 :: out: 262d2d2a962d2d2a
 mthc1 $s0, $f16 :: out: ffffffff87654321
 mthc1 $s1, $f18 :: out: ffffffff68466667