neilhenning,
@neilhenning@mastodon.gamedev.place avatar

I wrote up a little thing about how you can write your own constant folders with Clang using GCC's __builtin_constant_p https://www.neilhenning.dev/posts/yourownconstantfolder/

mbr,
@mbr@mastodon.gamedev.place avatar

@neilhenning FWIW: I'm not seeing rsqrtps being produced. What uarch is the target being set to?

EDIT: https://gcc.godbolt.org/z/GPYr1E4ro

EDIT(x2): OK so haswell and earlier.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines