public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109549] New: [14 Regression] cmov6.c test fail after commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a
@ 2023-04-19  6:27 haochen.jiang at intel dot com
  2023-04-19  6:37 ` [Bug target/109549] " pinskia at gcc dot gnu.org
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: haochen.jiang at intel dot com @ 2023-04-19  6:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549

            Bug ID: 109549
           Summary: [14 Regression] cmov6.c test fail after commit
                    r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: haochen.jiang at intel dot com
  Target Milestone: ---

After commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a with the fix of
removing @gol fix, we got a scan asm fail for gcc.target/i386/cmov6.c.

We can reproduce that by command:

make check-gcc RUNTESTFLAGS="i386.exp=cmov6.c --target_board='unix{-m32,}'"

The previous codegen is:

foo:
.LFB0:
        .cfi_startproc
        movl    4(%esp), %eax
        movl    $20, %edx
        testl   %eax, %eax
        movl    $10, %eax
        cmovne  8(%esp), %edx
        cmove   12(%esp), %eax
        movl    %edx, 8(%esp)
        movl    %eax, 4(%esp)
        jmp     bar
        .cfi_endproc

The current codegen is:

foo:
.LFB0:
        .cfi_startproc
        movl    4(%esp), %ecx
        movl    8(%esp), %edx
        movl    12(%esp), %eax
        testl   %ecx, %ecx
        je      .L3
        movl    $10, %eax
        movl    %edx, 8(%esp)
        movl    %eax, 4(%esp)
        jmp     bar
        .p2align 4,,7
        .p2align 3
.L3:
        movl    $20, %edx
        movl    %eax, 4(%esp)
        movl    %edx, 8(%esp)
        jmp     bar
        .cfi_endproc

BTW, I saw Andrew's patch fixing cmov:

https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616088.html

Is that related?

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2024-06-17  7:10 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19  6:27 [Bug target/109549] New: [14 Regression] cmov6.c test fail after commit r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a haochen.jiang at intel dot com
2023-04-19  6:37 ` [Bug target/109549] " pinskia at gcc dot gnu.org
2023-04-19  6:38 ` pinskia at gcc dot gnu.org
2023-04-19  7:59 ` rguenth at gcc dot gnu.org
2023-04-19  8:10 ` jakub at gcc dot gnu.org
2023-04-19 13:06 ` law at gcc dot gnu.org
2023-04-19 13:37 ` law at gcc dot gnu.org
2023-04-19 15:29 ` law at gcc dot gnu.org
2023-04-20  9:50 ` ubizjak at gmail dot com
2023-04-21 18:24 ` [Bug testsuite/109549] " cvs-commit at gcc dot gnu.org
2023-04-29 14:09 ` [Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a law at gcc dot gnu.org
2024-01-12 10:25 ` rguenth at gcc dot gnu.org
2024-01-12 10:26 ` rguenth at gcc dot gnu.org
2024-01-15 13:50 ` rguenth at gcc dot gnu.org
2024-03-01 12:18 ` stefansf at linux dot ibm.com
2024-03-08 22:16 ` law at gcc dot gnu.org
2024-03-23  9:33 ` sjames at gcc dot gnu.org
2024-03-25  7:07 ` stefansf at linux dot ibm.com
2024-03-25  9:23 ` sjames at gcc dot gnu.org
2024-03-25 11:02 ` stefansf at gcc dot gnu.org
2024-05-07  7:40 ` [Bug testsuite/109549] [14/15 " rguenth at gcc dot gnu.org
2024-05-08  7:48 ` cvs-commit at gcc dot gnu.org
2024-05-08  7:51 ` lingling.kong7 at gmail dot com
2024-05-23  6:44 ` cvs-commit at gcc dot gnu.org
2024-05-24  1:44 ` sjames at gcc dot gnu.org
2024-06-17  6:53 ` cvs-commit at gcc dot gnu.org
2024-06-17  7:06 ` stefansf at gcc dot gnu.org
2024-06-17  7:10 ` stefansf at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).