Thread: 68k details
View Single Post
Old 12 November 2018, 02:56   #761
mc6809e
Registered User
 
Join Date: Jan 2012
Location: USA
Posts: 372
I'm surprised no one mentioned a potentially difficult problem using x86 segments and C: pointer aliasing issues.

It's entirely possible for two pointers to point to precisely the same memory location and still be unequal.

This can make certain compiler optimizations next to impossible even if the programmer knows that two pointers can't possibly point to the same memory location. This goes for OoO processing at the processor level as well.

Dependencies are created that limit the degree to which operations can be reordered or elided.
mc6809e is offline  
 
Page generated in 0.04271 seconds with 11 queries