Commit Graph

175 Commits

Author SHA1 Message Date
Cyrill Gorcunov
312b7c667c travis: enable winalign test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 19:21:17 +03:00
Cyrill Gorcunov
4debfe8c8f travis: add br3392411
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 19:19:33 +03:00
Cyrill Gorcunov
512c93dc42 travis: nasm-t -- add ability to specify error
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 19:11:52 +03:00
Cyrill Gorcunov
09f819dc6f travis: add br3392363
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 19:02:55 +03:00
Cyrill Gorcunov
50131db098 travis: add br3392396
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 19:01:17 +03:00
Cyrill Gorcunov
296cf9bebc travis: add br3392392
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 18:59:06 +03:00
Cyrill Gorcunov
6691653710 travis: add v4
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 18:12:09 +03:00
Cyrill Gorcunov
40650a357a travis: add sreg
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 18:08:33 +03:00
Cyrill Gorcunov
91d0980bfa travis: add ret
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 18:05:33 +03:00
Cyrill Gorcunov
f2854471ac travis: add vaesenc
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
852e80b011 travis: add vex
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
70eb4a0885 travis: add vgather
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
186c28395f travis: add warnstack
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
e2917fd775 travis: add vpcmp
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
8142ab699d travis: add winalign
It is disabled by now -- we need to teach nasm-t to
skip some parts of output (due to format specifics).

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
4b3ac4eefd travis: nasm-t -- add ability to disable test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
d9eed2bec7 travis: add xdefine test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
7f3cfafbd9 travis: add br3392275
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:10 +03:00
Cyrill Gorcunov
63ccbf4f5f travis: nasm-t -- add ability to generate new tests
Just to not fill descriptor by hands every time.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-25 16:36:06 +03:00
Cyrill Gorcunov
d2e3bd850f travis: add xpaste test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 18:03:32 +03:00
Cyrill Gorcunov
b2fb88596e travis: add avx2
Initial conversion by nasm64developer.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 16:23:53 +03:00
Cyrill Gorcunov
62bae12eed travis: add br3104312
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 15:24:32 +03:00
Cyrill Gorcunov
355d8bf40c travis: add amx test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 15:24:32 +03:00
Cyrill Gorcunov
3d1f5ce8e7 travis: update absolute
To match test/ instance.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 15:24:22 +03:00
Cyrill Gorcunov
f0b0155280 travis: add a64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-24 13:48:31 +03:00
H. Peter Anvin
fb95a2ef7a br3392643: update travis test
The warning output by obj symbol truncation has been changed, update
the travis reference accordingly.

Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-08-18 12:37:35 -07:00
Cyrill Gorcunov
51e23ac72a travis: add br3392643 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-18 21:05:56 +03:00
Cyrill Gorcunov
57e0b3e56a travis: add br3392711 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-18 13:59:12 +03:00
Cyrill Gorcunov
f1cf95480d travis: weirdpaste -- add nil dereference test
To address BR 3392696

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-07-12 06:01:51 -07:00
H. Peter Anvin
a6fd383126 travis: weirdpaste.i now has better line directives
The %line directives in weirdpaste.i now better reflect the actual
lines of the source code, just as we would have for debugging
output. Update the reference version of weirdpaste.i accordingly.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2020-07-05 15:31:36 -07:00
H. Peter Anvin (Intel)
b292748d9f preproc, srcfile: much saner handling of %line directives
%line directives really need to be preprocessed early, before normal
directive processing. In particular, they are *not* affected by such
thing as smacro expansion, or deferred into an mmacro expansion.

The %line directive is special because it is explicitly indented to be
inserted by an external preprocessor, which can happen at any point.

For mmacro and rep expansions, store the current file and line for
each expansion line. Similarly, let each istk entry contain such
information.

Don't emit empty lines in preprocessing-only mode when we are
already required to issue a %line directive anyway. This cuts down on
clutter a fair bit.

Quote filenames in %line directives (and accept quoted filenames in
%line directives) if and only if it is necessary for
disambiguation. This is required if:

1. The filename contains control characters;
2. The filename begins or ends with whitespace or a quotation mark;
3. The filename is empty.

Otherwise issue the filename as-is, for backwards compatibility.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-06-14 20:09:11 -07:00
H. Peter Anvin (Intel)
30dda0b4bb travis: utf-error.stderr: remove unnecessary error message
The error message "comma expected after operand 2" no longer
occurs in this program, this is an acceptable divergence, however.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-06-05 13:22:32 -07:00
H. Peter Anvin (Intel)
cc27f60fb0 travis: test avx512f should now pass
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-06-05 13:19:04 -07:00
H. Peter Anvin
02d68d3da0 travis utf-error test: update error messages
Update error messages to match the new __?*?__ namespace.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-09-12 18:36:18 -07:00
H. Peter Anvin (Intel)
6ecc25c13e travis: update warning output
Update warning formatting after verifying that the new output is
indeed still correct.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-08-09 16:18:51 -07:00
H. Peter Anvin (Intel)
41bb8a8114 Warn if trying to assemble obsolete instructions
Print a warning if one tries to assemble an obsolete instruction,
unless there is an exact match for the CPU directive.

For example:

	CPU 386
	POP CS		; Warning - obsolete instruction

	CPU 8086
	POP CS		; No warning

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-08-06 22:56:51 -07:00
H. Peter Anvin
fdeb3b0d01 Add group aliases for all prefixed warnings.
For example, -w+float will now enable all warnings with names staring
with float-*.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2019-06-06 20:53:17 -07:00
H. Peter Anvin
236f4a832b strfunc: better error messages if a string transform fails
Let the user know what string transform actually failed on them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2019-06-06 17:17:16 -07:00
H. Peter Anvin (Intel)
38ddb19977 Warnings: move zeroing reserved space to a separate warning class
Zeroing reserved space in a progbits section really should be a
separate warning class, so it can be controlled independently.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-01-11 12:27:02 -08:00
Cyrill Gorcunov
ad2fab7778 test: nasm-t -- Use plain stderr extension for error stream
Just to unify with other tests

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-23 18:12:37 +03:00
Cyrill Gorcunov
929aa65385 test: nasm-t -- Add clzero case
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-23 17:22:44 +03:00
Cyrill Gorcunov
3c0b924c9d test: nasm-t -- Add more details into README
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-20 14:28:31 +03:00
Cyrill Gorcunov
8c17bb2fc4 test: nasm-t -- Update tests
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-16 01:25:03 +03:00
Cyrill Gorcunov
33b5d21fbd test: nasm-t -- Make read buffer up to 4M
Need to implement read on demand but later.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 22:56:18 +03:00
Cyrill Gorcunov
82cc2fbef0 test: nasm-t -- Update multisection
We start printing [-w+other]

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:56 +03:00
Cyrill Gorcunov
bbc0c01055 test: nasm-t -- Update riprel
We provide [-w+other] in output.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:56 +03:00
Cyrill Gorcunov
3999dcf2d4 test: nasm-t -- Update prefix66
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:56 +03:00
Cyrill Gorcunov
29fab74251 test: nasm-t -- Update multisection
Now we provide -w-other in output.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:56 +03:00
Cyrill Gorcunov
dbdc1a06c4 test: nasm-t -- Update mout
We start printing space after file name.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:56 +03:00
Cyrill Gorcunov
705472100a test: nasm-t -- Fix typo
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-12-15 15:39:51 +03:00