Re: getting an unpleasant lack of symmetry for a cross product with avx2 target only.

2016-09-25 Thread Morten Mikkelsen
I see ok. I will give that a shot. Thank you. Just to provide some context as to what is happening I am seeing some issues where a ray very close to the edge between two adjacent triangles isn't hitting either one due to this issue. When I force symmetry to work the problem is solved. On

Re: getting an unpleasant lack of symmetry for a cross product with avx2 target only.

2016-09-12 Thread Matt Pharr
I'm sorry, but I'm not quite following what you're expecting versus what you're seeing. e.g. if I compile that with --target=avx2, I see a series of three multiplies followed by FMA instructions, which seems about as good as it gets. Is it that you're expecting that if you have code that does