News for hackers. Stuff that matters.
Re:GCC always assumes aligned pointer accesses by Gibbon1 on Sunday August 20, 2023 @02:10PM (#37201568)
> For starters, not all hardware platforms allow unaligned accesses at all.

Yeah and always everywhere a mistake. It was a mistake back in the 1970's and it's increasing bigger mistake as time goes on. Just like big endian and 'network order'

Re:GCC always assumes aligned pointer accesses by saagarjha on Sunday August 20, 2023 @07:54PM (#37204071)
Not really. They’re quite convenient in many cases, and can actually be more efficient than carefully preparing aligned loads/stores.