Go to the source code of this file.
|
#define | STRINGIFY_(x) #x |
|
#define | STRINGIFY(x) STRINGIFY_(x) |
|
#define | INCLUDE_ASM_INTERNAL(TYPE, BASE_FOLDER, FOLDER, NAME, ARGS...) |
|
#define | INCLUDE_ASM(TYPE, FOLDER, NAME, ARGS...) INCLUDE_ASM_INTERNAL(TYPE, "nonmatchings", FOLDER, NAME, ARGS) |
|
#define | INCLUDE_ASM_SHIFT(TYPE, FOLDER, NAME, ARGS...) INCLUDE_ASM_INTERNAL(TYPE, "shiftable", FOLDER, NAME, ARGS) |
|
|
| __asm__ (".include \"include/macro.inc\"\n") |
|
◆ STRINGIFY_
#define STRINGIFY_ |
( |
| x | ) |
#x |
◆ STRINGIFY
◆ INCLUDE_ASM_INTERNAL
#define INCLUDE_ASM_INTERNAL |
( |
| TYPE, |
|
|
| BASE_FOLDER, |
|
|
| FOLDER, |
|
|
| NAME, |
|
|
| ARGS... ) |
Value:
".section .text\n" \
"\t.align\t2\n" \
"\t.globl\t"#NAME"\n" \
"\t.ent\t"#NAME"\n" \
#NAME ":\n" \
"\t.include \"ver/"STRINGIFY(VERSION)
"/asm/"BASE_FOLDER
"/"FOLDER
"/"#NAME
".s\"\n" \
"\t.set reorder\n" \
"\t.set at\n" \
"\t.end\t"#NAME \
);
__asm__(".include \"include/macro.inc\"\n")
Definition at line 9 of file include_asm.h.
9#define INCLUDE_ASM_INTERNAL(TYPE, BASE_FOLDER, FOLDER, NAME, ARGS...) \
10 __asm__( \
11 ".section .text\n" \
12 "\t.align\t2\n" \
13 "\t.globl\t"#NAME"\n" \
14 "\t.ent\t"#NAME"\n" \
15 #NAME ":\n" \
16 "\t.include \"ver/"STRINGIFY(VERSION)"/asm/"BASE_FOLDER"/"FOLDER"/"#NAME".s\"\n" \
17 "\t.set reorder\n" \
18 "\t.set at\n" \
19 "\t.end\t"#NAME \
20 );
◆ INCLUDE_ASM
#define INCLUDE_ASM |
( |
| TYPE, |
|
|
| FOLDER, |
|
|
| NAME, |
|
|
| ARGS... ) INCLUDE_ASM_INTERNAL(TYPE, "nonmatchings", FOLDER, NAME, ARGS) |
◆ INCLUDE_ASM_SHIFT
#define INCLUDE_ASM_SHIFT |
( |
| TYPE, |
|
|
| FOLDER, |
|
|
| NAME, |
|
|
| ARGS... ) INCLUDE_ASM_INTERNAL(TYPE, "shiftable", FOLDER, NAME, ARGS) |
◆ __asm__()
__asm__ |
( |
".include \"include/macro.inc\"\n" | | ) |
|