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.
gcc/ChangeLog:
2016-11-18 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_stack_info): PR/77359: Properly align
local variables in functions calling alloca. Also update the ASCII
drawings
* config/rs6000/rs6000.h (STARTING_FRAME_OFFSET, STACK_DYNAMIC_OFFSET):
PR/77359: Likewise.
* config/rs6000/aix.h (STARTING_FRAME_OFFSET, STACK_DYNAMIC_OFFSET):
PR/77359: Copy AIX specific versions of the rs6000.h macros to aix.h.
From-SVN: r242591
+2016-11-18 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ * 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.
+
2016-11-18 Andrew Bennett <andrew.bennett@imgtec.com>
Toma Tabacu <toma.tabacu@imgtec.com>
/* ---------------------------- 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 ------------------------------- */
/* ---------------------------- 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 ------------------------------- */