Re: [PATCH] Fix up v*gather* addresses

2011-10-25 Thread Uros Bizjak
On Tue, Oct 25, 2011 at 10:21 AM, Jakub Jelinek wrote: > For -masm=intel we currently emit invalid assembler for the v*gather* > insns, > vpgatherdd      ymm0, (rax, ymm1, 1), ymm2 > is some weird mixture of AT&T and Intel syntax.  Furthermore, > by requiring a register as a base we unnecessarily

[PATCH] Fix up v*gather* addresses

2011-10-25 Thread Jakub Jelinek
Hi! For -masm=intel we currently emit invalid assembler for the v*gather* insns, vpgatherdd ymm0, (rax, ymm1, 1), ymm2 is some weird mixture of AT&T and Intel syntax. Furthermore, by requiring a register as a base we unnecessarily penalize the code, even when the base is constant or symbol,