From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:46
|
Commit-ID: 85f3da058c8c517dec7dbba057febc4e2999df53 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=85f3da058c8c517dec7dbba057febc4e2999df53 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 16:40:07 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add popcnt test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/popcnt.asm | 3 --- travis/test/popcnt.bin.t | 1 + travis/test/popcnt.json | 11 +++++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/test/popcnt.asm b/travis/test/popcnt.asm similarity index 84% copy from test/popcnt.asm copy to travis/test/popcnt.asm index 0009619..54e32f3 100644 --- a/test/popcnt.asm +++ b/travis/test/popcnt.asm @@ -1,5 +1,3 @@ -;Testname=test; Arguments=-fbin -opopcnt.bin; Files=stdout stderr popcnt.bin - bits 16 popcnt ax,cx @@ -29,4 +27,3 @@ popcnt rax,rcx popcnt rax,[rsi] popcnt rax,qword [rsi] - \ No newline at end of file diff --git a/travis/test/popcnt.bin.t b/travis/test/popcnt.bin.t new file mode 100644 index 0000000..c305da0 --- /dev/null +++ b/travis/test/popcnt.bin.t @@ -0,0 +1 @@ +fffffffffHHH \ No newline at end of file diff --git a/travis/test/popcnt.json b/travis/test/popcnt.json new file mode 100644 index 0000000..e53ffe4 --- /dev/null +++ b/travis/test/popcnt.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test popcnt instruction", + "id": "popcnt", + "format": "bin", + "source": "popcnt.asm", + "target": [ + { "output": "popcnt.bin" } + ] + } +] |