Add wasm tacle-bench targets

This commit is contained in:
2026-06-12 20:06:22 +02:00
parent 30daa8a00c
commit 08c2e9c13d
1122 changed files with 520422 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include "wcclib.h"
// Wasm loop bounds
__attribute__((import_module("__pragma"), import_name("loopbound"))) extern void
__pragma_loopbound(unsigned int min_bound, unsigned int max_bound);
void *
wcclib_memset(void *s, int c, size_t n) {
unsigned char *p = s;
__pragma_loopbound(1, 368);
while (n--)
*p++ = (unsigned char) c;
return (s);
}