|
Message-ID: <65662435dfcf8cd30440b36c6d468155@smtp.hushmail.com> Date: Tue, 07 Jul 2015 19:10:56 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Re: AltiVec troubleshooting On 2015-07-07 16:46, Lei Zhang wrote: >> On Jul 7, 2015, at 9:48 PM, Lei Zhang <zhanglei.april@...il.com> wrote: >> >> The generated code for vcmov obviously doesn't match its definition (missing an xor operation). This looks really weird to me. Do you think it's a bug in gcc (4.9.2)? > > Well, I managed to reproduce the same error with icc on my laptop. This time it becomes: > > v = (vtype)_mm_xor_si128((z).v32, ((vtype)_mm_and_si128((x).v32, (x).v32)).v32); > > So it's not likely to be a compiler bug. I think I'm kind of trapped with the use of macros here. Well, you have a bug in your code :-) On 2015-07-07 15:48, Lei Zhang wrote: > #define vand(x, y) (vtype)vec_and((x).v32, (x).v32) this should be #define vand(x, y) (vtype)vec_and((x).v32, (y).v32) magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.