You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(208) |
Jun
(43) |
Jul
|
Aug
(2) |
Sep
(17) |
Oct
|
Nov
(4) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(11) |
Mar
(3) |
Apr
(2) |
May
|
Jun
(3) |
Jul
(29) |
Aug
(29) |
Sep
(48) |
Oct
|
Nov
|
Dec
(5) |
2004 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2005 |
Jan
(12) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(21) |
Nov
(25) |
Dec
(16) |
2007 |
Jan
(26) |
Feb
(26) |
Mar
(18) |
Apr
(51) |
May
(45) |
Jun
(26) |
Jul
(6) |
Aug
(85) |
Sep
(161) |
Oct
(111) |
Nov
(83) |
Dec
(18) |
2008 |
Jan
(31) |
Feb
(27) |
Mar
|
Apr
(16) |
May
(142) |
Jun
(136) |
Jul
(51) |
Aug
(21) |
Sep
(47) |
Oct
(428) |
Nov
(19) |
Dec
(6) |
2009 |
Jan
(11) |
Feb
(37) |
Mar
(17) |
Apr
(15) |
May
(13) |
Jun
(61) |
Jul
(127) |
Aug
(15) |
Sep
(22) |
Oct
(28) |
Nov
(37) |
Dec
(10) |
2010 |
Jan
(18) |
Feb
(22) |
Mar
(10) |
Apr
(41) |
May
|
Jun
(48) |
Jul
(61) |
Aug
(54) |
Sep
(34) |
Oct
(15) |
Nov
(49) |
Dec
(11) |
2011 |
Jan
|
Feb
(24) |
Mar
(10) |
Apr
(9) |
May
|
Jun
(33) |
Jul
(41) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(86) |
Mar
(12) |
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(11) |
Oct
(3) |
Nov
(3) |
Dec
(10) |
2013 |
Jan
(1) |
Feb
(23) |
Mar
(15) |
Apr
(7) |
May
(20) |
Jun
(3) |
Jul
(15) |
Aug
|
Sep
(29) |
Oct
(16) |
Nov
(69) |
Dec
(18) |
2014 |
Jan
|
Feb
(8) |
Mar
|
Apr
|
May
(16) |
Jun
(7) |
Jul
|
Aug
(5) |
Sep
(2) |
Oct
(4) |
Nov
(25) |
Dec
(8) |
2015 |
Jan
(6) |
Feb
(6) |
Mar
|
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(6) |
Dec
|
2016 |
Jan
(12) |
Feb
(97) |
Mar
(57) |
Apr
(52) |
May
(33) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
|
2017 |
Jan
(4) |
Feb
|
Mar
(23) |
Apr
(5) |
May
|
Jun
(2) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(3) |
Dec
(3) |
2018 |
Jan
(4) |
Feb
(11) |
Mar
|
Apr
(1) |
May
(3) |
Jun
(6) |
Jul
|
Aug
(5) |
Sep
(5) |
Oct
(36) |
Nov
(128) |
Dec
(18) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(24) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:39
|
Commit-ID: c777772243da543f9c60097b527cf851310f2f15 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=c777772243da543f9c60097b527cf851310f2f15 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 13:37:50 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add elif Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/elif.asm | 38 ++++++++++++++++++++++++++++++++++++++ travis/test/elif.json | 12 ++++++++++++ travis/test/elif.o.t | Bin 0 -> 232 bytes 3 files changed, 50 insertions(+) diff --git a/travis/test/elif.asm b/travis/test/elif.asm new file mode 100644 index 0000000..0f1f870 --- /dev/null +++ b/travis/test/elif.asm @@ -0,0 +1,38 @@ +%macro DosPrintMsg 1+ + %ifnid %1 + section .data + + %%str_to_print:db %1 + + section .text + + mov dx,%%str_to_print + mov ah,9 + int 0x21 + %else + mov dx,(%1) + mov ah,9 + int 0x21 + %endif +%endmacro + +%macro DosExit 1 + %if (%1) == 0 + ;use short-form return 0 exit + int 0x20 + %elif ((%1) < 256) && ((%1) > 0) + mov ax,0x4C00 | (%1) + int 0x21 + %else + %error Invalid return value + %endif +%endmacro + + section .text + DosPrintMsg predefined_str + DosPrintMsg "Using string with macro-defined label",10,0 + DosExit 0 + DosExit 1 + + section .data + predefined_str:db "Using string with predefined label",10,0 diff --git a/travis/test/elif.json b/travis/test/elif.json new file mode 100644 index 0000000..824d62d --- /dev/null +++ b/travis/test/elif.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test elif directive", + "id": "elif", + "format": "obj", + "source": "elif.asm", + "option": "-Ox", + "target": [ + { "output": "elif.o" } + ] + } +] diff --git a/travis/test/elif.o.t b/travis/test/elif.o.t new file mode 100644 index 0000000..8737f85 Binary files /dev/null and b/travis/test/elif.o.t differ |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:38
|
Commit-ID: 27fe12d46e9b66cb0ade16602046d8335e2c494f Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=27fe12d46e9b66cb0ade16602046d8335e2c494f Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 18:14:56 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br3058845 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/br3058845-o0.bin.t | 1 + travis/test/br3058845-ox.bin.t | 1 + travis/test/br3058845.asm | 11 +++++++++++ travis/test/br3058845.json | 20 ++++++++++++++++++++ 4 files changed, 33 insertions(+) diff --git a/travis/test/br3058845-o0.bin.t b/travis/test/br3058845-o0.bin.t new file mode 100644 index 0000000..1b06153 --- /dev/null +++ b/travis/test/br3058845-o0.bin.t @@ -0,0 +1 @@ +=f=f==f== \ No newline at end of file diff --git a/travis/test/br3058845-ox.bin.t b/travis/test/br3058845-ox.bin.t new file mode 100644 index 0000000..1a04f22 --- /dev/null +++ b/travis/test/br3058845-ox.bin.t @@ -0,0 +1 @@ +fff \ No newline at end of file diff --git a/travis/test/br3058845.asm b/travis/test/br3058845.asm new file mode 100644 index 0000000..6dce679 --- /dev/null +++ b/travis/test/br3058845.asm @@ -0,0 +1,11 @@ +BITS 16 +cmp ax, 0xFFFF +cmp eax, 0xFFFF_FFFF + +BITS 32 +cmp ax, 0xFFFF +cmp eax, 0xFFFF_FFFF + +BITS 64 +cmp ax, 0xFFFF +cmp eax, 0xFFFF_FFFF diff --git a/travis/test/br3058845.json b/travis/test/br3058845.json new file mode 100644 index 0000000..4773672 --- /dev/null +++ b/travis/test/br3058845.json @@ -0,0 +1,20 @@ +[ + { + "description": "Test 0xFFFF optimization (-Ox)", + "id": "br3058845", + "format": "bin", + "source": "br3058845.asm", + "option": "-Ox", + "target": [ + { "output": "br3058845-ox.bin" } + ] + }, + { + "description": "Test 0xFFFF optimization (-O0)", + "ref": "br3058845", + "option": "-O0", + "target": [ + { "output": "br3058845-o0.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:38
|
Commit-ID: b93462b8f7cdeb9a1ca0abef5f8d4b7cb895af43 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=b93462b8f7cdeb9a1ca0abef5f8d4b7cb895af43 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 14:41:34 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add expimp Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/expimp-o0-error.stderr | 8 ++++++++ travis/test/expimp-o0.bin.t | Bin 0 -> 513 bytes travis/test/expimp-o0.stderr | 4 ++++ travis/test/expimp-o1.bin.t | Bin 0 -> 501 bytes travis/test/expimp-o1.stderr | 4 ++++ travis/test/expimp-ox-error.stderr | 8 ++++++++ travis/test/expimp-ox.bin.t | Bin 0 -> 495 bytes {test => travis/test}/expimp.asm | 0 travis/test/expimp.json | 40 +++++++++++++++++++++++++++++++++++++ 9 files changed, 64 insertions(+) diff --git a/travis/test/expimp-o0-error.stderr b/travis/test/expimp-o0-error.stderr new file mode 100644 index 0000000..6fb20f5 --- /dev/null +++ b/travis/test/expimp-o0-error.stderr @@ -0,0 +1,8 @@ +./travis/test/expimp.asm:17: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:24: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:31: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:38: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:59: error: short jump is out of range +./travis/test/expimp.asm:59: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:77: error: short jump is out of range +./travis/test/expimp.asm:77: warning: byte data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/expimp-o0.bin.t b/travis/test/expimp-o0.bin.t new file mode 100644 index 0000000..b4034a9 Binary files /dev/null and b/travis/test/expimp-o0.bin.t differ diff --git a/travis/test/expimp-o0.stderr b/travis/test/expimp-o0.stderr new file mode 100644 index 0000000..9a33695 --- /dev/null +++ b/travis/test/expimp-o0.stderr @@ -0,0 +1,4 @@ +./travis/test/expimp.asm:17: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:24: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:31: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:38: warning: signed byte value exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/expimp-o1.bin.t b/travis/test/expimp-o1.bin.t new file mode 100644 index 0000000..161df87 Binary files /dev/null and b/travis/test/expimp-o1.bin.t differ diff --git a/travis/test/expimp-o1.stderr b/travis/test/expimp-o1.stderr new file mode 100644 index 0000000..9a33695 --- /dev/null +++ b/travis/test/expimp-o1.stderr @@ -0,0 +1,4 @@ +./travis/test/expimp.asm:17: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:24: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:31: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:38: warning: signed byte value exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/expimp-ox-error.stderr b/travis/test/expimp-ox-error.stderr new file mode 100644 index 0000000..6fb20f5 --- /dev/null +++ b/travis/test/expimp-ox-error.stderr @@ -0,0 +1,8 @@ +./travis/test/expimp.asm:17: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:24: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:31: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:38: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:59: error: short jump is out of range +./travis/test/expimp.asm:59: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/expimp.asm:77: error: short jump is out of range +./travis/test/expimp.asm:77: warning: byte data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/expimp-ox.bin.t b/travis/test/expimp-ox.bin.t new file mode 100644 index 0000000..11c0d01 Binary files /dev/null and b/travis/test/expimp-ox.bin.t differ diff --git a/test/expimp.asm b/travis/test/expimp.asm similarity index 100% copy from test/expimp.asm copy to travis/test/expimp.asm diff --git a/travis/test/expimp.json b/travis/test/expimp.json new file mode 100644 index 0000000..fcd7783 --- /dev/null +++ b/travis/test/expimp.json @@ -0,0 +1,40 @@ +[ + { + "description": "Test of explicitly and implicitly sized operands (-O0)", + "id": "expimp", + "format": "bin", + "source": "expimp.asm", + "option": "-O0", + "target": [ + { "output": "expimp-o0.bin" }, + { "stderr": "expimp-o0.stderr" } + ] + }, + { + "description": "Test of explicitly and implicitly sized operands (-O1)", + "ref": "expimp", + "option": "-O1", + "target": [ + { "output": "expimp-o1.bin" }, + { "stderr": "expimp-o1.stderr" } + ] + }, + { + "description": "Test of explicitly and implicitly sized operands (-Ox)", + "ref": "expimp", + "option": "-Ox -DERROR -o expimp-ox-error.bin", + "target": [ + { "stderr": "expimp-ox-error.stderr" } + ], + "error": "expected" + }, + { + "description": "Test of explicitly and implicitly sized operands (-O0 error)", + "ref": "expimp", + "option": "-O0 -DERROR -o expimp-o0-error.bin", + "target": [ + { "stderr": "expimp-o0-error.stderr" } + ], + "error": "expected" + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:37
|
Commit-ID: 6ad457d6f82ac3f58afdcfcd6bc2c48f5d7be2fd Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6ad457d6f82ac3f58afdcfcd6bc2c48f5d7be2fd Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 16:58:54 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br2222615 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/br2222615.asm | 16 ++++++++++++++++ travis/test/{null.bin.t => br2222615.bin.t} | 0 travis/test/br2222615.json | 21 +++++++++++++++++++++ travis/test/br2222615.stderr | 1 + 4 files changed, 38 insertions(+) diff --git a/travis/test/br2222615.asm b/travis/test/br2222615.asm new file mode 100644 index 0000000..6129174 --- /dev/null +++ b/travis/test/br2222615.asm @@ -0,0 +1,16 @@ +%macro bluttan 0 + nop +%endmacro + +%ifnmacro bluttan + %error "bluttan is a macro" +%endif + +%ifmacro blej + %error "blej is not a macro" +%endif + +%ifdef ERROR + %ifnmacro + %endif +%endif diff --git a/travis/test/null.bin.t b/travis/test/br2222615.bin.t similarity index 100% copy from travis/test/null.bin.t copy to travis/test/br2222615.bin.t diff --git a/travis/test/br2222615.json b/travis/test/br2222615.json new file mode 100644 index 0000000..04a6106 --- /dev/null +++ b/travis/test/br2222615.json @@ -0,0 +1,21 @@ +[ + { + "description": "Test br2222615 (noerr)", + "id": "br2222615", + "format": "bin", + "source": "br2222615.asm", + "option": "", + "target": [ + { "output": "br2222615.bin" } + ] + }, + { + "description": "Test br2222615 (err)", + "ref": "br2222615", + "option": "-DERROR -o br2222615.bin", + "target": [ + { "stderr": "br2222615.stderr" } + ], + "error": "expected" + } +] diff --git a/travis/test/br2222615.stderr b/travis/test/br2222615.stderr new file mode 100644 index 0000000..af4fcb7 --- /dev/null +++ b/travis/test/br2222615.stderr @@ -0,0 +1 @@ +./travis/test/br2222615.asm:14: error: `%ifnmacro' expects a macro name \ No newline at end of file |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:37
|
Commit-ID: 0f26c1ec54b8332f33c5db966390271d8f908435 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=0f26c1ec54b8332f33c5db966390271d8f908435 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 17:58:49 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add ability to pass environ variables to test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/nasm-t.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/travis/nasm-t.py b/travis/nasm-t.py index 49c547f..e925a6e 100755 --- a/travis/nasm-t.py +++ b/travis/nasm-t.py @@ -277,11 +277,24 @@ def exec_nasm(desc): print("\tProcessing %s" % (desc['_test-name'])) opts = [args.nasm] + prepare_run_opts(desc) + desc_env = desc.get('environ') + if desc_env: + nasm_env = os.environ.copy() + for i in desc_env: + v = i.split('=') + if len(v) == 2: + nasm_env[v[0]] = v[1] + else: + nasm_env[v[0]] = None + else: + nasm_env = None + print("\tExecuting %s" % (" ".join(opts))) pnasm = subprocess.Popen(opts, stdout = subprocess.PIPE, stderr = subprocess.PIPE, - close_fds = True) + close_fds = True, + env = nasm_env) if pnasm == None: test_fail(desc['_test-name'], "Unable to execute test") return None |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:36
|
Commit-ID: 7fd2389637f7eaa5894259f4466e932f66ef50cf Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=7fd2389637f7eaa5894259f4466e932f66ef50cf Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 15:54:39 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add macro-defaults Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/macro-defaults-nowarn.stderr | 36 +++++++++++++++++++++++++++++ travis/test/macro-defaults-warn.stderr | 39 ++++++++++++++++++++++++++++++++ {test => travis/test}/macro-defaults.asm | 0 travis/test/macro-defaults.json | 20 ++++++++++++++++ 4 files changed, 95 insertions(+) diff --git a/travis/test/macro-defaults-nowarn.stderr b/travis/test/macro-defaults-nowarn.stderr new file mode 100644 index 0000000..3481163 --- /dev/null +++ b/travis/test/macro-defaults-nowarn.stderr @@ -0,0 +1,36 @@ +./travis/test/macro-defaults.asm:9: warning: (mmac_fix:3) 2 one a [-w+user] +./travis/test/macro-defaults.asm:7: ... from macro `mmac_fix' defined here [-w+user] +./travis/test/macro-defaults.asm:16: warning: (mmac_var:3) 3 one a b [-w+user] +./travis/test/macro-defaults.asm:14: ... from macro `mmac_var' defined here [-w+user] +./travis/test/macro-defaults.asm:17: warning: (mmac_var:3) 3 one two b [-w+user] +./travis/test/macro-defaults.asm:14: ... from macro `mmac_var' defined here [-w+user] +./travis/test/macro-defaults.asm:27: warning: (mmac_plus:5) 2 one a,b [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:28: warning: (mmac_plus:5) 2 one two [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:29: warning: (mmac_plus:5) 2 one two,three [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:37: warning: (mmac_star:4) 3 one a b [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:38: warning: (mmac_star:4) 3 one two b [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:39: warning: (mmac_star:4) 3 one two three [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:47: warning: (mmac_rotate:1) 2 a b [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:47: warning: (mmac_rotate:4) 2 b a [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:48: warning: (mmac_rotate:1) 2 one b [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:48: warning: (mmac_rotate:4) 2 b one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:49: warning: (mmac_rotate:1) 2 one two [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:49: warning: (mmac_rotate:4) 2 two one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:50: warning: (mmac_rotate:1) 3 one two three [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:50: warning: (mmac_rotate:4) 3 two three one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:64: warning: (mmac_scope:1) 0 0 0 [-w+user] +./travis/test/macro-defaults.asm:58: ... from macro `mmac_scope' defined here [-w+user] \ No newline at end of file diff --git a/travis/test/macro-defaults-warn.stderr b/travis/test/macro-defaults-warn.stderr new file mode 100644 index 0000000..fbc3efa --- /dev/null +++ b/travis/test/macro-defaults-warn.stderr @@ -0,0 +1,39 @@ +./travis/test/macro-defaults.asm:4: warning: too many default macro parameters [-w+macro-defaults] +./travis/test/macro-defaults.asm:11: warning: too many default macro parameters [-w+macro-defaults] +./travis/test/macro-defaults.asm:57: warning: too many default macro parameters [-w+macro-defaults] +./travis/test/macro-defaults.asm:9: warning: (mmac_fix:3) 2 one a [-w+user] +./travis/test/macro-defaults.asm:7: ... from macro `mmac_fix' defined here [-w+user] +./travis/test/macro-defaults.asm:16: warning: (mmac_var:3) 3 one a b [-w+user] +./travis/test/macro-defaults.asm:14: ... from macro `mmac_var' defined here [-w+user] +./travis/test/macro-defaults.asm:17: warning: (mmac_var:3) 3 one two b [-w+user] +./travis/test/macro-defaults.asm:14: ... from macro `mmac_var' defined here [-w+user] +./travis/test/macro-defaults.asm:27: warning: (mmac_plus:5) 2 one a,b [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:28: warning: (mmac_plus:5) 2 one two [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:29: warning: (mmac_plus:5) 2 one two,three [-w+user] +./travis/test/macro-defaults.asm:24: ... from macro `mmac_plus' defined here [-w+user] +./travis/test/macro-defaults.asm:37: warning: (mmac_star:4) 3 one a b [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:38: warning: (mmac_star:4) 3 one two b [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:39: warning: (mmac_star:4) 3 one two three [-w+user] +./travis/test/macro-defaults.asm:35: ... from macro `mmac_star' defined here [-w+user] +./travis/test/macro-defaults.asm:47: warning: (mmac_rotate:1) 2 a b [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:47: warning: (mmac_rotate:4) 2 b a [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:48: warning: (mmac_rotate:1) 2 one b [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:48: warning: (mmac_rotate:4) 2 b one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:49: warning: (mmac_rotate:1) 2 one two [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:49: warning: (mmac_rotate:4) 2 two one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:50: warning: (mmac_rotate:1) 3 one two three [-w+user] +./travis/test/macro-defaults.asm:42: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:50: warning: (mmac_rotate:4) 3 two three one [-w+user] +./travis/test/macro-defaults.asm:45: ... from macro `mmac_rotate' defined here [-w+user] +./travis/test/macro-defaults.asm:64: warning: (mmac_scope:1) 0 0 0 [-w+user] +./travis/test/macro-defaults.asm:58: ... from macro `mmac_scope' defined here [-w+user] \ No newline at end of file diff --git a/test/macro-defaults.asm b/travis/test/macro-defaults.asm similarity index 100% copy from test/macro-defaults.asm copy to travis/test/macro-defaults.asm diff --git a/travis/test/macro-defaults.json b/travis/test/macro-defaults.json new file mode 100644 index 0000000..0de69ac --- /dev/null +++ b/travis/test/macro-defaults.json @@ -0,0 +1,20 @@ +[ + { + "description": "Test warnings on macro default parameters (warn)", + "id": "macro-defaults", + "format": "bin", + "source": "macro-defaults.asm", + "option": "-w+macro-defaults -o macro-defaults.bin", + "target": [ + { "stderr": "macro-defaults-warn.stderr" } + ] + }, + { + "description": "Test warnings on macro default parameters (nowarn)", + "ref": "macro-defaults", + "option": "-w-macro-defaults -o macro-defaults.bin", + "target": [ + { "stderr": "macro-defaults-nowarn.stderr" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:36
|
Commit-ID: fa747e71a878bfa0e1bbb8d31e5f381fa297bf7f Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=fa747e71a878bfa0e1bbb8d31e5f381fa297bf7f Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 15:37:54 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add lnxhello Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/lnxhello.asm | 13 ++++--------- travis/test/lnxhello.json | 11 +++++++++++ travis/test/lnxhello.o.t | Bin 0 -> 784 bytes 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/test/lnxhello.asm b/travis/test/lnxhello.asm similarity index 63% copy from test/lnxhello.asm copy to travis/test/lnxhello.asm index 1aa5a5f..5fd7405 100644 --- a/test/lnxhello.asm +++ b/travis/test/lnxhello.asm @@ -1,8 +1,3 @@ -;Testname=aout; Arguments=-faout -olnxhello.o -Ox; Files=stdout stderr lnxhello.o -;Testname=aoutb; Arguments=-faoutb -olnxhello.o -Ox; Files=stdout stderr lnxhello.o -;Testname=as86; Arguments=-fas86 -olnxhello.o -Ox; Files=stdout stderr lnxhello.o -;Testname=elf32; Arguments=-felf32 -olnxhello.o -Ox; Files=stdout stderr lnxhello.o - ; ; Assembly "Hello, World!" for Linux ; @@ -18,13 +13,13 @@ _start: ; gdb doesn't like to stop at the entry point address, so ; we put a nop here for pure convenience - nop + nop write_hello: mov edx, hello_len mov ecx, hello - + .loop: mov eax, SYS_write mov ebx, 1 ; stdout @@ -37,7 +32,7 @@ write_hello: sub edx, eax jnz .loop -ok: +ok: mov eax, SYS_exit xor ebx, ebx int 80h @@ -48,7 +43,7 @@ error: mov ebx, 1 ; Error int 80h hlt - + section .rodata hello: db "Hello, World!", 10 hello_len equ $-hello diff --git a/travis/test/lnxhello.json b/travis/test/lnxhello.json new file mode 100644 index 0000000..b62b890 --- /dev/null +++ b/travis/test/lnxhello.json @@ -0,0 +1,11 @@ +[ + { + "description": "Assembly 'Hello, World! for Linux", + "id": "lnxhello", + "format": "elf32", + "source": "lnxhello.asm", + "target": [ + { "output": "lnxhello.o" } + ] + } +] diff --git a/travis/test/lnxhello.o.t b/travis/test/lnxhello.o.t new file mode 100644 index 0000000..d0532cd Binary files /dev/null and b/travis/test/lnxhello.o.t differ |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:36
|
Commit-ID: 292d728974117586aab439cf98dfe67dc66919cc Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=292d728974117586aab439cf98dfe67dc66919cc Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 17:09:53 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br3026808 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br3026808.asm | 2 -- travis/test/{br2222615.bin.t => br3026808.bin.t} | 0 travis/test/br3026808.json | 12 ++++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/br3026808.asm b/travis/test/br3026808.asm similarity index 69% copy from test/br3026808.asm copy to travis/test/br3026808.asm index d84923a..5c61c95 100644 --- a/test/br3026808.asm +++ b/travis/test/br3026808.asm @@ -1,5 +1,3 @@ -;Testname=br3026808; Arguments=-Ox -fbin -obr3026808.o; Files=stdout stderr br3026808.o - %imacro proc 1 %push proc %assign %$arg 1 diff --git a/travis/test/br2222615.bin.t b/travis/test/br3026808.bin.t similarity index 100% copy from travis/test/br2222615.bin.t copy to travis/test/br3026808.bin.t diff --git a/travis/test/br3026808.json b/travis/test/br3026808.json new file mode 100644 index 0000000..5067517 --- /dev/null +++ b/travis/test/br3026808.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test push and pop directives", + "id": "br3026808", + "format": "bin", + "source": "br3026808.asm", + "option": "-Ox", + "target": [ + { "output": "br3026808.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:35
|
Commit-ID: 7c37fae21d27d43a5b9f6c2bcdcf70843d638713 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=7c37fae21d27d43a5b9f6c2bcdcf70843d638713 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 17:07:23 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br890790 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/br890790.asm | 6 ++++++ travis/test/br890790.bin.t | Bin 0 -> 11 bytes travis/test/br890790.json | 12 ++++++++++++ {test => travis/test}/br890790_i.asm | 0 4 files changed, 18 insertions(+) diff --git a/travis/test/br890790.asm b/travis/test/br890790.asm new file mode 100644 index 0000000..c0f95f7 --- /dev/null +++ b/travis/test/br890790.asm @@ -0,0 +1,6 @@ +%rep 5 + db 0 + %include "br890790_i.asm" +%endrep + +db 1 diff --git a/travis/test/br890790.bin.t b/travis/test/br890790.bin.t new file mode 100644 index 0000000..66ef498 Binary files /dev/null and b/travis/test/br890790.bin.t differ diff --git a/travis/test/br890790.json b/travis/test/br890790.json new file mode 100644 index 0000000..c438826 --- /dev/null +++ b/travis/test/br890790.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test inclusion inside rep directive", + "id": "br890790", + "format": "bin", + "source": "br890790.asm", + "option": "-Ox -I./travis/test/", + "target": [ + { "output": "br890790.bin" } + ] + } +] diff --git a/test/br890790_i.asm b/travis/test/br890790_i.asm similarity index 100% copy from test/br890790_i.asm copy to travis/test/br890790_i.asm |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:35
|
Commit-ID: b87a996ef06603f98c570d66c3429cf123a89f7e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=b87a996ef06603f98c570d66c3429cf123a89f7e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 12:50:28 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add imul Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/imul-nowarn.bin.t | Bin 0 -> 652 bytes travis/test/imul-warn.bin.t | Bin 0 -> 1365 bytes travis/test/imul-warn.stderr | 76 +++++++++++++++++++++++++++++++++++++++++ {test => travis/test}/imul.asm | 5 +-- travis/test/imul.json | 20 +++++++++++ 5 files changed, 97 insertions(+), 4 deletions(-) diff --git a/travis/test/imul-nowarn.bin.t b/travis/test/imul-nowarn.bin.t new file mode 100644 index 0000000..c7fbb98 Binary files /dev/null and b/travis/test/imul-nowarn.bin.t differ diff --git a/travis/test/imul-warn.bin.t b/travis/test/imul-warn.bin.t new file mode 100644 index 0000000..967d354 Binary files /dev/null and b/travis/test/imul-warn.bin.t differ diff --git a/travis/test/imul-warn.stderr b/travis/test/imul-warn.stderr new file mode 100644 index 0000000..ba0b5c1 --- /dev/null +++ b/travis/test/imul-warn.stderr @@ -0,0 +1,76 @@ +./travis/test/imul.asm:111: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:37: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:111: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:41: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:111: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:52: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:111: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:54: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:36: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:37: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:38: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:39: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:41: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:51: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:52: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:112: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:54: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:36: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:37: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:38: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:39: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:40: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:41: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:42: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:43: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:45: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:45: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:46: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:47: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:47: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:48: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:48: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:51: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:52: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:53: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:54: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:56: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:56: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:57: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:91: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:92: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:93: ... from macro `test' defined here [-w+number-overflow] +./travis/test/imul.asm:113: warning: signed dword value exceeds bounds [-w+number-overflow] +./travis/test/imul.asm:102: ... from macro `test' defined here [-w+number-overflow] \ No newline at end of file diff --git a/test/imul.asm b/travis/test/imul.asm similarity index 91% copy from test/imul.asm copy to travis/test/imul.asm index d30d25f..bfb6e05 100644 --- a/test/imul.asm +++ b/travis/test/imul.asm @@ -1,6 +1,3 @@ -;Testname=nowarn; Arguments=-fbin -oimul.bin; Files=stdout stderr imul.bin -;Testname=warn; Arguments=-DWARN -fbin -oimul.bin; Files=stdout stderr imul.bin - %macro test 1-3 5 -2 bits %1 @@ -23,7 +20,7 @@ imul rdx imul qword MEM %endif - + imul ax,cx imul ax,MEM imul ax,word MEM diff --git a/travis/test/imul.json b/travis/test/imul.json new file mode 100644 index 0000000..b5b9d9e --- /dev/null +++ b/travis/test/imul.json @@ -0,0 +1,20 @@ +[ + { + "description": "Test warnings on imul operation (nowarn)", + "id": "imul", + "format": "bin", + "source": "imul.asm", + "target": [ + { "output": "imul-nowarn.bin" } + ] + }, + { + "description": "Test warnings on imul operation (warn)", + "ref": "imul", + "option": "-DWARN", + "target": [ + { "output": "imul-warn.bin" }, + { "stderr": "imul-warn.stderr" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:34
|
Commit-ID: c51934e40f10bbaa61ae2b3e8546cd4fedbfc86c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=c51934e40f10bbaa61ae2b3e8546cd4fedbfc86c Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Nov 2018 16:34:12 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add nasmformat Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/nasmformat-elf32.o.t | Bin 0 -> 464 bytes travis/test/nasmformat-elf64.o.t | Bin 0 -> 608 bytes travis/test/nasmformat-macho32.o.t | Bin 0 -> 296 bytes travis/test/nasmformat-macho64.o.t | Bin 0 -> 348 bytes travis/test/nasmformat.asm | 17 ++++++++++++++ travis/test/nasmformat.bin.t | 1 + travis/test/nasmformat.json | 44 +++++++++++++++++++++++++++++++++++++ 7 files changed, 62 insertions(+) diff --git a/travis/test/nasmformat-elf32.o.t b/travis/test/nasmformat-elf32.o.t new file mode 100644 index 0000000..3a243d2 Binary files /dev/null and b/travis/test/nasmformat-elf32.o.t differ diff --git a/travis/test/nasmformat-elf64.o.t b/travis/test/nasmformat-elf64.o.t new file mode 100644 index 0000000..19b1590 Binary files /dev/null and b/travis/test/nasmformat-elf64.o.t differ diff --git a/travis/test/nasmformat-macho32.o.t b/travis/test/nasmformat-macho32.o.t new file mode 100644 index 0000000..0de7f14 Binary files /dev/null and b/travis/test/nasmformat-macho32.o.t differ diff --git a/travis/test/nasmformat-macho64.o.t b/travis/test/nasmformat-macho64.o.t new file mode 100644 index 0000000..619da9f Binary files /dev/null and b/travis/test/nasmformat-macho64.o.t differ diff --git a/travis/test/nasmformat.asm b/travis/test/nasmformat.asm new file mode 100644 index 0000000..705a245 --- /dev/null +++ b/travis/test/nasmformat.asm @@ -0,0 +1,17 @@ +%ifidn __OUTPUT_FORMAT__, bin + msg_format: db 'This is binary format file' +%elifidn __OUTPUT_FORMAT__, elf32 + section .rodata + msg_format: db 'This is elf32 format file' +%elifidn __OUTPUT_FORMAT__, elf64 + section .rodata + msg_format: db 'This is elf64 format file' +%elifidn __OUTPUT_FORMAT__, macho32 + section .rodata + msg_format: db 'This is macho32 format file' +%elifidn __OUTPUT_FORMAT__, macho64 + section .rodata + msg_format: db 'This is macho64 format file' +%else + msg_format: db 'This is some other format file' +%endif diff --git a/travis/test/nasmformat.bin.t b/travis/test/nasmformat.bin.t new file mode 100644 index 0000000..799fdc7 --- /dev/null +++ b/travis/test/nasmformat.bin.t @@ -0,0 +1 @@ +This is binary format file \ No newline at end of file diff --git a/travis/test/nasmformat.json b/travis/test/nasmformat.json new file mode 100644 index 0000000..7ef555f --- /dev/null +++ b/travis/test/nasmformat.json @@ -0,0 +1,44 @@ +[ + { + "description": "Test __OUTPUT_FORMAT__ directive (bin)", + "id": "nasmformat", + "format": "bin", + "source": "nasmformat.asm", + "option": "-Ox", + "target": [ + { "output": "nasmformat.bin" } + ] + }, + { + "description": "Test __OUTPUT_FORMAT__ directive (elf32)", + "ref": "nasmformat", + "format": "elf32", + "target": [ + { "output": "nasmformat-elf32.o" } + ] + }, + { + "description": "Test __OUTPUT_FORMAT__ directive (elf64)", + "ref": "nasmformat", + "format": "elf64", + "target": [ + { "output": "nasmformat-elf64.o" } + ] + }, + { + "description": "Test __OUTPUT_FORMAT__ directive (macho32)", + "ref": "nasmformat", + "format": "macho32", + "target": [ + { "output": "nasmformat-macho32.o" } + ] + }, + { + "description": "Test __OUTPUT_FORMAT__ directive (macho64)", + "ref": "nasmformat", + "format": "macho64", + "target": [ + { "output": "nasmformat-macho64.o" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:33
|
Commit-ID: bfe17213e00a8397cf2e94b79ab30d98826c492e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=bfe17213e00a8397cf2e94b79ab30d98826c492e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 10 Nov 2018 23:07:59 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add immwarn Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/immwarn-no.bin.t | Bin 0 -> 188 bytes travis/test/immwarn-o.bin.t | Bin 0 -> 161 bytes travis/test/immwarn-o.stderr | 10 ++++++++++ travis/test/immwarn-ono.bin.t | Bin 0 -> 132 bytes {test => travis/test}/immwarn.asm | 0 travis/test/immwarn.bin.t | Bin 0 -> 222 bytes travis/test/immwarn.json | 38 ++++++++++++++++++++++++++++++++++++++ travis/test/immwarn.stderr | 11 +++++++++++ 8 files changed, 59 insertions(+) diff --git a/travis/test/immwarn-no.bin.t b/travis/test/immwarn-no.bin.t new file mode 100644 index 0000000..3896674 Binary files /dev/null and b/travis/test/immwarn-no.bin.t differ diff --git a/travis/test/immwarn-o.bin.t b/travis/test/immwarn-o.bin.t new file mode 100644 index 0000000..39723cd Binary files /dev/null and b/travis/test/immwarn-o.bin.t differ diff --git a/travis/test/immwarn-o.stderr b/travis/test/immwarn-o.stderr new file mode 100644 index 0000000..6629136 --- /dev/null +++ b/travis/test/immwarn-o.stderr @@ -0,0 +1,10 @@ +./travis/test/immwarn.asm:13: warning: word value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:21: warning: word value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:26: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:32: warning: word value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:37: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:49: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:75: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:75: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:79: warning: signed dword value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:89: warning: signed byte value exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/immwarn-ono.bin.t b/travis/test/immwarn-ono.bin.t new file mode 100644 index 0000000..a1dd76a Binary files /dev/null and b/travis/test/immwarn-ono.bin.t differ diff --git a/test/immwarn.asm b/travis/test/immwarn.asm similarity index 100% copy from test/immwarn.asm copy to travis/test/immwarn.asm diff --git a/travis/test/immwarn.bin.t b/travis/test/immwarn.bin.t new file mode 100644 index 0000000..71d1dc3 Binary files /dev/null and b/travis/test/immwarn.bin.t differ diff --git a/travis/test/immwarn.json b/travis/test/immwarn.json new file mode 100644 index 0000000..9a82031 --- /dev/null +++ b/travis/test/immwarn.json @@ -0,0 +1,38 @@ +[ + { + "description": "Test warns on immediate operands (-O0, warn)", + "id": "immwarn", + "format": "bin", + "source": "immwarn.asm", + "option": "-O0 -DOPT=1 -DWARN=1", + "target": [ + { "output": "immwarn.bin" }, + { "stderr": "immwarn.stderr" } + ] + }, + { + "description": "Test warns on immediate operands (-O0, nowarn)", + "ref": "immwarn", + "option": "-O0 -DOPT=1 -DWARN=0", + "target": [ + { "output": "immwarn-no.bin" } + ] + }, + { + "description": "Test warns on immediate operands (-Ox, warn)", + "ref": "immwarn", + "option": "-Ox -DOPT=1 -DWARN=1", + "target": [ + { "output": "immwarn-o.bin" }, + { "stderr": "immwarn-o.stderr" } + ] + }, + { + "description": "Test warns on immediate operands (-Ox, nowarn)", + "ref": "immwarn", + "option": "-Ox -DOPT=1 -DWARN=0", + "target": [ + { "output": "immwarn-ono.bin" } + ] + } +] diff --git a/travis/test/immwarn.stderr b/travis/test/immwarn.stderr new file mode 100644 index 0000000..95f3448 --- /dev/null +++ b/travis/test/immwarn.stderr @@ -0,0 +1,11 @@ +./travis/test/immwarn.asm:13: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:21: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:26: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:32: warning: word data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:37: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:49: warning: signed byte value exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:75: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:75: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:79: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:79: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/immwarn.asm:89: warning: signed byte value exceeds bounds [-w+number-overflow] \ No newline at end of file |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:32
|
Commit-ID: 752c72e204825892c53cfb6af1be465af427c86e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=752c72e204825892c53cfb6af1be465af427c86e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 17:50:37 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add imm64 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/imm64-o0.bin.t | Bin 0 -> 372 bytes travis/test/imm64-o0.stderr | 16 ++++++++++++++++ travis/test/imm64-o1.bin.t | Bin 0 -> 372 bytes travis/test/imm64-o1.stderr | 16 ++++++++++++++++ travis/test/imm64-ox.bin.t | Bin 0 -> 346 bytes travis/test/imm64-ox.stderr | 16 ++++++++++++++++ {test => travis/test}/imm64.asm | 7 +------ travis/test/imm64.json | 31 +++++++++++++++++++++++++++++++ 8 files changed, 80 insertions(+), 6 deletions(-) diff --git a/travis/test/imm64-o0.bin.t b/travis/test/imm64-o0.bin.t new file mode 100644 index 0000000..9a885f6 Binary files /dev/null and b/travis/test/imm64-o0.bin.t differ diff --git a/travis/test/imm64-o0.stderr b/travis/test/imm64-o0.stderr new file mode 100644 index 0000000..4a6921d --- /dev/null +++ b/travis/test/imm64-o0.stderr @@ -0,0 +1,16 @@ +./travis/test/imm64.asm:24: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:24: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:25: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:26: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:53: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:54: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: dword data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/imm64-o1.bin.t b/travis/test/imm64-o1.bin.t new file mode 100644 index 0000000..9a885f6 Binary files /dev/null and b/travis/test/imm64-o1.bin.t differ diff --git a/travis/test/imm64-o1.stderr b/travis/test/imm64-o1.stderr new file mode 100644 index 0000000..4a6921d --- /dev/null +++ b/travis/test/imm64-o1.stderr @@ -0,0 +1,16 @@ +./travis/test/imm64.asm:24: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:24: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:25: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:26: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:53: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:54: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: dword data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/travis/test/imm64-ox.bin.t b/travis/test/imm64-ox.bin.t new file mode 100644 index 0000000..93e1e63 Binary files /dev/null and b/travis/test/imm64-ox.bin.t differ diff --git a/travis/test/imm64-ox.stderr b/travis/test/imm64-ox.stderr new file mode 100644 index 0000000..4a6921d --- /dev/null +++ b/travis/test/imm64-ox.stderr @@ -0,0 +1,16 @@ +./travis/test/imm64.asm:24: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:24: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:25: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:26: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:27: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:28: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:52: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:53: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:54: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:55: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: signed dword immediate exceeds bounds [-w+number-overflow] +./travis/test/imm64.asm:56: warning: dword data exceeds bounds [-w+number-overflow] \ No newline at end of file diff --git a/test/imm64.asm b/travis/test/imm64.asm similarity index 87% copy from test/imm64.asm copy to travis/test/imm64.asm index a114044..49c418f 100644 --- a/test/imm64.asm +++ b/travis/test/imm64.asm @@ -1,7 +1,3 @@ -;Testname=imm64-O0; Arguments=-O0 -fbin -oimm64.bin; Files=stdout stderr imm64.bin -;Testname=imm64-O1; Arguments=-O1 -fbin -oimm64.bin; Files=stdout stderr imm64.bin -;Testname=imm64-Ox; Arguments=-Ox -fbin -oimm64.bin; Files=stdout stderr imm64.bin - bits 64 mov rax,11223344h mov rax,dword 11223344h @@ -30,7 +26,7 @@ mov [rax],dword 0_11223344_8899aabbh ; 32-bit operation mov qword [rax],0_11223344_8899aabbh mov qword [rax],dword 0_11223344_8899aabbh - + mov rax,strict 11223344h mov rax,strict dword 11223344h mov eax,strict 11223344h @@ -58,4 +54,3 @@ mov [rax],strict dword 0_11223344_8899aabbh ; 32-bit operation mov qword [rax],strict 0_11223344_8899aabbh mov qword [rax],strict dword 0_11223344_8899aabbh - diff --git a/travis/test/imm64.json b/travis/test/imm64.json new file mode 100644 index 0000000..780047e --- /dev/null +++ b/travis/test/imm64.json @@ -0,0 +1,31 @@ +[ + { + "description": "Test imm64 operations (-Ox)", + "id": "imm64", + "format": "bin", + "source": "imm64.asm", + "option": "-Ox", + "target": [ + { "output": "imm64-ox.bin" }, + { "stderr": "imm64-ox.stderr" } + ] + }, + { + "description": "Test imm64 operations (-O1)", + "ref": "imm64", + "option": "-O1", + "target": [ + { "output": "imm64-o1.bin" }, + { "stderr": "imm64-o1.stderr" } + ] + }, + { + "description": "Test imm64 operations (-O0)", + "ref": "imm64", + "option": "-O0", + "target": [ + { "output": "imm64-o0.bin" }, + { "stderr": "imm64-o0.stderr" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:29
|
Commit-ID: 536f28188c2164e54e201aa80765bfd06f29a8f2 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=536f28188c2164e54e201aa80765bfd06f29a8f2 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 13:42:41 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add elfso Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/elfso-o0.o.t | Bin 0 -> 1248 bytes travis/test/elfso-o0.stderr | 1 + travis/test/elfso-ox.o.t | Bin 0 -> 1248 bytes travis/test/elfso-ox.stderr | 1 + {test => travis/test}/elfso.asm | 0 travis/test/elfso.json | 22 ++++++++++++++++++++++ 6 files changed, 24 insertions(+) diff --git a/travis/test/elfso-o0.o.t b/travis/test/elfso-o0.o.t new file mode 100644 index 0000000..7474e3e Binary files /dev/null and b/travis/test/elfso-o0.o.t differ diff --git a/travis/test/elfso-o0.stderr b/travis/test/elfso-o0.stderr new file mode 100644 index 0000000..77bf808 --- /dev/null +++ b/travis/test/elfso-o0.stderr @@ -0,0 +1 @@ +./travis/test/elfso.asm:83: warning: label alone on a line without a colon might be in error [-w+orphan-labels] \ No newline at end of file diff --git a/travis/test/elfso-ox.o.t b/travis/test/elfso-ox.o.t new file mode 100644 index 0000000..1536fed Binary files /dev/null and b/travis/test/elfso-ox.o.t differ diff --git a/travis/test/elfso-ox.stderr b/travis/test/elfso-ox.stderr new file mode 100644 index 0000000..77bf808 --- /dev/null +++ b/travis/test/elfso-ox.stderr @@ -0,0 +1 @@ +./travis/test/elfso.asm:83: warning: label alone on a line without a colon might be in error [-w+orphan-labels] \ No newline at end of file diff --git a/test/elfso.asm b/travis/test/elfso.asm similarity index 100% copy from test/elfso.asm copy to travis/test/elfso.asm diff --git a/travis/test/elfso.json b/travis/test/elfso.json new file mode 100644 index 0000000..ff7ddde --- /dev/null +++ b/travis/test/elfso.json @@ -0,0 +1,22 @@ +[ + { + "description": "Test elf shared library (-Ox)", + "id": "elfso", + "format": "elf32", + "source": "elfso.asm", + "option": "-Ox", + "target": [ + { "output": "elfso-ox.o" }, + { "stderr": "elfso-ox.stderr" } + ] + }, + { + "description": "Test elf shared library (-O0)", + "ref": "elfso", + "option": "-O0", + "target": [ + { "output": "elfso-o0.o" }, + { "stderr": "elfso-o0.stderr" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:25
|
Commit-ID: 6144feac6a255385d0b02549c2c910dbd78b7fc5 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6144feac6a255385d0b02549c2c910dbd78b7fc5 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 13:35:33 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br3005117 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br3005117.asm | 2 -- travis/test/br3005117.json | 12 ++++++++++++ travis/test/br3005117.o.t | Bin 0 -> 832 bytes 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/br3005117.asm b/travis/test/br3005117.asm similarity index 82% copy from test/br3005117.asm copy to travis/test/br3005117.asm index 66a46f8..4e7a5b5 100644 --- a/test/br3005117.asm +++ b/travis/test/br3005117.asm @@ -1,5 +1,3 @@ -;Testname=br3005117; Arguments=-Ox -felf -obr3005117.o; Files=stdout stderr br3005117.o - %macro B_STRUC 1-* %push foo %define %$strucname %1 diff --git a/travis/test/br3005117.json b/travis/test/br3005117.json new file mode 100644 index 0000000..4389b82 --- /dev/null +++ b/travis/test/br3005117.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test br3005117", + "id": "br3005117", + "format": "elf32", + "source": "br3005117.asm", + "option": "-Ox", + "target": [ + { "output": "br3005117.o" } + ] + } +] diff --git a/travis/test/br3005117.o.t b/travis/test/br3005117.o.t new file mode 100644 index 0000000..c979c7d Binary files /dev/null and b/travis/test/br3005117.o.t differ |
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" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:24
|
Commit-ID: 2776c76763ff98c7f9d88e7b394b82ec0bc9f37f Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=2776c76763ff98c7f9d88e7b394b82ec0bc9f37f Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 12:13:21 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add optimization Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/optimization-o0.bin.t | Bin 0 -> 1764 bytes travis/test/optimization-o1.bin.t | Bin 0 -> 1741 bytes travis/test/optimization-ox.bin.t | Bin 0 -> 1732 bytes {test => travis/test}/optimization.asm | 10 +++------- travis/test/optimization.json | 30 ++++++++++++++++++++++++++++++ 5 files changed, 33 insertions(+), 7 deletions(-) diff --git a/travis/test/optimization-o0.bin.t b/travis/test/optimization-o0.bin.t new file mode 100644 index 0000000..4fd5ba5 Binary files /dev/null and b/travis/test/optimization-o0.bin.t differ diff --git a/travis/test/optimization-o1.bin.t b/travis/test/optimization-o1.bin.t new file mode 100644 index 0000000..a630ec2 Binary files /dev/null and b/travis/test/optimization-o1.bin.t differ diff --git a/travis/test/optimization-ox.bin.t b/travis/test/optimization-ox.bin.t new file mode 100644 index 0000000..d21baf8 Binary files /dev/null and b/travis/test/optimization-ox.bin.t differ diff --git a/test/optimization.asm b/travis/test/optimization.asm similarity index 84% copy from test/optimization.asm copy to travis/test/optimization.asm index d78209d..0c1451b 100644 --- a/test/optimization.asm +++ b/travis/test/optimization.asm @@ -1,7 +1,3 @@ -;Testname=O0; Arguments=-O0 -fbin -ooptimization.bin; Files=stdout stderr optimization.bin -;Testname=O1; Arguments=-O1 -fbin -ooptimization.bin; Files=stdout stderr optimization.bin -;Testname=Ox; Arguments=-Ox -fbin -ooptimization.bin; Files=stdout stderr optimization.bin - BITS 32 ; Simple @@ -73,7 +69,7 @@ galog2: ; Sbyte tests... onetwentysix equ 126 onetwentynine equ 129 - + add eax,onetwentyseven ; sbyte (forward) add eax,onetwentyeight ; not sbyte (forward) add eax,onetwentyseven ; sbyte (forward) @@ -84,7 +80,7 @@ add ecx,onetwentyeight ; not sbyte (forward) add ecx,onetwentyseven ; sbyte (forward) add ecx,onetwentysix ; sbyte (backward) add ecx,onetwentynine ; not sbyte (backward) - + onetwentyseven equ 127 onetwentyeight equ 128 @@ -99,6 +95,6 @@ ialog1: add eax, ialog2-ialog1 times 127 - 3 nop ialog2: - + ; Do not confuse forward references and segmentless addresses! jmp 12345 diff --git a/travis/test/optimization.json b/travis/test/optimization.json new file mode 100644 index 0000000..85bb9a8 --- /dev/null +++ b/travis/test/optimization.json @@ -0,0 +1,30 @@ +[ + { + "description": "Test optimization options (-Ox)", + "id": "optimization", + "format": "bin", + "source": "optimization.asm", + "option": "-Ox", + "target": [ + { "output": "optimization-ox.bin" } + ] + }, + { + "description": "Test optimization options (-O0)", + "ref": "optimization", + "source": "optimization.asm", + "option": "-O0", + "target": [ + { "output": "optimization-o0.bin" } + ] + }, + { + "description": "Test optimization options (-O1)", + "ref": "optimization", + "source": "optimization.asm", + "option": "-O1", + "target": [ + { "output": "optimization-o1.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:22
|
Commit-ID: 9b50d362e50216208c3e1840646e5aea0f98592e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=9b50d362e50216208c3e1840646e5aea0f98592e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:35:46 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br1879590 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br1879590.asm | 0 travis/test/br1879590.bin.t | 1 + travis/test/br1879590.json | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/test/br1879590.asm b/travis/test/br1879590.asm similarity index 100% copy from test/br1879590.asm copy to travis/test/br1879590.asm diff --git a/travis/test/br1879590.bin.t b/travis/test/br1879590.bin.t new file mode 100644 index 0000000..d4a0b0d --- /dev/null +++ b/travis/test/br1879590.bin.t @@ -0,0 +1 @@ +ffffffff \ No newline at end of file diff --git a/travis/test/br1879590.json b/travis/test/br1879590.json new file mode 100644 index 0000000..63fa5ca --- /dev/null +++ b/travis/test/br1879590.json @@ -0,0 +1,18 @@ +[ + { + "description": "Test br1879590 (-Ox)", + "id": "br1879590", + "format": "bin", + "source": "br1879590.asm", + "option": "-Ox", + "target": [ + { "output": "br1879590.bin" } + ] + }, + { + "description": "Test br1879590 (-O0)", + "ref": "br1879590", + "option": "-O0", + "update": "false" + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:21
|
Commit-ID: 824d0f00ad82ed6b42dbb30521ac1ec232695013 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=824d0f00ad82ed6b42dbb30521ac1ec232695013 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 12:06:45 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add riprel2 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/riprel2.asm | 8 ++++++++ travis/test/riprel2.bin.t | Bin 0 -> 38 bytes travis/test/riprel2.json | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) diff --git a/travis/test/riprel2.asm b/travis/test/riprel2.asm new file mode 100644 index 0000000..fe7077d --- /dev/null +++ b/travis/test/riprel2.asm @@ -0,0 +1,8 @@ + bits 64 + + default rel + mov dword [foo],12345678h + mov qword [foo],12345678h + mov [foo],rax + mov dword [foo],12345678h +foo: diff --git a/travis/test/riprel2.bin.t b/travis/test/riprel2.bin.t new file mode 100644 index 0000000..a521782 Binary files /dev/null and b/travis/test/riprel2.bin.t differ diff --git a/travis/test/riprel2.json b/travis/test/riprel2.json new file mode 100644 index 0000000..fb74724 --- /dev/null +++ b/travis/test/riprel2.json @@ -0,0 +1,18 @@ +[ + { + "description": "Test rip relative addressing (-Ox)", + "id": "riprel2", + "format": "bin", + "source": "riprel2.asm", + "option": "-Ox", + "target": [ + { "output": "riprel2.bin" } + ] + }, + { + "description": "Test rip relative addressing (-O0)", + "ref": "riprel2", + "option": "-O0", + "update": "false" + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:19
|
Commit-ID: 9b6f94a410333c65d9151c5ff50a0a51fcb94327 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=9b6f94a410333c65d9151c5ff50a0a51fcb94327 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 5 Nov 2018 12:09:33 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add bintest Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/bintest-o0.bin.t | Bin 0 -> 69 bytes travis/test/bintest-ox.bin.t | Bin 0 -> 65 bytes {test => travis/test}/bintest.asm | 3 --- travis/test/bintest.json | 20 ++++++++++++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/travis/test/bintest-o0.bin.t b/travis/test/bintest-o0.bin.t new file mode 100644 index 0000000..dffd8c9 Binary files /dev/null and b/travis/test/bintest-o0.bin.t differ diff --git a/travis/test/bintest-ox.bin.t b/travis/test/bintest-ox.bin.t new file mode 100644 index 0000000..9758ff8 Binary files /dev/null and b/travis/test/bintest-ox.bin.t differ diff --git a/test/bintest.asm b/travis/test/bintest.asm similarity index 88% copy from test/bintest.asm copy to travis/test/bintest.asm index 57a3b2d..94d2bf7 100644 --- a/test/bintest.asm +++ b/travis/test/bintest.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -fbin -obintest.bin; Files=stdout stderr bintest.bin -;Testname=optimized; Arguments=-Ox -fbin -obintest.bin; Files=stdout stderr bintest.bin - ; test source file for assembling to binary files ; build with: ; nasm -f bin -o bintest.com bintest.asm diff --git a/travis/test/bintest.json b/travis/test/bintest.json new file mode 100644 index 0000000..2791d6b --- /dev/null +++ b/travis/test/bintest.json @@ -0,0 +1,20 @@ +[ + { + "description": "Test com generation (-Ox)", + "id": "bintest", + "format": "bin", + "source": "bintest.asm", + "option": "-Ox", + "target": [ + { "output": "bintest-ox.bin" } + ] + }, + { + "description": "Test com generation (-O0)", + "ref": "bintest", + "option": "-O0", + "target": [ + { "output": "bintest-o0.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:17
|
Commit-ID: f399fa73bb55d7b184897a9b7a178eb4ebcf4b2c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=f399fa73bb55d7b184897a9b7a178eb4ebcf4b2c Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:33:58 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br2003451 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br2003451.asm | 2 -- travis/test/br2003451.bin.t | Bin 0 -> 16 bytes travis/test/br2003451.json | 12 ++++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/br2003451.asm b/travis/test/br2003451.asm similarity index 68% copy from test/br2003451.asm copy to travis/test/br2003451.asm index 74e3234..fb309a9 100644 --- a/test/br2003451.asm +++ b/travis/test/br2003451.asm @@ -1,5 +1,3 @@ -;Testname=optimized; Arguments=-Ox -fbin -obr2003451.bin; Files=stdout stderr br2003451.bin - cpu 8086 org 0 diff --git a/travis/test/br2003451.bin.t b/travis/test/br2003451.bin.t new file mode 100644 index 0000000..9c0f4d4 Binary files /dev/null and b/travis/test/br2003451.bin.t differ diff --git a/travis/test/br2003451.json b/travis/test/br2003451.json new file mode 100644 index 0000000..cdc5182 --- /dev/null +++ b/travis/test/br2003451.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test br2003451", + "id": "br2003451", + "format": "bin", + "source": "br2003451.asm", + "option": "-Ox", + "target": [ + { "output": "br2003451.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:16
|
Commit-ID: 1cd96a3a0ecc6783bb4f506ef03a83c2d0609c26 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=1cd96a3a0ecc6783bb4f506ef03a83c2d0609c26 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:32:41 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br2030823 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br2030823.asm | 2 -- travis/test/br2030823.bin.t | Bin 0 -> 44 bytes travis/test/br2030823.json | 12 ++++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/br2030823.asm b/travis/test/br2030823.asm similarity index 59% copy from test/br2030823.asm copy to travis/test/br2030823.asm index fd8f5eb..f9e6ae2 100644 --- a/test/br2030823.asm +++ b/travis/test/br2030823.asm @@ -1,5 +1,3 @@ -;Testname=optimized; Arguments=-Ox -fbin -obr2030823.bin; Files=stdout stderr br2030823.bin - bits 64 VFMADDPD xmm0, xmm1, [0], xmm3 VFMADDPD xmm0, xmm1, xmm2, [0] diff --git a/travis/test/br2030823.bin.t b/travis/test/br2030823.bin.t new file mode 100644 index 0000000..b2c1884 Binary files /dev/null and b/travis/test/br2030823.bin.t differ diff --git a/travis/test/br2030823.json b/travis/test/br2030823.json new file mode 100644 index 0000000..77c5a0b --- /dev/null +++ b/travis/test/br2030823.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test br2030823", + "id": "br2030823", + "format": "bin", + "source": "br2030823.asm", + "option": "-Ox", + "target": [ + { "output": "br2030823.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:15
|
Commit-ID: 84d263812642b9743603570501b4ab050495545d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=84d263812642b9743603570501b4ab050495545d Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:22:37 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add far64 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/far64.asm | 1 - travis/test/far64.bin.t | 1 + travis/test/far64.json | 11 +++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/test/far64.asm b/travis/test/far64.asm similarity index 65% copy from test/far64.asm copy to travis/test/far64.asm index e18bca4..a4ecb8d 100644 --- a/test/far64.asm +++ b/travis/test/far64.asm @@ -1,4 +1,3 @@ -;Testname=test; Arguments=-fbin -ofar64.bin; Files=stdout stderr far64.bin ; BR 2039212 bits 64 diff --git a/travis/test/far64.bin.t b/travis/test/far64.bin.t new file mode 100644 index 0000000..087f6e6 --- /dev/null +++ b/travis/test/far64.bin.t @@ -0,0 +1 @@ +HH((HH( \ No newline at end of file diff --git a/travis/test/far64.json b/travis/test/far64.json new file mode 100644 index 0000000..c6f121d --- /dev/null +++ b/travis/test/far64.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test 64 bit far call", + "id": "far64", + "format": "bin", + "source": "far64.asm", + "target": [ + { "output": "far64.bin" } + ] + } +] |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:09
|
Commit-ID: 6f5cc4d0f8dfca576e04179c503772579b85b71c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6f5cc4d0f8dfca576e04179c503772579b85b71c Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:26:43 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br2496848 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br2496848.asm | 3 --- travis/test/br2496848.bin.t | Bin 0 -> 101 bytes travis/test/br2496848.json | 19 +++++++++++++++++++ travis/test/br2496848.stderr | 24 ++++++++++++++++++++++++ 4 files changed, 43 insertions(+), 3 deletions(-) diff --git a/test/br2496848.asm b/travis/test/br2496848.asm similarity index 77% copy from test/br2496848.asm copy to travis/test/br2496848.asm index a60b7c9..e68066f 100644 --- a/test/br2496848.asm +++ b/travis/test/br2496848.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin -;Testname=optimized; Arguments=-Ox -fbin -o br2496848.bin; Files=stdout stderr br2496848.bin - bits 64 foo: diff --git a/travis/test/br2496848.bin.t b/travis/test/br2496848.bin.t new file mode 100644 index 0000000..a56a403 Binary files /dev/null and b/travis/test/br2496848.bin.t differ diff --git a/travis/test/br2496848.json b/travis/test/br2496848.json new file mode 100644 index 0000000..7baba12 --- /dev/null +++ b/travis/test/br2496848.json @@ -0,0 +1,19 @@ +[ + { + "description": "Test br2496848 (-Ox)", + "id": "br2496848", + "format": "bin", + "source": "br2496848.asm", + "option": "-Ox", + "target": [ + { "output": "br2496848.bin" }, + { "stderr": "br2496848.stderr" } + ] + }, + { + "description": "Test br2496848 (-O0)", + "ref": "br2496848", + "option": "-O0", + "update": "false" + } +] diff --git a/travis/test/br2496848.stderr b/travis/test/br2496848.stderr new file mode 100644 index 0000000..ca9e0ba --- /dev/null +++ b/travis/test/br2496848.stderr @@ -0,0 +1,24 @@ +./travis/test/br2496848.asm:8: warning: numeric constant 0x1ffffffffffffffff does not fit in 64 bits [-w+number-overflow] +./travis/test/br2496848.asm:10: warning: displacement size ignored on absolute address +./travis/test/br2496848.asm:16: warning: dword data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:18: warning: absolute address can not be RIP-relative +./travis/test/br2496848.asm:22: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:22: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:23: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:23: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:27: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:28: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:28: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:29: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:30: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:30: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:31: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:31: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:35: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:36: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:36: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:37: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:38: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:38: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:39: warning: byte data exceeds bounds [-w+number-overflow] +./travis/test/br2496848.asm:39: warning: byte data exceeds bounds [-w+number-overflow] \ No newline at end of file |
From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:01:08
|
Commit-ID: 9a61c98cc63d6d55ffc1b6af565bd9f9508b5c7d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=9a61c98cc63d6d55ffc1b6af565bd9f9508b5c7d Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 23:31:09 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add br2148476 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/br2148476.asm | 2 -- travis/test/br2148476.bin.t | 1 + travis/test/br2148476.json | 11 +++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/br2148476.asm b/travis/test/br2148476.asm similarity index 98% copy from test/br2148476.asm copy to travis/test/br2148476.asm index b1ff0e8..875fcd6 100644 --- a/test/br2148476.asm +++ b/travis/test/br2148476.asm @@ -1,5 +1,3 @@ -;Testname=test; Arguments=-fbin -obr2148476.bin; Files=stdout stderr br2148476.bin - bits 64 cvtdq2pd xmm0, xmm1 diff --git a/travis/test/br2148476.bin.t b/travis/test/br2148476.bin.t new file mode 100644 index 0000000..ab567b3 --- /dev/null +++ b/travis/test/br2148476.bin.t @@ -0,0 +1 @@ +[[[f-f-f-fZfZfZf*f*f****f[f[f[ZZZ------H-H-H-ZZZ***H*H****H*H*ZZZ---H-H-H-ffff,f,f,[[[,,,,,,H,H,H,,,,H,H,H,[[[[[[ZZZZ[[[[[[ZZZZZZ------ZZZZZZ********************ZZZZZZ------[[[[[[,,,,,,,,,,,, \ No newline at end of file diff --git a/travis/test/br2148476.json b/travis/test/br2148476.json new file mode 100644 index 0000000..e90fb7c --- /dev/null +++ b/travis/test/br2148476.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test br2148476", + "id": "br2148476", + "format": "bin", + "source": "br2148476.asm", + "target": [ + { "output": "br2148476.bin" } + ] + } +] |