Last active
February 28, 2018 03:52
-
-
Save luctrudeau/aeb712c8693cede9bb6f4de882755400 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int16x4_t vpadd_s16_c(int16x4_t a, int16x4_t b) { | |
int16x4_t c; | |
for (int i = 0; i < 2; i++) { | |
c[i] = a[i * 2] + a[i * 2 + 1]; | |
} | |
for (int i = 0; i < 2; i++) { | |
c[i + 2] = b[i * 2] + b[i * 2 + 1]; | |
} | |
return c; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment