|
From: <sv...@va...> - 2013-10-11 06:05:37
|
Author: dejanj
Date: Fri Oct 11 06:05:24 2013
New Revision: 13634
Log:
mips64: Prevent testing swc1 and swxc1 with the uninitialized memory values on
big endian platrofms.
Modified:
trunk/none/tests/mips64/fpu_load_store.c
trunk/none/tests/mips64/fpu_load_store.stdout.exp-BE
trunk/none/tests/mips64/fpu_load_store.stdout.exp-LE
Modified: trunk/none/tests/mips64/fpu_load_store.c
==============================================================================
--- trunk/none/tests/mips64/fpu_load_store.c (original)
+++ trunk/none/tests/mips64/fpu_load_store.c Fri Oct 11 06:05:24 2013
@@ -49,7 +49,7 @@
init_reg_val_zero();
printf("--- SWC1 ---\n");
- for (i = 0; i < N*s1; i = i+4) {
+ for (i = 0; i < (N-1)*s1; i = i+4) {
TEST4("swc1", i);
}
@@ -61,7 +61,7 @@
init_reg_val_zero();
printf("--- SWXC1 ---\n");
- for (i = 0; i < N*s1; i = i+4) {
+ for (i = 0; i < (N-1)*s1; i = i+4) {
TEST6("swxc1", i);
}
Modified: trunk/none/tests/mips64/fpu_load_store.stdout.exp-BE
==============================================================================
--- trunk/none/tests/mips64/fpu_load_store.stdout.exp-BE (original)
+++ trunk/none/tests/mips64/fpu_load_store.stdout.exp-BE Fri Oct 11 06:05:24 2013
@@ -2691,7 +2691,6 @@
swc1 :: offset: 0x3f0, out: 0xb8757bda00000000
swc1 :: offset: 0x3f4, out: 0xb5365d0300000000
swc1 :: offset: 0x3f8, out: 0xb1f740b400000000
-swc1 :: offset: 0x3fc, out: 0xc22032c600000000
--- SDXC1 ---
sdxc1 :: offset: 0x0, out: 0x12bd6aa
sdxc1 :: offset: 0x8, out: 0x0
@@ -3077,4 +3076,3 @@
swxc1 :: offset: 0x3f0, out: 0xd519d32200000000
swxc1 :: offset: 0x3f4, out: 0xde230867
swxc1 :: offset: 0x3f8, out: 0xde23086700000000
-swxc1 :: offset: 0x3fc, out: 0xa630f6ad
Modified: trunk/none/tests/mips64/fpu_load_store.stdout.exp-LE
==============================================================================
--- trunk/none/tests/mips64/fpu_load_store.stdout.exp-LE (original)
+++ trunk/none/tests/mips64/fpu_load_store.stdout.exp-LE Fri Oct 11 06:05:24 2013
@@ -2691,7 +2691,6 @@
swc1 :: offset: 0x3f0, out: 0xbcb4666d
swc1 :: offset: 0x3f4, out: 0xb8757bda
swc1 :: offset: 0x3f8, out: 0xb5365d03
-swc1 :: offset: 0x3fc, out: 0xb1f740b4
--- SDXC1 ---
sdxc1 :: offset: 0x0, out: 0x12bd6aa
sdxc1 :: offset: 0x8, out: 0x0
@@ -3077,4 +3076,3 @@
swxc1 :: offset: 0x3f0, out: 0xd519d322
swxc1 :: offset: 0x3f4, out: 0x75bfafd200000000
swxc1 :: offset: 0x3f8, out: 0x75bfafd2
-swxc1 :: offset: 0x3fc, out: 0xa630f6ad00000000
|