aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-08-16 14:28:46 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-08-16 12:28:46 +0000
commitbeab2da675f6b35f261466d8f1340fdf78c46826 (patch)
treeb0c29b47c95efff0d507e2727b99e93febef5c65
parent32917686b0ebb596fe0d783328a771c4dfd759ef (diff)
downloadgcc-beab2da675f6b35f261466d8f1340fdf78c46826.zip
gcc-beab2da675f6b35f261466d8f1340fdf78c46826.tar.gz
gcc-beab2da675f6b35f261466d8f1340fdf78c46826.tar.bz2
Fix val-prof-7.c on --target_board 'unix/-m32'
* gcc.dg/tree-prof/val-prof-7.c (int main): Change size of memory operations so that it can be handled by core2 in 32-bit mode. From-SVN: r239498
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c22
2 files changed, 17 insertions, 11 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1074911..bd2a2d9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-16 Martin Liska <mliska@suse.cz>
+
+ * gcc.dg/tree-prof/val-prof-7.c (int main): Change size
+ of memory operations so that it can be handled by core2
+ in 32-bit mode.
+
2016-08-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/76783
diff --git a/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c b/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
index 3e636aa..84ec9fb 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
@@ -57,25 +57,25 @@ int main() {
buffer1 = __builtin_malloc (1000);
buffer2 = __builtin_malloc (1000);
- test_stringops_with_values_0 (8, 111);
- test_stringops_with_values_1 (111, 111);
- test_stringops_with_values_2 (257, 111);
+ test_stringops_with_values_0 (8, 55);
+ test_stringops_with_values_1 (55, 55);
+ test_stringops_with_values_2 (257, 55);
return 0;
}
/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 8 stringop transformation on __builtin_bzero" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 111 stringop transformation on __builtin_bzero" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 257 stringop transformation on __builtin_bzero" 0 "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 55 stringop transformation on __builtin_bzero" "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 32 stringop transformation on __builtin_bzero" 0 "profile" } } */
/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 8 stringop transformation on __builtin_memcpy" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 111 stringop transformation on __builtin_memcpy" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 257 stringop transformation on __builtin_memcpy" 0 "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 55 stringop transformation on __builtin_memcpy" "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 32 stringop transformation on __builtin_memcpy" 0 "profile" } } */
/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 8 stringop transformation on __builtin_mempcpy" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 111 stringop transformation on __builtin_mempcpy" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 257 stringop transformation on __builtin_mempcpy" 0 "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 55 stringop transformation on __builtin_mempcpy" "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 32 stringop transformation on __builtin_mempcpy" 0 "profile" } } */
/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 8 stringop transformation on __builtin_memset" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 111 stringop transformation on __builtin_memset" "profile" } } */
-/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 257 stringop transformation on __builtin_memset" 0 "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump "Single value 55 stringop transformation on __builtin_memset" "profile" } } */
+/* { dg-final-use-not-autofdo { scan-ipa-dump-times "Single value 32 stringop transformation on __builtin_memset" 0 "profile" } } */