• Joined on 2019-03-28
sb10q commented on pull request M-Labs/nac3#477 2024-07-27 21:52:16 +08:00
Fix codegen issues for 32-bit targets
sb10q pushed to release-8 at M-Labs/artiq-extrapkg 2024-07-27 21:43:51 +08:00
763df7d869 msys2: update
85173d4e70 remove scipy from artiq dependencies
Compare 2 commits »
sb10q merged pull request M-Labs/artiq-extrapkg#20 2024-07-27 21:43:46 +08:00
Backport: remove scipy dependency for MSYS2 ARTIQ
sb10q pushed to master at M-Labs/artiq-extrapkg 2024-07-27 21:40:40 +08:00
5b4560d8ca msys2: update
1ec52c60fe remove scipy from artiq dependencies
Compare 2 commits »
sb10q merged pull request M-Labs/artiq-extrapkg#19 2024-07-27 21:40:39 +08:00
Remove scipy dependency for MSYS2 ARTIQ
sb10q pushed to master at M-Labs/web2019 2024-07-27 17:25:43 +08:00
a2e672ffc9 update ordering FAQ
sb10q commented on pull request M-Labs/artiq-extrapkg#20 2024-07-27 14:56:42 +08:00
Backport: remove scipy dependency for MSYS2 ARTIQ

Probably doesn't matter too much since we are just using the machine code tools of LLVM (addr2line, lld, etc.) and unlike the others they tend not to break compatibility every few days there.

ll…

sb10q commented on pull request M-Labs/artiq-extrapkg#20 2024-07-26 22:39:23 +08:00
Backport: remove scipy dependency for MSYS2 ARTIQ

Please test artiq_compile as well, the LLVM/llvmlite stuff often tends to break.

sb10q pushed to master at M-Labs/web2019 2024-07-26 18:16:34 +08:00
950518ba97 add FAQ
sb10q commented on pull request M-Labs/nac3#477 2024-07-26 12:48:43 +08:00
Fix codegen issues for 32-bit targets

The second option sounds more specific and therefore better.

sb10q commented on pull request M-Labs/nac3#477 2024-07-26 12:41:27 +08:00
Fix codegen issues for 32-bit targets

Note that the x87 FPU internally has higher-precision registers with 80 bits. Might have to do with that perhaps. I think use of the higher precision can be disabled.

sb10q commented on pull request M-Labs/nac3#477 2024-07-26 12:21:29 +08:00
Fix codegen issues for 32-bit targets

float32 vs. float64 precision?

sb10q commented on pull request M-Labs/nac3#479 2024-07-26 11:25:30 +08:00
Cleanup PrimDef

This PR would be a good place to address M-Labs/nac3#478 (comment), and also look for similar problems and fix them.

sb10q commented on pull request M-Labs/nac3#477 2024-07-26 10:29:29 +08:00
Fix codegen issues for 32-bit targets

Ack. We don't have to (and should not) implement every GCC option. And compiling for 686 is a better match to what is happening when we target the (current) ARTIQ devices.

sb10q commented on pull request M-Labs/nac3#478 2024-07-26 08:32:57 +08:00
add nalgebra::linalg methods

Yes, let's just remove the LLI tests entirely.

sb10q commented on pull request M-Labs/nac3#478 2024-07-26 08:32:22 +08:00
add nalgebra::linalg methods

Are you sure you're not using the wrong files? IIRC cargo eventually gives you one single .a with a stable name when building a static lib.

sb10q commented on pull request M-Labs/nac3#478 2024-07-26 08:31:04 +08:00
add nalgebra::linalg methods

I think limiting to float is fine. But the compiler should not crash if the user passes integer, and report the error correctly instead.

sb10q commented on pull request M-Labs/nac3#478 2024-07-26 08:30:03 +08:00
add nalgebra::linalg methods

I don't think it needs a workspace, it can be just a crate.

sb10q commented on pull request M-Labs/nac3#477 2024-07-25 21:14:25 +08:00
Fix codegen issues for 32-bit targets

It's also not only about the bitwidth of size_t. The code suggests it is.

sb10q commented on pull request M-Labs/nac3#477 2024-07-25 21:13:15 +08:00
Fix codegen issues for 32-bit targets

I don't think we need this -m flag at all. It looks superfluous, complex, and error prone. Just use -target and then get the information such as the bitwidth of size_t by querying the LLVM target.