@abhi9u.bsky.social In past few months I have been reading about functional language compiler. And this conversion https://x.com/abhi9u/status/1775546053262983254 pop-ed into my head. Yeah GHC compiler wants to pin certain registers. Reason is mentioned in wiki ..
Comments
GHC compiles haskell using STG machine (https://amelia.how/posts/the-gmachine-in-detail.html) where it make sense to pin STG virtual registers to hardware registers for performance reason.