[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinatio
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations |
Date: |
Wed, 22 Jan 2020 12:18:13 +0000 |
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.
- [Bug gas/25438] New: x86 MOVZ* anomalies for unusual/wrong operand combinations, jbeulich at suse dot com, 2020/01/22
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations,
hjl.tools at gmail dot com <=
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, jbeulich at suse dot com, 2020/01/22
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, hjl.tools at gmail dot com, 2020/01/22
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, cvs-commit at gcc dot gnu.org, 2020/01/22
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, hjl.tools at gmail dot com, 2020/01/22
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, jbeulich at suse dot com, 2020/01/23
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, hjl.tools at gmail dot com, 2020/01/23
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, jbeulich at suse dot com, 2020/01/23
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, hjl.tools at gmail dot com, 2020/01/23
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, jbeulich at suse dot com, 2020/01/23
- [Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations, hjl.tools at gmail dot com, 2020/01/23