codegen: unroll memcpy calls for small bytearrays
authorArtem Pyanykh <artem.pyanykh@gmail.com>
Thu, 11 Apr 2019 11:20:03 +0000 (14:20 +0300)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sun, 14 Apr 2019 05:26:35 +0000 (01:26 -0400)
commitedcef7b384ca5af6e67d58c39779d03f80768538
tree0a873348e5fc80f17cabdc0f5b6dddf15b70d07d
parent6febc444c0abea6c033174aa0e813c950b9b2877
codegen: unroll memcpy calls for small bytearrays
compiler/cmm/CmmExpr.hs
compiler/codeGen/StgCmmPrim.hs
compiler/nativeGen/X86/CodeGen.hs
testsuite/tests/codeGen/should_gen_asm/all.T
testsuite/tests/codeGen/should_gen_asm/bytearray-memcpy-unroll.asm [new file with mode: 0644]
testsuite/tests/codeGen/should_gen_asm/bytearray-memcpy-unroll.hs [new file with mode: 0644]