Commit Graph

3 Commits

Author SHA1 Message Date
Nathaniel Wesley Filardo
611d4dc617 PowerPC64 memcpy arch tuning 2022-03-04 16:02:30 +00:00
Nathaniel Wesley Filardo
dec7d9c015 NFC memcpy: move small_copies test to Arch::copy
While small_copies seems suitable in general and, in particular, on X86, it
appears to be slower than a byte-wise loop on PowerPC.
2022-03-04 16:02:30 +00:00
David Chisnall
18ccfdecac Refactor memcpy to allow different versions. (#472)
Expose a memcpy.h that contains all of the bits of memcpy and clean up
the bounds checks header so that versions with both read and write
checks can coexist.
2022-03-04 13:33:11 +00:00