travisstaloch

Results 69 comments of travisstaloch

I would be glad to provide any information about my system if necessary. For starters, this is on MX linux 19 with: ```console $ inxi -G Graphics: Device-1: NVIDIA GP106...

Just wanted to share two workarounds offered by @SpexGuy on [discord](https://discord.com/channels/605571803288698900/1036809403736801360) in case anyone else has this issue. Either of these allowed my project to compile. First one is to...

> One trick you could try would be using clang to emit LLVM IR, using the pclmulqdq intrinsic, but specifying an x86 CPU that does not have the instruction. Interesting....

I started working on [implementing this](https://github.com/travisstaloch/zig/commit/4263911c0b1189cbd6f592f83c79bced91ad0e86#diff-bc5f44920e8a408b813211358b86bb1e11b8a6fd2ad74db7cd512c12264731acR554). I'm currently able to generate the llvm intrinsic but having a name mangling issue that i'm not sure how to fix. I've posted the...

looks like the error from my previous comment was solved in llvm-13.

I've been thinking about this too. I made a zig impl: https://github.com/travisstaloch/quine-mccluskey.zig Any ideas about how to make this useful for this project?

> I put my code here in case you want to look at exactly what I did: https://github.com/carlosdcastillo/simplify-c-defines Oh this is cool. I'm going to try and do the same...

I think i need to work out a few bugs before my zig impl is ready. I've ported simplify.py to zig but it appears i'm not seeing the same reductions...

I've continued working on this and just wanted to report that I've been able to recreate simplify.py [in zig](https://github.com/travisstaloch/quine-mccluskey.zig/blob/main/simplify-c-defines-zig/simplify.zig) with the same output. While the [zig quine-mccluskey](https://github.com/travisstaloch/quine-mccluskey.zig/blob/main/src/quine-mccluskey.zig) is yet quite...

I am switching back to the debug build again (from release-fast - which doesn't crash). I will post some repro code when i see it crash.