Skip to content

Commit

Permalink
gcc.target/i386/apx-ndd.c: Also scan (%edi)
Browse files Browse the repository at this point in the history
Since x32 uses (%edi), instead of (%rdi), also scan (%edi).

	* gcc.target/i386/apx-ndd.c: Also scan (%edi).

Signed-off-by: H.J. Lu <[email protected]>
  • Loading branch information
hjl-tools committed Nov 6, 2024
1 parent f0d34e8 commit c415565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/i386/apx-ndd.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@ FOO2 (int64_t, imul, *)
/* { dg-final { scan-assembler-times "ror(?:b|l|w|q)\[^\n\r]*1, %(?:|r|e)di(?:|l), %(?:|r|e)a(?:x|l)" 4 } } */
/* { dg-final { scan-assembler-times "rol(?:b|l|w|q)\[^\n\r]*1, %(?:|r|e)di(?:|l), %(?:|r|e)a(?:x|l)" 4 } } */
/* { dg-final { scan-assembler-times "imul(?:l|q)\[^\n\r]%(?:|r|e)(?:|s|d)i, %(?:r|e)(?:|s|d)i, %(?:|r|e)ax" 3 } } */
/* { dg-final { scan-assembler-times "imul(?:l|w|q)\[^\n\r]\\(%rdi\\), %(?:|r|e)si, %(?:|r|e)ax" 3 } } */
/* { dg-final { scan-assembler-times "imul(?:l|w|q)\[^\n\r]\\(%(?:r|e)di\\), %(?:|r|e)si, %(?:|r|e)ax" 3 } } */

0 comments on commit c415565

Please sign in to comment.