[PATCH] PR18921, vmov part

Stepan Dyatkovskiy stpworld at narod.ru
Sat Apr 19 00:29:00 PDT 2014


dyatkovskiy added you to the CC list for the revision "PR18921, vmov part".

Hi rengolin, t.p.northover, rafael,

Purpose of patch is to add byte replicate recognition for "vmov" and "vmvn" instructions. It is kind of compatibility fix for GCC. Since GCC generates .s files with illegal vmov and vmvn byte-replicator instructions (e. g. vmov.i32 d0, #abababab).
Current version introduces new AsmOperand classes for vmov.i16, vmov.i32, vmvn.i16 and vmvn.i32 instructions, that detects bytes replication and encodes them with proper way (actually it converts them into vmov.i8).
Thanks for reviews!

http://reviews.llvm.org/D3315

Files:
  lib/Target/ARM/ARMInstrNEON.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/vmov-vmvn-byte-replicate.s
  test/MC/ARM/vorr-vbic-illegal-cases.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3315.4.patch
Type: text/x-patch
Size: 10876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140419/dfe57376/attachment.bin>


More information about the llvm-commits mailing list