Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ivan Enderlin 馃
Ivan Enderlin 馃
@hywan@floss.social  路  activity timestamp 5 days ago

Bad codegen for comparing struct of two 16bit ints, https://github.com/rust-lang/rust/issues/140167.

Excellent discussions about a simple problem in appearance: Comparing a struct with two `u16` could be achieved by comparing one `u32` (bits concatenation of both `u16`, both should be loaded in the same register). Turns out, despite being a nice optimisation, it鈥檚 rather complex!

#llvm #RustLang #compiler #performance

  • Copy link
  • Flag this post
  • Block

Kakapo Social

Kakapo Social: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-beta.22 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct