https://sourceware.org/bugzilla/show_bug.cgi?id=25167
Bug ID: 25167
Summary: The .code16 directive is broken
Product: binutils
Version: 2.34 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
https://sourceware.org/bugzilla/show_bug.cgi?id=25167
--- Comment #1 from H.J. Lu ---
cmpsd is also wrong.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=25167
--- Comment #2 from H.J. Lu ---
[hjl@gnu-skx-1 build-x86_64-linux]$ cat x.s
.code16
rep; movsd
rep; cmpsd
.intel_syntax noprefix
cmpsd dword ptr [si], dword ptr es:[di]
[hjl@gnu-skx-1 build-x86_64-linux]$ ./gas/as-new --32 -o x.o x.s
[hjl@gnu
https://sourceware.org/bugzilla/show_bug.cgi?id=25167
--- Comment #3 from H.J. Lu ---
String version of cmpsd and movsd are used to handle SSE versions of
cmpsd and movsd. They should be treated as special cases.
--
You are receiving this mail because:
You are on the CC list for the bug.