Last active
August 29, 2015 14:10
-
-
Save kriegsman/2a8a1889f4afe23680c8 to your computer and use it in GitHub Desktop.
C wrapper for ARM uqadd8
This file contains 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
// See also __uqadd8 | |
static inline uint8x4_t uqadd8x4 (uint8x4_t xs, uint8x4_t ys) | |
{ | |
uint8x4_t sums; | |
asm volatile( | |
"uqadd8 %[sums], %[xs], %[ys]" | |
: [sums] "=r" (sums) | |
: [xs] "%r" (xs), [ys] "r" (ys)); | |
return sums; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment