|
From: <sv...@va...> - 2017-05-19 13:25:49
|
Author: petarj
Date: Fri May 19 14:25:41 2017
New Revision: 16399
Log:
mips32: fix wrong register use
Fix wrong register use in none/tests/mips32/MoveIns.c.
Modified:
trunk/none/tests/mips32/MoveIns.c
trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-BE
trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-LE
Modified: trunk/none/tests/mips32/MoveIns.c
==============================================================================
--- trunk/none/tests/mips32/MoveIns.c (original)
+++ trunk/none/tests/mips32/MoveIns.c Fri May 19 14:25:41 2017
@@ -354,7 +354,7 @@
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);
Modified: trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-BE
==============================================================================
--- trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-BE (original)
+++ trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-BE Fri May 19 14:25:41 2017
@@ -78,7 +78,7 @@
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
Modified: trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-LE
==============================================================================
--- trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-LE (original)
+++ trunk/none/tests/mips32/MoveIns.stdout.exp-mips32r2-LE Fri May 19 14:25:41 2017
@@ -78,7 +78,7 @@
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
|