Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 9 Jul 2015 09:17:05 +0800
From: Lei Zhang <zhanglei.april@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: extend SIMD intrinsics


> On Jul 9, 2015, at 12:08 AM, magnum <john.magnum@...hmail.com> wrote:
> 
> BTW do we even have to use intrinsics for simple things like add and sub? Wouldn't the compiler do it for us?
> 
> 	vtype va, vb = 1, vc = 2, vd = 3;
> 
> 	va = vb + vc - vd;
> 
> I haven't tried that.

I just gave it a try. That works with gcc, but not icc. Somehow icc only supports floating-point vectors for this syntax.


Lei

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ