diff mbox

S390: Lower requirements for successful htm tests.

Message ID 20161118134830.GA2634@linux.vnet.ibm.com
State New
Headers show

Commit Message

Dominik Vogt Nov. 18, 2016, 1:48 p.m. UTC
The attached patch makes the htm tests on s390 less sensitive to
spurious abort.  Please check the commit comment for details.  The
modified tests have been run once on a zEC12.

Ciao

Dominik ^_^  ^_^

Comments

Andreas Krebbel Nov. 18, 2016, 2:51 p.m. UTC | #1
On Fri, Nov 18, 2016 at 02:48:30PM +0100, Dominik Vogt wrote:
> gcc/testsuite/ChangeLog
> 
> 	* gcc.target/s390/htm-builtins-1.c (DEFAULT_MAX_REPETITIONS)
> 	(DEFAULT_REQUIRED_QUORUM, NUM_WARMUP_RUNS): Lower requirements for
> 	successful test.
> 	* gcc.target/s390/htm-builtins-2.c (DEFAULT_MAX_REPETITIONS)
> 	(DEFAULT_REQUIRED_QUORUM): Likewise.

Applied. Thanks!

-Andreas-
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/s390/htm-builtins-1.c b/gcc/testsuite/gcc.target/s390/htm-builtins-1.c
index c90490f..ff43be9 100644
--- a/gcc/testsuite/gcc.target/s390/htm-builtins-1.c
+++ b/gcc/testsuite/gcc.target/s390/htm-builtins-1.c
@@ -13,9 +13,9 @@ 
 
 /* ---------------------------- local definitions -------------------------- */
 
-#define DEFAULT_MAX_REPETITIONS 5
-#define DEFAULT_REQUIRED_QUORUM ((DEFAULT_MAX_REPETITIONS) - 1)
-#define NUM_WARMUP_RUNS 10
+#define DEFAULT_MAX_REPETITIONS 7
+#define DEFAULT_REQUIRED_QUORUM 4
+#define NUM_WARMUP_RUNS 2
 
 /* ---------------------------- local macros ------------------------------- */
 
diff --git a/gcc/testsuite/gcc.target/s390/htm-builtins-2.c b/gcc/testsuite/gcc.target/s390/htm-builtins-2.c
index 15b0d12..bb9d346 100644
--- a/gcc/testsuite/gcc.target/s390/htm-builtins-2.c
+++ b/gcc/testsuite/gcc.target/s390/htm-builtins-2.c
@@ -13,8 +13,8 @@ 
 
 /* ---------------------------- local definitions -------------------------- */
 
-#define DEFAULT_MAX_REPETITIONS 5
-#define DEFAULT_REQUIRED_QUORUM ((DEFAULT_MAX_REPETITIONS) - 1)
+#define DEFAULT_MAX_REPETITIONS 7
+#define DEFAULT_REQUIRED_QUORUM 4
 #define DEFAULT_ABORT_ADDRESS (0x12345678u)
 
 /* ---------------------------- local macros ------------------------------- */