Cool VL Viewer forum
http://sldev.free.fr/forum/

Some AVX2 / SSE2 optimization for llface.cpp
http://sldev.free.fr/forum/viewtopic.php?f=10&t=2086
Page 2 of 2

Author:  Henri Beauchamp [ 2020-11-01 23:53:22 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

Yeah, it looks like a math overflow or something in that vein... The copy you sent to me is no-mod, so I cannot verify, but there might be a zero in the texture repeats per face or something like that...

EDIT: Found the bug in Kathrine's SSE2 code: a _mm_add_ps used for tvv instead of _mm_sub_ps...

Author:  ZaneZimer [ 2020-11-02 00:27:27 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

Henri Beauchamp wrote:
Yeah, it looks like a math overflow or something in that vein... The copy you sent to me is no-mod, so I cannot verify, but there might be a zero in the texture repeats per face or something like that...
I'll send you a mod version. I wondered if you might need that to experiment. I have never given anyone anything that I have crafted before, so I'm a bit of a novice...even as 'SL-old' as I am.

Author:  Henri Beauchamp [ 2020-11-02 00:30:11 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

No need any more: found the bug (see my edit above). Thank you ! :D

Author:  ZaneZimer [ 2020-11-02 00:31:47 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

Henri Beauchamp wrote:
No need any more: found the bug (see my edit above). Thank you ! :D
Oops. I guess I didn't refresh soon enough. :)

Author:  Henri Beauchamp [ 2020-11-02 00:32:18 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

Fixed patch:

Attachments:
llface-opts-fixed.patch.gz [1.34 KiB]
Downloaded 163 times

Author:  ZaneZimer [ 2020-11-02 00:33:41 ]
Post subject:  Re: Some AVX2 / SSE2 optimization for llface.cpp

Henri Beauchamp wrote:
Fixed patch:
Thanks, I'll give it a try.

*Edit: I have applied the new patch, built and can verify that corrects the texture orientation issue that I had.

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/