Re: [PATCH] Some -masm=intel fixes

2011-10-27 Thread H.J. Lu
On Thu, Oct 27, 2011 at 12:17 PM, Uros Bizjak wrote: > On Thu, Oct 27, 2011 at 9:14 PM, Jakub Jelinek wrote: > >> While testing other patches also with -masm=intel, I've noticed that >> several insns output wrong mem sizes.  The following patch fixes what I >> found.  %w1/%k1/%q1 will still %xmmN

Re: [PATCH] Some -masm=intel fixes

2011-10-27 Thread Uros Bizjak
On Thu, Oct 27, 2011 at 9:14 PM, Jakub Jelinek wrote: > While testing other patches also with -masm=intel, I've noticed that > several insns output wrong mem sizes.  The following patch fixes what I > found.  %w1/%k1/%q1 will still %xmmN if it is a register and for AT&T > syntax will print memory

[PATCH] Some -masm=intel fixes

2011-10-27 Thread Jakub Jelinek
Hi! While testing other patches also with -masm=intel, I've noticed that several insns output wrong mem sizes. The following patch fixes what I found. %w1/%k1/%q1 will still %xmmN if it is a register and for AT&T syntax will print memory as normally, but for -masm=intel it will print WORD PTR/DW