[llvm-commits] Patch: x86 multiply v2i64

Mon Ping Wang monping at apple.com
Wed Dec 17 18:37:23 PST 2008


This is a patch to fix multiply of v2i64.  Today, on SSE4.1, we map a  
multiply of v2i64 to pmuldq which does two 32 bit multiples that  
generates two 64 bit results, which is incorrect.  This patch removes  
that and instead lowers it to set of vector code that works for  
SSE2+.  Please let me know if you have any comments.

   -- Mon Ping

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mulv2i16.patch
Type: application/octet-stream
Size: 4464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081217/903eddbb/attachment.obj>

More information about the llvm-commits mailing list