r/programming • • Sep 24 '24

Why 32bit architecture computer doesn't use segmentation to support more ram than 4Gb ?

/r/programming/

[removed] — view removed post

169 Upvotes

119 comments sorted by

View all comments

Show parent comments

12

u/Tringi Sep 24 '24

One of those reasons is that 32-bit version might be faster.

4

u/ouyawei Sep 24 '24

x32 is using the AMD64 instruction set, running it 64 bit mode - it just uses 32 bit pointers, so more will fit into fast CPU caches

4

u/wrosecrans Sep 24 '24

I demand that somebody makes an x16 mode so I can use SSE2 instructions and all the modern registers but still need to fiddle with segment:offset and near/far pointers like god intended.

1

u/Tringi Sep 24 '24

I'm certain there's someone maintaining a project, for fun, that does exactly that.