testsuite: Adjust patchable_function tests for mmix.
authorHans-Peter Nilsson <hp@bitrange.com>
Fri, 24 Jul 2020 21:50:05 +0000 (23:50 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Fri, 24 Jul 2020 21:50:05 +0000 (23:50 +0200)
commit52cdac6823237d0ff46f245f35b44a24b8c9fc63
treeea65fbb89bd51820443a5df8c023a80c7eef570a
parent07c70c29affe7c6d01ab37cc7bc725fd1351f668
testsuite: Adjust patchable_function tests for mmix.

There's no reason anyone would want to use the "patchable function"
feature for MMIX and also no reason to exclude those tests.  For MMIX,
the NOP equivalent is SWYM ("swymming" is a healthy exercise).
Text-wise, making the tests pass by adjusting the regexp, is shorter,
and it seems unlikely to both appear as a mnemonic for other targets
*and* being emitted in uppercase.

gcc/testsuite:

* c-c++-common/patchable_function_entry-decl.c,
c-c++-common/patchable_function_entry-default.c,
c-c++-common/patchable_function_entry-definition.c: Adjust for mmix.
gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
gcc/testsuite/c-c++-common/patchable_function_entry-default.c
gcc/testsuite/c-c++-common/patchable_function_entry-definition.c