From 9170437b040010ea0d5cad5a8d73f0307117fd13 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 13 Dec 2011 16:00:09 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 17 ++++++++++------- gcc/testsuite/gcc.target/i386/bmi2-mulx32-1.c | 2 +- gcc/testsuite/gcc.target/i386/bmi2-mulx32-2.c | 2 +- 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 + + 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 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 @@ -96,7 +101,7 @@ * gfortran.dg/warn_function_without_result_2.f90: New. 2011-12-11 Paul Thomas - Tobias Burnus + Tobias Burnus 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 @@ -357,8 +361,7 @@ 2011-12-08 Teresa Johnson - * 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 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); -- 2.7.4