News for hackers. Stuff that matters.
Re:What is gained and lost with 63-bit integers? (2014) by gpderetta on Saturday August 12, 2023 @10:49AM (#37100750)
Ah, ok, but now you can't do subword aligned read/writes. That was a costly mistake that Alpha originally made and most architectures have avoided since.
Re:What is gained and lost with 63-bit integers? (2014) by Joker_vD on Saturday August 12, 2023 @11:17AM (#37101039)
That depends on ISA's details, honestly. For example, Knuth's MMIX has 64-bit words and has separate intructions to load/store 8-, 16-, 32-, or 64-bit wide chunks of data to/from memory — which are forced to be naturally aligned because 0, 1, 2, or 3 lower bits of the address are masked, depending on the data access's width. So there you go, you have aligned access for all "natural" subword sizes.