https://sourceware.org/bugzilla/show_bug.cgi?id=25438
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- movz* with incorrect operands should be rejected, not silently changed to something else: [hjl@gnu-snb-1 tmp]$ cat x.s movzbw %al, %ecx movzbw %al, %rcx movzbl %al, %cx movzbl %al, %rcx movzbq %al, %cx movzbq %al, %ecx [hjl@gnu-snb-1 tmp]$ gcc -c x.s [hjl@gnu-snb-1 tmp]$ objdump -dw x.o x.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <.text>: 0: 0f b6 c8 movzbl %al,%ecx 3: 48 0f b6 c8 movzbq %al,%rcx 7: 66 0f b6 c8 movzbw %al,%cx b: 48 0f b6 c8 movzbq %al,%rcx f: 66 0f b6 c8 movzbw %al,%cx 13: 0f b6 c8 movzbl %al,%ecx [hjl@gnu-snb-1 tmp]$ -- You are receiving this mail because: You are on the CC list for the bug.