I mean I feel like “for shits and giggles” is a decent answer.
-
-
yeah, you can use memcpy for loads. it's just awkward as hell
-
(a) is memmove okay with this as well; I can never keep track of what those do differently other than overlap (b) still serious, while byte-unaligned is moderately tolerable, is there a reasonable solution for bit-unaligned txfer
-
For (a), to make the load-combining optimization, dest should be a local temp whose address doesn't leak. So memmove makes no sense.
-
It probably doesn't hurt to use memmove though since the compiler can see that args can't alias & replace it with memcpy.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
