test: nasm-t -- Add xcrypt test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-03 18:23:13 +03:00
parent 502556c63d
commit daff45cf3c
3 changed files with 36 additions and 0 deletions

24
travis/test/xcrypt.asm Normal file
View file

@ -0,0 +1,24 @@
;Testname=test; Arguments=-fbin -oxcrypt.bin; Files=stdout stderr xcrypt.bin
; BR 2029829
bits 32
rep xstore
rep xcryptecb
rep xcryptcbc
rep xcryptctr
rep xcryptcfb
rep xcryptofb
rep montmul
rep xsha1
rep xsha256
xstore
xcryptecb
xcryptcbc
xcryptctr
xcryptcfb
xcryptofb
montmul
xsha1
xsha256

1
travis/test/xcrypt.bin.t Normal file
View file

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

11
travis/test/xcrypt.json Normal file
View file

@ -0,0 +1,11 @@
[
{
"description": "Test XCRYPT instructions",
"id": "xcrypt",
"format": "bin",
"source": "xcrypt.asm",
"target": [
{ "output": "xcrypt.bin" }
]
}
]