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 Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386 commit d241b91073165f99fe404d9b38c65f03835ecaf4 Author: Jan Beulich <jbeul...@suse.com> Date: Mon Oct 7 08:38:01 2019 +0200 x86/Intel: correct MOVSD and CMPSD handling caused: [hjl@gnu-skx-1 build-x86_64-linux]$ cat x.s .code16 rep; movsd [hjl@gnu-skx-1 build-x86_64-linux]$ ./gas/as-new --32 -o x.o x.s [hjl@gnu-skx-1 build-x86_64-linux]$ objdump -dw -Mi8086 x.o x.o: file format elf32-i386 Disassembly of section .text: 00000000 <.text>: 0: f3 a5 rep movsw %ds:(%si),%es:(%di) This should be movsl. [hjl@gnu-skx-1 build-x86_64-linux]$ -- You are receiving this mail because: You are on the CC list for the bug.