Update Make const_1_mode print $1 in AT&T syntax

commit b70a487d59
Author: Cui, Lili <lili.cui@intel.com>
Date:   Wed Dec 13 06:07:36 2023 +0000

    Make const_1_mode print $1 in AT&T syntax

changes disassembler output from

d1 f8                   sar    %eax

to

d1 f8                   sar    $1,%eax

Adjust pe-x86-64-6.od accordingly.

	* testsuite/ld-x86-64/pe-x86-64-6.od: Adjusted.
This commit is contained in:
H.J. Lu
2023-12-13 09:19:47 -08:00
parent 14a2449eee
commit 63fc64a8d0
+1 -1
View File
@@ -42,7 +42,7 @@ Disassembly of section .text\$mn:
+[a-f0-9]+: 2b 84 2b 48 30 00 00 sub 0x3048\(%rbx,%rbp,1\),%eax
+[a-f0-9]+: 99 cltd
+[a-f0-9]+: 2b c2 sub %edx,%eax
+[a-f0-9]+: d1 f8 sar %eax
+[a-f0-9]+: d1 f8 sar \$1,%eax
+[a-f0-9]+: 48 63 d0 movslq %eax,%rdx
+[a-f0-9]+: 48 03 d6 add %rsi,%rdx
+[a-f0-9]+: 48 ff c1 inc %rcx