#define ASM_NL ` /* use '`' to mark new line in macro */ #define __ALIGN .align 4 #define __ALIGN_STR __stringify(__ALIGN)
#ifdef __ASSEMBLER__
.macro ST2 e, o, off #ifdef CONFIG_ARC_HAS_LL64
std \e, [sp, \off] #else
st \e, [sp, \off]
st \o, [sp, \off+4] #endif
.endm
.macro LD2 e, o, off #ifdef CONFIG_ARC_HAS_LL64
ldd \e, [sp, \off] #else
ld \e, [sp, \off]
ld \o, [sp, \off+4] #endif
.endm
/* annotation for data we want in DCCM - if enabled in .config */
.macro ARCFP_DATA nm #ifdef CONFIG_ARC_HAS_DCCM
.section .data.arcfp #else
.section .data #endif
.global \nm
.endm
/* annotation for data we want in DCCM - if enabled in .config */
.macro ARCFP_CODE #ifdef CONFIG_ARC_HAS_ICCM
.section .text.arcfp, "ax",@progbits #else
.section .text, "ax",@progbits #endif
.endm
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.