Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created October 24, 2016 16:06
Show Gist options
  • Save takikawa/3fd4de2053b1fb1141eb47aa0cfd9ad6 to your computer and use it in GitHub Desktop.
Save takikawa/3fd4de2053b1fb1141eb47aa0cfd9ad6 to your computer and use it in GitHub Desktop.
$ sudo ./snabb snsh -t apps.lwaftr.multi_copy
selftest: multi_copy
selftest: ok
$ ../lib/luajit/usr/local/bin/luajit dynasm.lua apps/lwaftr/multi_copy.dasl > /tmp/multi_copy.lua
$ cd /tmp
$ cp ~/igalia/dynasm/* ./
cp: omitting directory ‘/home/asumu/igalia/dynasm/bin’
cp: omitting directory ‘/home/asumu/igalia/dynasm/csrc’
$ LD_LIBRARY_PATH="." ~/igalia/snabb/lib/luajit/usr/local/bin/luajit
LuaJIT 2.1.0-beta1 -- Copyright (C) 2005-2015 Mike Pall. http://luajit.org/
JIT: ON SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> mc = require("multi_copy")
> mc.selftest()
selftest: multi_copy
dasm error: variable register out of range. :71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment