summaryrefslogtreecommitdiff
path: root/lib/std/test/slcp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-10-02 23:27:11 -0700
committerOri Bernstein <ori@eigenstate.org>2015-10-02 23:27:11 -0700
commit08442dd9c3426e2dbe598ef1f6fb10f2f67638aa (patch)
treef8a9d3092248258e5a33bb17fe3a985868ae2ef8 /lib/std/test/slcp.myr
parent76086513de9efd7a000d0bc229c3e990f0af5a2f (diff)
downloadmc-08442dd9c3426e2dbe598ef1f6fb10f2f67638aa.tar.gz
Implement some asm optimized memcpy/memmove checks.
TODO: memcmp
Diffstat (limited to 'lib/std/test/slcp.myr')
-rw-r--r--lib/std/test/slcp.myr4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/std/test/slcp.myr b/lib/std/test/slcp.myr
index 67c8298..8eea596 100644
--- a/lib/std/test/slcp.myr
+++ b/lib/std/test/slcp.myr
@@ -9,6 +9,8 @@ const main = {
std.slcp(a[:a.len-2], a[2:])
std.slcp(b[2:], b[:b.len-2])
+ std.put("a: {}, a_cped: {}\n", a[:], a_cped[:])
+ std.put("b: {}, b_cped: {}\n", b[:], b_cped[:])
std.assert(std.sleq(a[:], a_cped[:]), "slcp of a failed")
- std.assert(std.sleq(b[:], b_cped[:]), "slcp of a failed")
+ std.assert(std.sleq(b[:], b_cped[:]), "slcp of b failed")
}