Enable Nuttx spec test option and register aot symbols (#1687)
Enable spec test option on Nuttx platform. Register sqrt/sqrtf in aot global symbol map and _fixdfdi/__floatundidf in xtensa symbol map.
This commit is contained in:
committed by
GitHub
parent
328fd59f43
commit
f59ffa0d63
@ -1968,6 +1968,18 @@ aot_memset(void *s, int c, size_t n)
|
||||
return memset(s, c, n);
|
||||
}
|
||||
|
||||
double
|
||||
aot_sqrt(double x)
|
||||
{
|
||||
return sqrt(x);
|
||||
}
|
||||
|
||||
float
|
||||
aot_sqrtf(float x)
|
||||
{
|
||||
return sqrtf(x);
|
||||
}
|
||||
|
||||
#if WASM_ENABLE_BULK_MEMORY != 0
|
||||
bool
|
||||
aot_memory_init(AOTModuleInstance *module_inst, uint32 seg_index, uint32 offset,
|
||||
|
||||
Reference in New Issue
Block a user