57static inline uint32_t
__add(uint32_t x, uint32_t y)
62 "add %[r], %[x], %[y]"
63 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
72static inline uint32_t
__adc(uint32_t x, uint32_t y)
77 "adc %[r], %[x], %[y]"
78 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
88static inline uint32_t
__adds(uint32_t x, uint32_t y)
93 "adds %[r], %[x], %[y]"
94 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
104static inline uint32_t
__adcs(uint32_t x, uint32_t y)
109 "adcs %[r], %[x], %[y]"
110 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
119static inline uint32_t
__sub(uint32_t x, uint32_t y)
124 "sub %[r], %[x], %[y]"
125 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
134static inline uint32_t
__sbc(uint32_t x, uint32_t y)
139 "sbc %[r], %[x], %[y]"
140 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
150static inline uint32_t
__subs(uint32_t x, uint32_t y)
155 "subs %[r], %[x], %[y]"
156 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
166static inline uint32_t
__sbcs(uint32_t x, uint32_t y)
171 "sbcs %[r], %[x], %[y]"
172 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
181static inline uint32_t
__rsb(uint32_t x, uint32_t y)
186 "rsb %[r], %[x], %[y]"
187 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
196static inline uint32_t
__rsc(uint32_t x, uint32_t y)
201 "rsc %[r], %[x], %[y]"
202 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) : );
212static inline uint32_t
__rsbs(uint32_t x, uint32_t y)
217 "rsbs %[r], %[x], %[y]"
218 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
228static inline uint32_t
__rscs(uint32_t x, uint32_t y)
233 "rscs %[r], %[x], %[y]"
234 : [r]
"=r" (r) : [x]
"r" (x), [y]
"r" (y) :
"cc");
239#include <static_assert.h>
240static_assert(
false,
"Attempt to use arm intrinsics on non-arm architecture");
static uint32_t __adcs(uint32_t x, uint32_t y)
This function gives access to the ARM adcs instruction.
Definition arm.h:104
static uint32_t __rsbs(uint32_t x, uint32_t y)
This function gives access to the ARM rsbs instruction.
Definition arm.h:212
static uint32_t __rsb(uint32_t x, uint32_t y)
This function gives access to the ARM rsb instruction.
Definition arm.h:181
static uint32_t __rscs(uint32_t x, uint32_t y)
This function gives access to the ARM rscs instruction.
Definition arm.h:228
static uint32_t __adc(uint32_t x, uint32_t y)
This function gives access to the ARM adc instruction.
Definition arm.h:72
static uint32_t __sbcs(uint32_t x, uint32_t y)
This function gives access to the ARM sbcs instruction.
Definition arm.h:166
static uint32_t __adds(uint32_t x, uint32_t y)
This function gives access to the ARM adds instruction.
Definition arm.h:88
static uint32_t __sub(uint32_t x, uint32_t y)
This function gives access to the ARM sub instruction.
Definition arm.h:119
static uint32_t __subs(uint32_t x, uint32_t y)
This function gives access to the ARM subs instruction.
Definition arm.h:150
static uint32_t __add(uint32_t x, uint32_t y)
This function gives access to the ARM add instruction.
Definition arm.h:57
static uint32_t __sbc(uint32_t x, uint32_t y)
This function gives access to the ARM sbc instruction.
Definition arm.h:134
static uint32_t __rsc(uint32_t x, uint32_t y)
This function gives access to the ARM rsc instruction.
Definition arm.h:196