[llvm-commits] XOP Intrinsics patch
Craig Topper
craig.topper at gmail.com
Tue Jan 3 10:14:10 PST 2012
All integer vector loads in patterns need to be memopv2i64(!28-bit) or
memopv4i64(256-bit) and bitcasted to the correct type because all integer
vector loads are promoted to v2i64 or v4i64. So for instance
+def : Pat<(int_x86_xop_vphsubwd (alignedloadv8i16 addr:$src1)),
+ (VPHSUBWDrm addr:$src1)>;
Needs to be
+def : Pat<(int_x86_xop_vphsubwd (bc_v8i16 (memopv2i64 addr:$src1))),
+ (VPHSUBWDrm addr:$src1)>;
~Craig
On Tue, Jan 3, 2012 at 8:12 AM, Jan Sjodin <jan_sjodin at yahoo.com> wrote:
> This patch adds XOP intrinsics (including tests). Ok to commit?
>
> - Jan
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
--
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120103/e7403366/attachment.html>
More information about the llvm-commits
mailing list