tf2spi
tf2spi
I'm also having a hard time reproducing this on Debian :(
I'm looking into the issue right now. So the compiler is supposed to give you an error with ``simd.masked_compress_store`` because ``simd.masked_compress_store`` does not return a value. It simply puts your...
Oh, now I see. I found something quite strange indeed... This is the operand for ``simd_masked_compress_store``. ``` (gdb) p *operand $1 = {mode = Addressing_Value, type = 0x0, value =...
I think I'm getting closer to the actual root of the problem after putting a watchpoint on ``operand->mode``. ``` Thread 25 "odin" hit Breakpoint 1, check_builtin_simd_operation (c=0x7fffe11cc710, operand=0x7fffe11cc6c0, call=0x7fffacff9d60, id=155,...
Okay, now I got it. [This snippet](https://github.com/odin-lang/Odin/blob/master/src/check_builtin.cpp#L2059C1-L2068C3). ``` if (BuiltinProc__simd_begin < id && id < BuiltinProc__simd_end) { bool ok = check_builtin_simd_operation(c, operand, call, id, type_hint); if (!ok) { operand->type =...
Additional comments: The way this is done in ``LLVM`` is by creating and inserting a ``DILabel`` using ``DIBuilder``. There's a bit of a hiccup, though... In ``C++``, this is done...
Yeah, I like the idea of doing a version check as well. I was unsure of how to do it though. Maybe by defining an additional macro via ``-D`` and...
Perfect! Great to know for the future and I just put in the version check now