]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86-64: Update gcc.target/i386/apx-ndd.c
authorH.J. Lu <(no_default)>
Mon, 5 Feb 2024 11:46:50 +0000 (03:46 -0800)
committerH.J. Lu <(no_default)>
Mon, 5 Feb 2024 12:51:10 +0000 (04:51 -0800)
commite5f50e63a83d03d1db6be1578070041ac7f31c37
treed1daddf90412b36a585f09921b1c1c10e57df506
parent55357960fbddd261e32f088f5dd328d58b0f25b3
x86-64: Update gcc.target/i386/apx-ndd.c

Fix the following issues:

1. Replace long with int64_t to support x32.
2. Replace \\(%rdi\\) with \\(%(?:r|e)di\\) for memory operand since x32
uses (%edi).
3. Replace %(?:|r|e)al with %al in negb scan.

* gcc.target/i386/apx-ndd.c: Updated.
gcc/testsuite/gcc.target/i386/apx-ndd.c