gcc.target/i386/pr78904-4a.c: Compile with -mtune=generic
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Sep 2020 14:21:58 +0000 (07:21 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Sep 2020 14:35:46 +0000 (07:35 -0700)
commit9e89fa0e2d7da77236cad50c0a9a33b7a4b97367
treefab7b10aaba66923719c9953cc842246a4c8c616
parentbab581381681813ab3ccd007195777c1f816e656
gcc.target/i386/pr78904-4a.c: Compile with -mtune=generic

commit e95395926a84a2406faefe0995295d199d595440
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Thu Jun 18 20:12:48 2020 +0200

    i386: Fix mode of ZERO_EXTRACT RTXes, remove ext_register_operand predicate.

caused

FAIL: gcc.target/i386/pr78904-4a.c scan-assembler [ \t]movb[\t ]+%.h, t

when compiled with --target_board='unix{-m32\ -march=cascadelake}'.  With
-mtune=generic:

movzwl 4(%esp), %edx
movl 8(%esp), %eax
movb %dh, t(%eax)
ret

With -mtune=cascadelake:

movzbl 5(%esp), %edx
movl 8(%esp), %eax
movb %dl, t(%eax)
ret

Add -mtune=generic for --target_board='unix{-m32\ -march=cascadelake}'.

* gcc.target/i386/pr78904-4a.c: Compile with -mtune=generic.
gcc/testsuite/gcc.target/i386/pr78904-4a.c