aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/macros.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/xtensa/macros.inc')
-rw-r--r--tests/tcg/xtensa/macros.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc
index c9be1ce516..4ebd30ab86 100644
--- a/tests/tcg/xtensa/macros.inc
+++ b/tests/tcg/xtensa/macros.inc
@@ -1,3 +1,5 @@
+#include "core-isa.h"
+
.macro test_suite name
.data
status: .word result
@@ -43,8 +45,12 @@ main:
simcall
.endm
+.macro test_init
+.endm
+
.macro test name
//print test_\name
+ test_init
test_\name:
.global test_\name
.endm