> I regret to inform you that x86_64 (which is probably a “major architecture”) is segmented and has three address spaces.
Can you say more? I assumed the post was referring to segmentation registers, which are not an x86_64 thing.
Can you say more? I assumed the post was referring to segmentation registers, which are not an x86_64 thing.
https://stackoverflow.com/questions/6611346/how-are-the-fs-g...
but i guess the difference between "pointer to an array" and "a segment of memory" isn't actually that big?
__thread int array[100];
array[n] += 5:
Effectively computes the offset portion of array+n and then, using CPU assistance, accesses that memory relative to the segment.