[12/*] I am not an optimization person. I maybe spend a week every three months looking at ASM. This has happened to me _three times in the last year_. It's almost 100% of the time I've looked at CLANG ASM, I have hit something like this.
I feel like the variable declarations make things harder to read (since it doubles the size of the code). Is there any way to get that more in-line? ASM obviously never has it since you don't "declare" things, but maybe this could have it in with the variables, or something?
-
-
Hmm, I could see B0 := pcmpeqq.y A, [B] maybe. This would only then work where the first arg is writeonly. You could also of course do B0, B1, B2, B3: vec or B0: vec; pcmpeqq.y B0, A, [B] on the same line. You could also do pcmpeqq.y B0: vec, A, [B] maybe?
-
Could there just be a keyword on the asm directive that said "new destination variables are auto declared"? That way if you want to write something that just looks like ASM, it will work?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.