Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ithkuil
on Oct 2, 2021
|
parent
|
context
|
favorite
| on:
Google developing own CPUs for Chromebook laptops
If the extra instructions also operate in extra state (e.g. extra registers) a kernel needs to know about their existence so it can correctly save and restore state on context switches
my123
on Oct 2, 2021
|
next
[–]
Not necessarily/really, the custom extensions still need to be enabled by the kernel before they can be used.
As such, it isn’t actually an issue.
ndesaulniers
on Oct 3, 2021
|
prev
[–]
You're confusing MSRs (which don't have to be saved/restored on context switch) with GPRs (which do).
ithkuil
on Oct 3, 2021
|
parent
|
next
[–]
Well if there is a truly undocumented extension, how do I know it doesn't come with it's own registers (e.g. like a floating point unit does)
saagarjha
on Oct 3, 2021
|
parent
|
prev
[–]
Apple reserves certain MSRs that apply on a per-process basis, and thus must be applied on context switch.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: