LMMS
Loading...
Searching...
No Matches
asm-nseel-arm-gcc.c File Reference

Macros

#define FUNCTION_MARKER
#define FLUSH_TO_ZERO

Functions

 __attribute__ ((naked, target("arm")))

Macro Definition Documentation

◆ FLUSH_TO_ZERO

#define FLUSH_TO_ZERO
Value:
"ldr r1, [r0, #4]\n" \
"movs r2, #0\n" \
"movt r2, #0x7ff0\n" \
"add r1, r1, #0x00100000\n" \
"ands r1, r1, r2\n" \
"cmp r1, #0x00200000\n" \
"bgt 0f\n" \
"movs r2, #0\n" \
"movs r3, #0\n" \
"strd r2, [r0]\n" \
"0:\n"

◆ FUNCTION_MARKER

#define FUNCTION_MARKER
Value:
"mov r0, r0\n" \
"mov r1, r1\n" \
"mov r2, r2\n"

Function Documentation

◆ __attribute__()

__attribute__ ( (naked, target("arm")) )