logoalt Hacker News

aidenn0today at 4:45 AM1 replyview on HN

With 8kb of registers for just this one feature, what does a modern process-control-block look like?


Replies

monocasatoday at 4:55 AM

On x86, basically whatever XSAVE writes out.

FWIW, I wouldn't be surprised if you only have a couple threads using this at a time max since it looks an awful lot Apple's AMX/SME stuff. Those Apple execution units only have single engines shared about per cluster.

XSAVE lets you not bother saving register state that user space hasn't changed at the granularity of each large feature.