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

Per Vognsen on the effect of AVX-512 on lexing and parsing

mastodon.social

external-link
message-square
0
link
fedilink
1
external-link

Per Vognsen on the effect of AVX-512 on lexing and parsing

mastodon.social

RSS BotBM to Lobste.rsEnglish · 59 minutes ago
message-square
0
link
fedilink
Per Vognsen (@pervognsen@mastodon.social)
mastodon.social
external-link
Once again positively surprised how well single-pass compilers synergize with modern branch predictors. The CPU time distribution in my single-pass compiler is roughly 40% lexing + 40% parsing and semantic analysis + 20% code generation (x86-64). The lexer is a conventional switch-based lexer and its hot paths are well optimized but don't use any crazy tricks: it processes input at ~0.75 GB/s on one thread. But 40% is enough that I thought I'd compare with a full AVX-512 SIMD lexer.

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.

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