Add new tacle-bench targets

This commit is contained in:
2026-08-10 17:17:47 +02:00
parent b55315bcce
commit 3003034b5a
7 changed files with 189 additions and 0 deletions
@@ -0,0 +1,27 @@
#include "../lib.h"
extern "C" {
void __pragma_loopbound(unsigned, unsigned) {}
void cubic_init(void);
void cubic_main(void);
int cubic_return(void);
EXPORT("wasm_module") int wasm_module(void) {
cubic_init();
fail_start_trace();
cubic_main();
fail_stop_trace();
int ret = cubic_return();
if (ret == 0) {
PRINT("result correct.\n");
fail_marker_positive();
} else {
PRINT("result incorrect.\n");
fail_marker_negative();
}
return ret;
}
}