aboutsummaryrefslogtreecommitdiffstats
path: root/travis
Commit message (Collapse)AuthorAgeFilesLines
* travis: fix the masmdisp travis testH. Peter Anvin2022-12-072-10/+5
| | | | | | | | | | The masmdisp travis test incorrectly contained an expectation of error, from the bug fixed in checkin e0959432fe24c597e0bfb07412276f622d93a4b9. Fix the test to contain the actually expected output. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* preproc: classify warnings, move into common pp-* namespaceH. Peter Anvin2022-11-145-17/+17
| | | | | | | | | | | | Classify all remaining WARN_OTHER warnings in the preprocessor. Move all preprocessor warnings except "user" under a common pp-* prefix. Warn for an out-of-range argument to the %sel() function. Finally, use "dname" in additional places for consistency and future ease of use. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* asm: factor out more warnings into warning classesH. Peter Anvin2022-11-084-8013/+8013
| | | | | | Hopefully we'll eventually get rid of WARN_OTHER completely... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* travis: update COFF tests to not expect an embedded filenameH. Peter Anvin2022-11-074-0/+0
| | | | | | | When doing a reproducible build with COFF, since checkin e1423b057304b4fc8af7d1fc048ccaa5cc66a2bd the filename is suppressed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix some typosElyes HAOUAS2022-01-093-4/+4
| | | | | | while on it, remove unneeded white spaces. Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* test: add dbxsize testCyrill Gorcunov2021-11-203-0/+18
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* x86/insns: add VMGEXITCyrill Gorcunov2021-05-132-0/+4
| | | | | | | | | | The instruction supports two forms with [f2] and [f3]. I guess we might add aliases as VMGEXIT2 and VMGEXIT3. For now simly leave a second form for ndisasm sake. https://bugzilla.nasm.us/show_bug.cgi?id=3392755 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* x86/insns: add RMPADJUSTCyrill Gorcunov2021-05-132-0/+1
| | | | | | https://bugzilla.nasm.us/show_bug.cgi?id=3392754 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* x86/insns: add PVALIDATECyrill Gorcunov2021-05-132-0/+2
| | | | | | https://bugzilla.nasm.us/show_bug.cgi?id=3392753 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* travis: add vmx testCyrill Gorcunov2021-05-133-0/+33
| | | | | | To test VMX instructions. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* travis: add br3392751Cyrill Gorcunov2021-05-033-0/+16
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add {rex} prefix, simplify prefix handling, better error messagesH. Peter Anvin2021-04-276-5/+49
| | | | | | | | | | Add a {rex} prefix to force REX encoding (typically a redundant 40h prefix). For prefix parsing, we can use t_inttwo to encode the prefix slot number. Give more verbose error messages for encoding mismatches.
* travis: add br3392739Cyrill Gorcunov2021-02-213-0/+15
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Merge branch 'nasm-2.15.xx'Cyrill Gorcunov2020-12-316-0/+91
|\ | | | | | | | | * nasm-2.15.xx: preproc: prohibit unmacro while macro expansion
| * preproc: prohibit unmacro while macro expansionIgor Munkin2020-12-316-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If macro is undefined while it's being expanded, use after free occurs, since the MMacro instance is released, but it is still used to proceed the expansion. This change forbids macro undefinition: non-fatal error is raised and the MMacro instance is not released if it is being processed by NASM preprocessor. Consider the following example: | $ cat test.asm | %macro m 0 | %unmacro m 0 | %endmacro | m | $ ./nasm test.asm | test.asm:4: error: `%unmacro' can't undefine the macro being expanded | test.asm:2: ... from macro `m' defined here Fixes BR3392531 and BR3392716. Signed-off-by: Igor Munkin <imun@cpan.org> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add br3392637Cyrill Gorcunov2020-11-044-0/+82
| | | | | | | | | | | | | | Code for testcase provided by Suhwan. Reported-by: Suhwan <prada960808@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add rdpidCyrill Gorcunov2020-10-154-0/+46
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update avxCyrill Gorcunov2020-10-152-0/+2
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add immCyrill Gorcunov2020-10-153-0/+38
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ilogCyrill Gorcunov2020-10-155-0/+343
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add hleCyrill Gorcunov2020-10-154-0/+36
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add hexfpCyrill Gorcunov2020-10-153-0/+37
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add gatherCyrill Gorcunov2020-10-153-0/+24
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add floatxCyrill Gorcunov2020-10-154-0/+553
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update float testCyrill Gorcunov2020-10-152-0/+34
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ctxlocalCyrill Gorcunov2020-10-153-0/+37
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add cofftestCyrill Gorcunov2020-10-153-0/+97
| | | | | | | | | | | | | | | | Lets run it as win32 since they are sharing backends in most places but win32 is a way more widely used. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add coffalignCyrill Gorcunov2020-10-153-0/+29
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add insertpsCyrill Gorcunov2020-10-113-0/+22
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add masmdispCyrill Gorcunov2020-10-113-0/+61
| | | | | | | | | | | | | | | | It is failing right now so I'm not sure if masm test is correct one. Lets merge it in this form and update if needed. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add movd64Cyrill Gorcunov2020-10-114-0/+43
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add movhpdCyrill Gorcunov2020-10-113-0/+28
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: update nasmformatCyrill Gorcunov2020-10-1118-11/+74
| | | | | | | | | | | | | | | | No need to generate binaries, just compare __OUTPUT_FORMAT__ output and add missing formats. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add objexeCyrill Gorcunov2020-10-113-0/+42
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add timeCyrill Gorcunov2020-10-112-0/+29
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add selfrefCyrill Gorcunov2020-10-113-0/+39
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add timesnegCyrill Gorcunov2020-10-103-0/+18
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add pragmaCyrill Gorcunov2020-10-103-0/+34
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ppindirectCyrill Gorcunov2020-10-103-0/+157
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add nullfileCyrill Gorcunov2020-10-103-0/+15
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add br3392278Cyrill Gorcunov2020-10-103-0/+33
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add strlenCyrill Gorcunov2020-10-103-0/+20
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add splitea testCyrill Gorcunov2020-10-103-0/+23
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | travis: add ssesizeCyrill Gorcunov2020-10-103-0/+26
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Merge branch 'nasm-2.15.xx'Cyrill Gorcunov2020-10-1051-56/+60
|\| | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * nasm-t: do not strip newlines from outputCyrill Gorcunov2020-09-1851-55/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently we strip newlines from files on read and write procedures for better diff output, but as being pointed by hpa@ this makes quite inconvenient to work with tests in a manual mode. Thus lets left outputs as is. We have to update all tests with template outputs since by default output streams are ending with newline. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * nasm-t: add fixme about data readingCyrill Gorcunov2020-09-181-0/+3
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * nasm-t: no need to strip json filesCyrill Gorcunov2020-09-181-1/+1
| | | | | | | | | | | | The json library can handle newlines by self. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Merge remote-tracking branch 'github/nasm-2.15.xx'H. Peter Anvin (Intel)2020-09-1111-7/+96
|\| | | | | | | | | | | No conflicts. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * travis: add br3392442Cyrill Gorcunov2020-09-074-0/+19
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>