]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp.c-c++-common/pr109062.c: Fix expected spin count for hybrid x86
authorTobias Burnus <tburnus@baylibre.com>
Mon, 11 Nov 2024 16:22:20 +0000 (17:22 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Mon, 11 Nov 2024 16:22:20 +0000 (17:22 +0100)
commit51147890383b89947c673ffd8d7c2cbd675261bd
tree848ffc456f7553dfd7d4d8dba1a67b83f1700b89
parent3d498cfe022f6e035ff24e0d78ff744da83ebf42
libgomp.c-c++-common/pr109062.c: Fix expected spin count for hybrid x86

On my system with E and P cores (hybrid) x86, the spincount is by default 1
and not 300000, cf. PR109812 and r14-4571-ge1e127de18dbee.

Hence, this commit updates the expected value of the testcase to also
accept omp_display_env showing "GOMP_SPINCOUNT = '1'" - but only for
x86-64, which might be hybrid.

libgomp/ChangeLog:

* testsuite/libgomp.c-c++-common/pr109062.c: Update dg-output
to also accept GOMP_SPINCOUNT = 1 for x86-64.
libgomp/testsuite/libgomp.c-c++-common/pr109062.c