Daniel Lemire
Read post

Careful with Pair-of-Registers instructions on Apple Silicon – Daniel Lemire's blog

An optimization introduced in the .NET 9.0 runtime that combines two loads into a single load may cause performance regression on Apple hardware. The ldp instruction, which loads two consecutive values from memory into two registers simultaneously, may have a penalty on Apple silicon when loading data from recently written memory.

    #assembly#c#performance
Apr 29, 2024•2m read time•From lemire.me
Post cover image
38 Impressions
Daniel Lemire's image
Daniel Lemire

Authored by Daniel Lemire, a computer science professor and researcher, this blog covers a wide rang...

21 Followers

•

127 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard