From c55d903aa7b6cdc49f172c6436b249136bddd82d Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sat, 12 Dec 2020 20:46:55 +0200 Subject: Add template jit slides and demo --- demo/asm/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 demo/asm/main.cpp (limited to 'demo/asm/main.cpp') diff --git a/demo/asm/main.cpp b/demo/asm/main.cpp new file mode 100644 index 0000000..ec9ba10 --- /dev/null +++ b/demo/asm/main.cpp @@ -0,0 +1,9 @@ +#include +#include + +extern "C" int64_t add_answer(int64_t x); + +int main() { + std::printf("The result is %lld\n", add_answer(24)); + return 0; +} -- cgit v1.3.1-23-gd82d