210954f895
nac3core: better handling of terminators
cef0fccf33
nac3core: remove commented code
bf8180b30f
nac3core: change string representation to CSlice
get rid of mcfgthread on Windows
What does LLVM use when it build on Windows/in the legacy compiler build script? Something provided by Visual C++?
Tuple by value (#172)
btw, just found some style problem in the previous code, can you fix this together in this PR?
https://git.m-labs.hk/M-Labs/nac3/src/branch/master/nac3core/src/codegen/stmt.rs#L86-L154
Please…
Tuple by value (#172)
Thanks for the suggestions! Indeed using the trick to do constant optimization will be safer, and I was just a bit worried about constant optimization of the call to
__builtin_memcpy
intrinsic as…
Tuple by value (#172)
btw I am quite concerned about this one:
+ else if (size == 4) {
+ ((uint32_t *)dest_arr)[dest_ind] = ((uint32_t *)src_arr)[src_ind];
+ }
It is possible to have a tuple of…
e990211e53
Merge branch 'rpc'
304181fd8c
Merge pull request 'fix errors of non-primitive host object when running multiple kernels' (#171) from multiple_kernel_err into master
43048eb8d8
nac3standalone: add tests for list slice and len
ace0e2a2c6
nac3core: fix use of size_t in list comprehension, cleanup
e891683f2e
flake: hack-link libstdc++ statically on Windows. Closes #175
Tuple by value (#172)
I think calling memcpy
will already optimize it for small constant size.
void copy(int* a, int* b) {
memcpy(a, b, 10);
}
will be compiled as
define dso_local void…
fix errors of non-primitive host object when running multiple kernels
304181fd8c
Merge pull request 'fix errors of non-primitive host object when running multiple kernels' (#171) from multiple_kernel_err into master
0439bf6aef
nac3artiq: fix errors of non-primitive object when running multiple kernels
nac3artiq module fails to load with latest msys2
is this an issue caused by pyo3? or what is the cause of this issue?
2fa8c1ce23
runtime/eh_artiq: change exception representation
2d5ca0b13e
runtime/comms: send nested exception
1eda780a11
runtime/eh_artiq: allocate names in a static buffer
107e2c524f
runtime/eh_artiq: support exception allocation