From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:25
|
Commit-ID: fbd4b32da93cea1dec9f149e04913735ecc148fd Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=fbd4b32da93cea1dec9f149e04913735ecc148fd Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 12:23:02 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add movimm Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/movimm-o0.bin.t | Bin 0 -> 128 bytes travis/test/movimm-o0.stderr | 10 ++++++++++ travis/test/movimm-ox.bin.t | 1 + travis/test/movimm-ox.stderr | 10 ++++++++++ {test => travis/test}/movimm.asm | 0 travis/test/movimm.json | 22 ++++++++++++++++++++++ 6 files changed, 43 insertions(+) diff --git a/travis/test/movimm-o0.bin.t b/travis/test/movimm-o0.bin.t new file mode 100644 index 0000000..c24f103 Binary files /dev/null and b/travis/test/movimm-o0.bin.t differ diff --git a/travis/test/movimm-o0.stderr b/travis/test/movimm-o0.stderr new file mode 100644 index 0000000..916171b --- /dev/null +++ b/travis/test/movimm-o0.stderr @@ -0,0 +1,10 @@ +./travis/test/movimm.asm:6: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:7: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:7: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:9: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:10: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:10: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:11: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:12: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:12: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:15: warning: dword data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/movimm-ox.bin.t b/travis/test/movimm-ox.bin.t new file mode 100644 index 0000000..f60293d --- /dev/null +++ b/travis/test/movimm-ox.bin.t @@ -0,0 +1 @@ +HͫxV4ͫHͫHͫxV4ͫHͫͫHͫͫxV4xV4HxV4xV4xV4HxV4xV4HxV4xV4 \ No newline at end of file diff --git a/travis/test/movimm-ox.stderr b/travis/test/movimm-ox.stderr new file mode 100644 index 0000000..916171b --- /dev/null +++ b/travis/test/movimm-ox.stderr @@ -0,0 +1,10 @@ +./travis/test/movimm.asm:6: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:7: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:7: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:9: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:10: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:10: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:11: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:12: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:12: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/movimm.asm:15: warning: dword data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/test/movimm.asm b/travis/test/movimm.asm similarity index 100% copy from test/movimm.asm copy to travis/test/movimm.asm diff --git a/travis/test/movimm.json b/travis/test/movimm.json new file mode 100644 index 0000000..7c2b33d --- /dev/null +++ b/travis/test/movimm.json @@ -0,0 +1,22 @@ +[ + { + "description": "Test mov imm intruction (-Ox)", + "id": "movimm", + "format": "bin", + "source": "movimm.asm", + "option": "-Ox", + "target": [ + { "output": "movimm-ox.bin" }, + { "stderr": "movimm-ox.stderr" } + ] + }, + { + "description": "Test mov imm intruction (-O0)", + "ref": "movimm", + "option": "-O0", + "target": [ + { "output": "movimm-o0.bin" }, + { "stderr": "movimm-o0.stderr" } + ] + } +] |