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 /* Ditto %edx to %rdx zero extensions.  */
8 /* { dg-final { scan-assembler-not "movl\t%edx, %edx" } } */
9 
10 #include "pr82361-1.c"
11