miniblog.
← Back to all posts
Nov 9, 2020 at 00:11
LLVM is introducing v1 to v4 of x86-64, so you can target newer chips:
https://github.com/llvm/llvm-project/commit/012dd42e027e
(gcc will do the same thing)
[X86] Support -march=x86-64-v[234] · llvm/llvm-project@012dd42
PR47686. These micro-architecture levels are defined in the x86-64 psABI: https://gitlab.com/x86-psABIs/x86-64-ABI/-/commit/77566eb03bc6a326811cb7e9 GCC 11 will support these levels. Note, -mtun...
Wilfred Hughes
Related Posts
Nov 12, 2023 at 05:33
A really fun (10 minute) talk on developing an LLVM backend for 6502, a chip with only three registers and a teeny tiny stack:
2022 EuroLLVM Dev Mtg “LLVM-MOS 6502 Backend: Having a Blast in the Past”
LLVM
Wilfred Hughes
Shared words: LLVM, chips Score: 54.8
Jun 10, 2020 at 04:24
Rust introducing a friendlier inline assembly syntax, and avoiding LLVM assumptions:
Redirect
blog.rust-lang.org/inside-rust/2020/06/08/new-inline-asm.html
Wilfred Hughes
Shared words: LLVM, introducing Score: 54.2
Nov 5, 2020 at 02:46
Fun compiler bug exposing an issue with LLVM (alias analysis):
https://github.com/rust-lang/rust/issues/54878
Impressively, they are able to replicate the issue in C with clang, and even find a similar bug in gcc!
Enable noalias annotations · Issue #54878 · rust-lang/rust
This issue tracks the undoing of the -Zmutable-noalias=no default introduced in #54639 on account of a bug in LLVM. cc @nagisa (Deja vu?)
Wilfred Hughes
Shared words: LLVM, gcc Score: 52.4