Implement blm and bls using an inline loop.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 00:30:12 +0000 (19:30 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 00:30:12 +0000 (19:30 -0500)
commit2e41c392fac193dc5e363cd8e3493bc5ae5e0e7f
tree2ad8daf704a3acba655f2dcca5ee3ebe126bb91a
parentc578c495bb12b3b558e89b6b304a1b92756c544e
Implement blm and bls using an inline loop.

This replaces a call to memmove() in libc.  That was working for me,
but it can fail because EM programs don't always link to libc.

blm and bls only need to copy aligned words.  They don't need to copy
bytes, and they don't need to copy between overlapping buffers, as
memmove() does.  So the new loop is simpler than memmove().
mach/powerpc/ncg/table