(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr82361-2.c
       1  /* PR target/82361 */
       2  /* { dg-do compile { target lp64 } } */
       3  /* { dg-options "-O2 -mtune=generic -masm=att -m8bit-idiv" } */
       4  /* We should be able to optimize all %eax to %rax zero extensions, because
       5     div and idiv instructions with 32-bit operands zero-extend both results.   */
       6  /* { dg-final { scan-assembler-not "movl\t%eax, %eax" } } */
       7  /* FIXME: The compiler does not merge zero-extension to the modulo part
       8     of f1 and f2.  */
       9  /* { dg-final { scan-assembler-times "movl\t%edx" 4 } } */
      10  
      11  #include "pr82361-1.c"