Click here to Skip to main content
15,891,864 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
JokeRe: And the number to beat is 104 Pin
Power Puff Boy15-Feb-17 3:06
Power Puff Boy15-Feb-17 3:06 
GeneralRe: And the number to beat is 104 Pin
  Forogar  15-Feb-17 3:17
professional  Forogar  15-Feb-17 3:17 
GeneralRe: And the number to beat is 104 Pin
Power Puff Boy15-Feb-17 23:07
Power Puff Boy15-Feb-17 23:07 
GeneralRe: And the number to beat is 104 Pin
W Balboos, GHB15-Feb-17 3:30
W Balboos, GHB15-Feb-17 3:30 
GeneralRe: And the number to beat is 104 Pin
Vivi Chellappa15-Feb-17 22:09
professionalVivi Chellappa15-Feb-17 22:09 
GeneralRe: And the number to beat is 104 Pin
W Balboos, GHB16-Feb-17 0:30
W Balboos, GHB16-Feb-17 0:30 
GeneralRe: And the number to beat is 104 Pin
TheGreatAndPowerfulOz15-Feb-17 6:45
TheGreatAndPowerfulOz15-Feb-17 6:45 
GeneralI'm bored, send codez Pin
harold aptroot14-Feb-17 22:51
harold aptroot14-Feb-17 22:51 
I'm pretty bored today (the rest of the week too, I predict).

So I had an idea. Why not come here and ask you guys for the codez, and I'll SIMDify it. Maybe. Not all the codez are created equally, SIMD doesn't apply everywhere. There's something in it for you too: faster codez! Well, maybe. It depends.

C++ with SSE intrinsics or x86 or x64 asm if you prefer (for MASM or YASM, not GAS).
By default with "generic tuning" (whatever that means, it might just be a euphemism for "no tuning") and up to and including SSE4.1, otherwise if you prefer:
- Up to and including AVX
- Up to and including AVX2
- With Ivy tuning
- With Haswell tuning
- With Skylake tuning

"But why no tuning for anything else?" ok I might do it, but I have less experience with most other µarchs. Except Core2 65nm, which isn't on the list because I don't like tuning for it.

What to post/send: the codez, choices from the list above (if any), any information that may be useful (such as how the input is limited (range of values but also alignment), whether converting fp math to 16bit fixed point math is OK, whether a condition is typically true or essentially random, etc), and test cases if you have any.

If this is unexpectedly popular (to be honest I expect fewer than 1 submission) I might not have time to handle all of them.

GeneralRe: I'm bored, send codez Pin
OriginalGriff14-Feb-17 22:58
mveOriginalGriff14-Feb-17 22:58 
GeneralRe: I'm bored, send codez Pin
harold aptroot14-Feb-17 23:06
harold aptroot14-Feb-17 23:06 
GeneralRe: I'm bored, send codez Pin
OriginalGriff14-Feb-17 23:09
mveOriginalGriff14-Feb-17 23:09 
GeneralRe: I'm bored, send codez Pin
Kornfeld Eliyahu Peter14-Feb-17 23:11
professionalKornfeld Eliyahu Peter14-Feb-17 23:11 
GeneralRe: I'm bored, send codez Pin
RugbyLeague15-Feb-17 0:49
RugbyLeague15-Feb-17 0:49 
GeneralRe: I'm bored, send codez Pin
Kornfeld Eliyahu Peter14-Feb-17 23:06
professionalKornfeld Eliyahu Peter14-Feb-17 23:06 
GeneralRe: I'm bored, send codez Pin
harold aptroot14-Feb-17 23:15
harold aptroot14-Feb-17 23:15 
GeneralRe: I'm bored, send codez Pin
Kornfeld Eliyahu Peter14-Feb-17 23:18
professionalKornfeld Eliyahu Peter14-Feb-17 23:18 
GeneralRe: I'm bored, send codez Pin
harold aptroot14-Feb-17 23:42
harold aptroot14-Feb-17 23:42 
GeneralRe: I'm bored, send codez Pin
CDP180214-Feb-17 23:20
CDP180214-Feb-17 23:20 
GeneralRe: I'm bored, send codez Pin
harold aptroot14-Feb-17 23:26
harold aptroot14-Feb-17 23:26 
GeneralRe: I'm bored, send codez Pin
megaadam15-Feb-17 0:08
professionalmegaadam15-Feb-17 0:08 
NewsRe: I'm bored, send codez Pin
User 1106097915-Feb-17 0:48
User 1106097915-Feb-17 0:48 
GeneralRe: I'm bored, send codez Pin
ZurdoDev15-Feb-17 1:56
professionalZurdoDev15-Feb-17 1:56 
GeneralRe: I'm bored, send codez Pin
User 1106097915-Feb-17 2:15
User 1106097915-Feb-17 2:15 
GeneralRe: I'm bored, send codez Pin
harold aptroot15-Feb-17 4:38
harold aptroot15-Feb-17 4:38 
GeneralRe: I'm bored, send codez Pin
HobbyProggy15-Feb-17 2:24
professionalHobbyProggy15-Feb-17 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.