testsuite: Fix gcc.target/i386/zero-scratch-regs-*.c scan-asm directives
authorUros Bizjak <ubizjak@gmail.com>
Tue, 3 Nov 2020 12:06:42 +0000 (13:06 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Tue, 3 Nov 2020 12:08:04 +0000 (13:08 +0100)
commita562d44924489d2e82dc61fca4607ab38061b375
treea1263fcb8bc622f966da6b557f2e950d670872f1
parent87a9861b068660bbc5eb94978e1ba0026a4e23b8
testsuite: Fix gcc.target/i386/zero-scratch-regs-*.c scan-asm directives

Improve zero-scratch-regs-*.c scan-asm regexps
and add target selectors for 32bit targets.

2020-11-03  Uroš Bizjak  <ubizjak@gmail.com>

gcc/testsuite/ChangeLog:

* gcc.target/i386/zero-scratch-regs-1.c: Add ia32 target
selector where appropriate.  Improve scan-assembler regexp.
* gcc.target/i386/zero-scratch-regs-2.c: Ditto.
* gcc.target/i386/zero-scratch-regs-3.c: Ditto.
* gcc.target/i386/zero-scratch-regs-4.c: Ditto.
* gcc.target/i386/zero-scratch-regs-5.c: Ditto.
* gcc.target/i386/zero-scratch-regs-6.c: Ditto.
* gcc.target/i386/zero-scratch-regs-7.c: Ditto.
* gcc.target/i386/zero-scratch-regs-8.c: Ditto.
* gcc.target/i386/zero-scratch-regs-9.c: Ditto.
* gcc.target/i386/zero-scratch-regs-10.c: Ditto.
* gcc.target/i386/zero-scratch-regs-13.c: Ditto.
* gcc.target/i386/zero-scratch-regs-14.c: Ditto.
* gcc.target/i386/zero-scratch-regs-15.c: Ditto.
* gcc.target/i386/zero-scratch-regs-16.c: Ditto.
* gcc.target/i386/zero-scratch-regs-17.c: Ditto.
* gcc.target/i386/zero-scratch-regs-18.c: Ditto.
* gcc.target/i386/zero-scratch-regs-19.c: Ditto.
* gcc.target/i386/zero-scratch-regs-20.c: Ditto.
* gcc.target/i386/zero-scratch-regs-21.c: Ditto.
* gcc.target/i386/zero-scratch-regs-22.c: Ditto.
* gcc.target/i386/zero-scratch-regs-23.c: Ditto.
* gcc.target/i386/zero-scratch-regs-24.c: Ditto.
* gcc.target/i386/zero-scratch-regs-25.c: Ditto.
* gcc.target/i386/zero-scratch-regs-26.c: Ditto.
* gcc.target/i386/zero-scratch-regs-27.c: Ditto.
* gcc.target/i386/zero-scratch-regs-28.c: Ditto.
* gcc.target/i386/zero-scratch-regs-29.c: Ditto.
* gcc.target/i386/zero-scratch-regs-30.c: Ditto.
* gcc.target/i386/zero-scratch-regs-31.c: Ditto.
29 files changed:
gcc/testsuite/gcc.target/i386/zero-scratch-regs-1.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-10.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-13.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-14.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-15.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-16.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-17.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-18.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-19.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-2.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-20.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-21.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-22.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-23.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-24.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-25.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-26.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-27.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-28.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-29.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-3.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-30.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-31.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-4.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-5.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-6.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-7.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-8.c
gcc/testsuite/gcc.target/i386/zero-scratch-regs-9.c