Home
last modified time | relevance | path

Searched refs:__ASM (Results 1 – 7 of 7) sorted by relevance

/third_party/cmsis/CMSIS/Core/Include/
Dcmsis_gcc.h40 #ifndef __ASM
41 #define __ASM __asm macro
117 #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
228 #define __NOP() __ASM volatile ("nop")
234 #define __WFI() __ASM volatile ("wfi":::"memory")
242 #define __WFE() __ASM volatile ("wfe":::"memory")
249 #define __SEV() __ASM volatile ("sev")
260 __ASM volatile ("isb 0xF":::"memory"); in __ISB()
271 __ASM volatile ("dsb 0xF":::"memory"); in __DSB()
282 __ASM volatile ("dmb 0xF":::"memory"); in __DMB()
[all …]
Dcmsis_armclang_ltm.h33 #ifndef __ASM
34 #define __ASM __asm macro
110 #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
276 #define __BKPT(value) __ASM volatile ("bkpt "#value)
423 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX()
438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
468 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
481 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
493 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
Dcmsis_armclang.h33 #ifndef __ASM
34 #define __ASM __asm macro
110 #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
278 #define __BKPT(value) __ASM volatile ("bkpt "#value)
429 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX()
444 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
459 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
474 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
487 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
499 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
Dcmsis_armcc.h57 #ifndef __ASM
58 #define __ASM __asm macro
208 __attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value) in __REV16()
223 __attribute__((section(".revsh_text"))) __STATIC_INLINE __ASM int16_t __REVSH(int16_t value) in __REVSH()
410 __attribute__((section(".rrx_text"))) __STATIC_INLINE __ASM uint32_t __RRX(uint32_t value) in __RRX()
557 register uint32_t __regControl __ASM("control"); in __get_CONTROL()
569 register uint32_t __regControl __ASM("control"); in __set_CONTROL()
582 register uint32_t __regIPSR __ASM("ipsr"); in __get_IPSR()
594 register uint32_t __regAPSR __ASM("apsr"); in __get_APSR()
606 register uint32_t __regXPSR __ASM("xpsr"); in __get_xPSR()
[all …]
Dcmsis_iccarm.h112 #ifndef __ASM
113 #define __ASM __asm macro
117 #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
632 __ASM volatile("RRX %0, %1" : "=r"(result) : "r" (value)); in __RRX()
872 __ASM volatile ("LDRBT %0, [%1]" : "=r" (res) : "r" (addr) : "memory"); in __LDRBT()
879 __ASM volatile ("LDRHT %0, [%1]" : "=r" (res) : "r" (addr) : "memory"); in __LDRHT()
886 __ASM volatile ("LDRT %0, [%1]" : "=r" (res) : "r" (addr) : "memory"); in __LDRT()
892 __ASM volatile ("STRBT %1, [%0]" : : "r" (addr), "r" ((uint32_t)value) : "memory"); in __STRBT()
897 __ASM volatile ("STRHT %1, [%0]" : : "r" (addr), "r" ((uint32_t)value) : "memory"); in __STRHT()
902 __ASM volatile ("STRT %1, [%0]" : : "r" (addr), "r" (value) : "memory"); in __STRT()
[all …]
Dcmsis_compiler.h70 #ifndef __ASM
71 #define __ASM __asm macro
142 #ifndef __ASM
143 #define __ASM __asm macro
211 #ifndef __ASM
212 #define __ASM _asm macro
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dfast_math_functions.h212 __ASM("VSQRT.F32 %0,%1" : "=t"(*pOut) : "t"(in)); in arm_sqrt_f32()