[PATCH] Fix VGATHER operand constraints

Michael Liao michael.liao at intel.com
Wed Jun 5 10:10:06 PDT 2013


Hi,

This patch adds 'earlyclobber' constraints on VGATHER* output operands
to prevent its input registers being allocated as the output register.
According to the spec[1], "If any pair of the index, mask, or
destination registers are the same, this instructions results a UD
fault." With this constraint, RA could assign the same physical reg when
MASK or SRC in 'undef'.

Thanks for review
- Michael
------------------------
[1] http://software.intel.com/sites/default/files/319433-014.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-VGATHER-operand-constraints.patch
Type: text/x-patch
Size: 3003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130605/1e3e8526/attachment.bin>


More information about the llvm-commits mailing list