7

Per Vognsen: "@asb Regarding "top byte ignor…" - Mastodon

 6 months ago
source link: https://mastodon.social/@pervognsen/111478311673112804
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Per Vognsen: "@asb Regarding "top byte ignor…"

@asb Regarding "top byte ignore" and such things, on x86 you can also use SIB addressing to do something similar portably, e.g. [8*rax] to load from an 8-byte aligned address which effectively ignores the top 3 bits of the value in rax which can therefore be used for pointer tagging.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK