Re: [PATCH] Fix some broadcasts in -masm=intel mode (PR target/85281)

2018-04-11 Thread Kirill Yukhin
Hello Jakub! On 09 апр 20:29, Jakub Jelinek wrote: > Hi! > > As the following testcase shows, we emit an incorrect PTR prefix in a > vpbroadcastb instruction in -masm=intel mode; gas accepts and the manual > documents that the input operand is xmm2/m8 for vpbroadcastb and > xmm2/m16 for vpbroadcas

[PATCH] Fix some broadcasts in -masm=intel mode (PR target/85281)

2018-04-09 Thread Jakub Jelinek
Hi! As the following testcase shows, we emit an incorrect PTR prefix in a vpbroadcastb instruction in -masm=intel mode; gas accepts and the manual documents that the input operand is xmm2/m8 for vpbroadcastb and xmm2/m16 for vpbroadcastw, so we need to use BYTE PTR and WORD PTR instead of XMMWORD