]> gcc.gnu.org Git - gcc.git/commit
s390: fix htm-builtins test cases
authorJuergen Christ <jchrist@linux.ibm.com>
Wed, 25 Oct 2023 12:57:03 +0000 (14:57 +0200)
committerJuergen Christ <jchrist@linux.ibm.com>
Thu, 14 Mar 2024 13:06:56 +0000 (14:06 +0100)
commit075104eef6d0ff215c394b6eaadcb525fa7c4975
tree7fa8b2d050f2a0dc486fd4e380c85415656d4a0c
parente6836bbbd7a01af0791c02087e568b4822418c0d
s390: fix htm-builtins test cases

Transactional and non-transactional stores to the same cache line cause
transactions to abort on newer generations.  Add sufficient padding to make
sure another cache line is used.

Tested on s390.

gcc/testsuite/ChangeLog:

* gcc.target/s390/htm-builtins-1.c: Fix.
* gcc.target/s390/htm-builtins-2.c: Fix.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
gcc/testsuite/gcc.target/s390/htm-builtins-1.c
gcc/testsuite/gcc.target/s390/htm-builtins-2.c
This page took 0.063052 seconds and 6 git commands to generate.