[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #12 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e6724dee4984e62e2f8e7da431f3b875ab14c4a commit 0e6724dee4984e62e2f8e7da431f3b8

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #10 from Jan Beulich --- (In reply to H.J. Lu from comment #9) > Please submit a single patch to fix this bug. How is https://sourceware.org/ml/binutils/2019-12/msg00346.html not a single patch? From that series - patches 1 and

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #11 from H.J. Lu --- (In reply to Jan Beulich from comment #10) > (In reply to H.J. Lu from comment #9) > > Please submit a single patch to fix this bug. > > How is > > https://sourceware.org/ml/binutils/2019-12/msg00346.html >

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #8 from Jan Beulich --- (In reply to H.J. Lu from comment #7) > It is OK to encode "movzwq %ax,%rcx" as "movzwl %ax,%ecx". But assembler > shouldn't accept "movzwl %ax,%rcx". But addressing this is part of the second patch refere

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #7 from H.J. Lu --- (In reply to Jan Beulich from comment #6) > (In reply to H.J. Lu from comment #5) > > Also > > > > [hjl@gnu-cfl-1 pr25438]$ cat y.s > > movzwl %ax, %rcx > > [hjl@gnu-cfl-1 pr25438]$ gcc -c y.s > > [hjl@gnu

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-23 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #6 from Jan Beulich --- (In reply to H.J. Lu from comment #5) > Also > > [hjl@gnu-cfl-1 pr25438]$ cat y.s > movzwl%ax, %rcx > [hjl@gnu-cfl-1 pr25438]$ gcc -c y.s > [hjl@gnu-cfl-1 pr25438]$ objdump -dw y.o > > y.o: fil

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #5 from H.J. Lu --- Also [hjl@gnu-cfl-1 pr25438]$ cat y.s movzwl %ax, %rcx [hjl@gnu-cfl-1 pr25438]$ gcc -c y.s [hjl@gnu-cfl-1 pr25438]$ objdump -dw y.o y.o: file format elf64-x86-64 Disassembly of section .text: 0

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=be4c5e58bdc839898739e0332aee84abf6e5299a commit be4c5e58bdc839898739e0332aee84ab

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #3 from H.J. Lu --- (In reply to Jan Beulich from comment #2) > For 32-bit (and 16-bit) code though this isn't the way to go, as long as e.g. > > movl%al, %al > movl%ax, %ax > > produce an error on the first

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-22 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 --- Comment #2 from Jan Beulich --- (In reply to H.J. Lu from comment #1) > 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

[Bug gas/25438] x86 MOVZ* anomalies for unusual/wrong operand combinations

2020-01-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25438 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1 f