aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2011-12-13 16:00:09 +0100
committerUros Bizjak <uros@gcc.gnu.org>2011-12-13 16:00:09 +0100
commit9170437b040010ea0d5cad5a8d73f0307117fd13 (patch)
tree984e6765039dcebc8b7b4172f75841832b60775c /gcc
parentea973bad53d63fa66e3a6b0446ae95e7e130f30a (diff)
downloadgcc-9170437b040010ea0d5cad5a8d73f0307117fd13.zip
gcc-9170437b040010ea0d5cad5a8d73f0307117fd13.tar.gz
gcc-9170437b040010ea0d5cad5a8d73f0307117fd13.tar.bz2
re PR testsuite/51524 ([BMI2] New regression on 182266 vs 182257)
PR testsuite/51524 * gcc.target/i386/bmi2-mulx32-1.c (gen_mulx): Add attribute regparm(2). * gcc.target/i386/bmi2-mulx32-2.c (calc_mulx_u32): Ditto. From-SVN: r182287
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog17
-rw-r--r--gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c2
3 files changed, 12 insertions, 9 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 849dda0..35230eb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-13 Uros Bizjak <ubizjak@gmail.com>
+
+ PR testsuite/51524
+ * gcc.target/i386/bmi2-mulx32-1.c (gen_mulx): Add attribute regparm(2).
+ * gcc.target/i386/bmi2-mulx32-2.c (calc_mulx_u32): Ditto.
+
2011-12-13 Richard Guenther <rguenther@suse.de>
PR lto/48354
@@ -81,8 +87,7 @@
* gcc.dg/sms-8.c: Add --param sms-min-sc=1. Add dg-options and
change scan-rtl-dump-times for powerpc*-*-*.
* gcc.dg/sms-5.c: Add --param sms-min-sc=1 flag, remove
- powerpc*-*-* from dg-final and avoid superfluous spaces in
- dg-final.
+ powerpc*-*-* from dg-final and avoid superfluous spaces in dg-final.
* gcc.dg/sms-9.c: Remove -fno-auto-inc-dec.
2011-12-11 Jakub Jelinek <jakub@redhat.com>
@@ -96,7 +101,7 @@
* gfortran.dg/warn_function_without_result_2.f90: New.
2011-12-11 Paul Thomas <pault@gcc.gnu.org>
- Tobias Burnus <burnus@gcc.gnu.org>
+ Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/41539
PR fortran/43214
@@ -120,8 +125,7 @@
* gfortran.dg/class_to_type_1.f03: New.
* gfortran.dg/type_to_class_1.f03: New.
* gfortran.dg/typebound_assignment_3.f03: Remove the error.
- * gfortran.dg/auto_dealloc_2.f90: Occurences of __builtin_free
- now 2.
+ * gfortran.dg/auto_dealloc_2.f90: Occurences of __builtin_free now 2.
* gfortran.dg/class_19.f03: Occurences of __builtin_free now 8.
2011-12-11 Thomas Koenig <tkoenig@gcc.gnu.org>
@@ -357,8 +361,7 @@
2011-12-08 Teresa Johnson <tejohnson@google.com>
- * gcc.target/i386/movdi-rex64.c: Remove unnecessary
- unused label.
+ * gcc.target/i386/movdi-rex64.c: Remove unnecessary unused label.
2011-12-08 Teresa Johnson <tejohnson@google.com>
diff --git a/gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c b/gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c
index a90ff1a..5e60287 100644
--- a/gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c
+++ b/gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c
@@ -15,7 +15,7 @@ calc_mul_u32 (unsigned volatile a, unsigned b)
return res;
}
-__attribute__((noinline))
+__attribute__((noinline, regparm (2)))
unsigned long long
gen_mulx (unsigned a, unsigned b)
{
diff --git a/gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c b/gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c
index c9f159e..7c99b2d 100644
--- a/gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c
+++ b/gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c
@@ -17,7 +17,7 @@ calc_mul_u32 (unsigned volatile a, unsigned b)
return res;
}
-__attribute__((noinline))
+__attribute__((noinline, regparm (2)))
unsigned calc_mulx_u32 (unsigned x, unsigned y, unsigned *res_h)
{
return (unsigned) _mulx_u32 (x, y, res_h);