https://www.phoronix.com/forums/forum/software/programming-compilers/1547002-rockchip-open-source-npu-driver-rknn-continues-making-progress
#Programming #& #Compilers
Result Details
The mother lode of #BitTwiddling tips (apart from the #book “Hacker’s Delight”, by Henry S. Warren Jr, and “HAKMEM” by the MIT hackers):
“Bit Twiddling Hacks”, Sean Eron Anderson (https://graphics.stanford.edu/~seander/bithacks.html).
This is good
:
“A Leap Year Check In Three Instructions”, Falk Hüffner (https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html).
Via HN: https://news.ycombinator.com/item?id=43999748
On Lobsters: https://lobste.rs/s/ybjgex/leap_year_check_three_instructions
http://compilers.iecc.com/comparch/article/25-05-012 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-011 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
A simple LLVM backend tutorial
https://github.com/optimisan/llvm-mips-backend
Discussions: https://discu.eu/q/https://github.com/optimisan/llvm-mips-backend
http://compilers.iecc.com/comparch/article/25-05-009 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-010 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-008 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
This post is all about speculative compilation, or just speculation for short, in the context of the JavaScriptCore virtual machine.
One thing I'm learning is that writing detailed unit tests for a parser is incredibly important but also a huge hassle and a massive pain, and even less the fun part than with other types programs I've written
Now is there a bug or did I mess up the lovingly crafted vector of 60 tokens?
http://compilers.iecc.com/comparch/article/25-05-007 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-006 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers