Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotBM to Lobste.rsEnglish · 48 minutes ago

A direct -O0 code generator for LLVM

maskray.me

external-link
message-square
0
link
fedilink
2
external-link

A direct -O0 code generator for LLVM

maskray.me

RSS BotBM to Lobste.rsEnglish · 48 minutes ago
message-square
0
link
fedilink
This post describes an experiment that compiles a function directly from LLVM IR to machine code bytes, without building a MachineFunction, and falls back to the regular pipeline one function at a time. On the compile-time tracker, -O0 -g builds take 14% fewer instructions on x86-64 and 21% fewer on AArch64. The generated code is 10% larger on x86-64 and about the same size on AArch64, and clang -S output assembles to the same code that clang -c emits. Skipping the pipeline creates an obligation, and most of this post is about that obligation…

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 15 users / day
  • 146 users / week
  • 458 users / month
  • 1.49K users / 6 months
  • 2 local subscribers
  • 430 subscribers
  • 17.3K Posts
  • 1.28K Comments
  • Modlog
  • mods:
  • patrick
  • RSS BotB
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org