[Bug gas/25167] New: The .code16 directive is broken

2019-11-06 Thread hjl.tools at gmail dot com
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

[Bug gas/25167] The .code16 directive is broken

2019-11-06 Thread hjl.tools at gmail dot com
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.

[Bug gas/25167] The .code16 directive is broken

2019-11-06 Thread hjl.tools at gmail dot com
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

[Bug gas/25167] The .code16 directive is broken

2019-11-06 Thread hjl.tools at gmail dot com
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.