]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips64: Prevent testing swc1 and swxc1 with the uninitialized memory values on
authorDejan Jevtic <dejan.jevtic@valgrind.org>
Fri, 11 Oct 2013 06:05:24 +0000 (06:05 +0000)
committerDejan Jevtic <dejan.jevtic@valgrind.org>
Fri, 11 Oct 2013 06:05:24 +0000 (06:05 +0000)
big endian platrofms.

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

none/tests/mips64/fpu_load_store.c
none/tests/mips64/fpu_load_store.stdout.exp-BE
none/tests/mips64/fpu_load_store.stdout.exp-LE

index c056c4fc8e0a07e31ff90b54b22f744b851a761b..124e52603527c3a54d685649c2dca68db001dfdd 100644 (file)
@@ -49,7 +49,7 @@ int main()
 
    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 @@ int main()
 
    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);
    }
 
index cddc9d22bf98cf85c0eaa89f95d3be0aac000519..bce2fa3fa43f174753e98a8dce63c4de8af8b43a 100644 (file)
@@ -2691,7 +2691,6 @@ swc1 :: offset: 0x3ec, out: 0xbcb4666d00000000
 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: 0x3ec, out: 0xd519d322
 swxc1 :: offset: 0x3f0, out: 0xd519d32200000000
 swxc1 :: offset: 0x3f4, out: 0xde230867
 swxc1 :: offset: 0x3f8, out: 0xde23086700000000
-swxc1 :: offset: 0x3fc, out: 0xa630f6ad
index 80c18e860b55920532f4a2303218eea6c9f5d823..ab0836ce59288d5a0931955b11aabd96249f0d86 100644 (file)
@@ -2691,7 +2691,6 @@ swc1 :: offset: 0x3ec, out: 0xa2f33668
 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: 0x3ec, out: 0xd519d32200000000
 swxc1 :: offset: 0x3f0, out: 0xd519d322
 swxc1 :: offset: 0x3f4, out: 0x75bfafd200000000
 swxc1 :: offset: 0x3f8, out: 0x75bfafd2
-swxc1 :: offset: 0x3fc, out: 0xa630f6ad00000000