Fabian c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster hai 1 ano
..
Readme.md c780862cf5 Remove outdated docs and gdbauto script %!s(int64=4) %!d(string=hai) anos
arith-optimisations.asm 530aaba1ea Optimise some common instructions (lea nop; cmp x, 0; test x, x; xor x, x) %!s(int64=3) %!d(string=hai) anos
btc-imm.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
btc-reg16.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
btc-reg32.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
btr-imm.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
btr-reg16.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
btr-reg32.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
bts-imm.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
bts-reg16.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
bts-reg32.asm 390b8c4cbb Add tests for btc/btr/bts %!s(int64=3) %!d(string=hai) anos
cmp16-setbe.asm 6e0ab79d4f Fix mask sign-extended 8-bit immediate to 16-bit for cmp (fixes #726) %!s(int64=2) %!d(string=hai) anos
cmpxchg-setbe.asm e50d4fa5a8 Fix flags in cmpxchg in jit %!s(int64=2) %!d(string=hai) anos
cmpxchg.asm ce1a742cb8 cmpxchg tests %!s(int64=3) %!d(string=hai) anos
cmpxchg8b.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
comiss.asm 133656dcde Fix some tests %!s(int64=3) %!d(string=hai) anos
create_tests.js c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster hai 1 ano
cvtpi2ps.asm 77d728a3cc Also mask exceptions bits in sse test %!s(int64=3) %!d(string=hai) anos
cvtps2pi.asm 77d728a3cc Also mask exceptions bits in sse test %!s(int64=3) %!d(string=hai) anos
cvttps2pi.asm 43f9cd429f Implement instruction cvttps2pi %!s(int64=6) %!d(string=hai) anos
emms.asm b7237338c3 Update emms test %!s(int64=7) %!d(string=hai) anos
f2xm1.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fchs.asm 3e3ca2b556 Add some fpu tests %!s(int64=3) %!d(string=hai) anos
fdecstp.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fdiv-zero.asm 158bb75fec FPU: Implement zero divide fault %!s(int64=4) %!d(string=hai) anos
fdiv.asm 3e3ca2b556 Add some fpu tests %!s(int64=3) %!d(string=hai) anos
fdivr.asm 3e3ca2b556 Add some fpu tests %!s(int64=3) %!d(string=hai) anos
fincstp.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
footer.inc c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster hai 1 ano
fprem.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
fprem1.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
fptan.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fpu_m80.asm cd909c4f02 Add tests for fstenv/fldenv/fld [m80] %!s(int64=3) %!d(string=hai) anos
frndint.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fsave_frstor.asm 3ec7d4af59 fsave: mask fpu cs/opcode (amd) hai 1 ano
fscale.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fsincos.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
fsqrt.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fstenv.asm cd909c4f02 Add tests for fstenv/fldenv/fld [m80] %!s(int64=3) %!d(string=hai) anos
fstm80.asm 3e3ca2b556 Add some fpu tests %!s(int64=3) %!d(string=hai) anos
fstsw.asm dda3d51ca5 don't generate random tests for fstsw (some flags are not implemented) hai 1 ano
fxtract-zero.asm 158bb75fec FPU: Implement zero divide fault %!s(int64=4) %!d(string=hai) anos
fxtract.asm 0269e9cecf Fix fxtract %!s(int64=4) %!d(string=hai) anos
fyl2x-zero.asm 158bb75fec FPU: Implement zero divide fault %!s(int64=4) %!d(string=hai) anos
fyl2x.asm e464427def Minor: Remove trailing newlines %!s(int64=3) %!d(string=hai) anos
fyl2xp1.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
gdb-extract-def a2959c7cc2 nasmtests: fix printing of invalid fpu registers hai 1 ano
gen_fixtures.js d766863a27 nasmtests: generate single executable for both test and reference %!s(int64=2) %!d(string=hai) anos
header.inc c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster hai 1 ano
idiv16-overflow.asm 574673e476 add tests for idiv overflow %!s(int64=2) %!d(string=hai) anos
idiv32-overflow.asm 574673e476 add tests for idiv overflow %!s(int64=2) %!d(string=hai) anos
idiv8-overflow.asm 574673e476 add tests for idiv overflow %!s(int64=2) %!d(string=hai) anos
indirect-call.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
indirect-jump.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
jcxz.asm a73988a817 Make loop, loopz, loopnz and jcxz custom generated %!s(int64=3) %!d(string=hai) anos
jump.asm 3cfce44363 Nasm: Jump tests %!s(int64=4) %!d(string=hai) anos
lea-nop.asm 530aaba1ea Optimise some common instructions (lea nop; cmp x, 0; test x, x; xor x, x) %!s(int64=3) %!d(string=hai) anos
leave16.asm 0c42ea0d1f Custom code generation for leave (C9) %!s(int64=4) %!d(string=hai) anos
leave32.asm 0c42ea0d1f Custom code generation for leave (C9) %!s(int64=4) %!d(string=hai) anos
loop.asm a73988a817 Make loop, loopz, loopnz and jcxz custom generated %!s(int64=3) %!d(string=hai) anos
loopnz.asm a73988a817 Make loop, loopz, loopnz and jcxz custom generated %!s(int64=3) %!d(string=hai) anos
loopz.asm a73988a817 Make loop, loopz, loopnz and jcxz custom generated %!s(int64=3) %!d(string=hai) anos
maskmovdqu.asm 2ad796c85a Add NASM test for maskmovdqu xmm, xmm %!s(int64=4) %!d(string=hai) anos
maskmovq.asm 6802f6ab5f Update maskmovq test to use "test memory" the same way as maskmovdqu %!s(int64=4) %!d(string=hai) anos
mov16.asm ccb9b6cbbf nasmtests: Re-enable 0x89 mem tests in mov16 %!s(int64=4) %!d(string=hai) anos
mov_sreg.asm 69e8eafeba test mov reg, sreg manually hai 1 ano
mov_sreg_ud1.asm 69e8eafeba test mov reg, sreg manually hai 1 ano
mov_sreg_ud2.asm 69e8eafeba test mov reg, sreg manually hai 1 ano
movaps.asm 9ec5f49115 Add movaps test %!s(int64=6) %!d(string=hai) anos
movd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
movntpd.asm 1e9c93252f Add nasm tests for movntpd & movntps %!s(int64=6) %!d(string=hai) anos
movntps.asm 1e9c93252f Add nasm tests for movntpd & movntps %!s(int64=6) %!d(string=hai) anos
movq.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
packssdw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
packsswb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
packuswb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddsb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddsw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddusb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddusw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
paddw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pand.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pandn.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pcmpeqb.asm a3420c5f32 Fix manual pcmpeqb nasm test %!s(int64=4) %!d(string=hai) anos
pcmpeqd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pcmpeqw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pcmpgtb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pcmpgtd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pcmpgtw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pmaddwd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pmulhw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pmullw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pmuludq.asm 15058430f0 Add a new test case for pmuludq %!s(int64=6) %!d(string=hai) anos
pop_esp.asm 0c2113d28c nasm: pop esp test %!s(int64=4) %!d(string=hai) anos
pop_esp2.asm 4e49468b7b Fix some minor fpu bugs and add more nasm tests %!s(int64=3) %!d(string=hai) anos
por.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pshufw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
pslld.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psllq.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psllw.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psrad.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psraw.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psrld.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psrlq.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psrlw.asm fef1b05f35 Add XMM based manual tests for SSE shift instructions %!s(int64=4) %!d(string=hai) anos
psubb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubsb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubsw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubusb.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubusw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
psubw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpckhbw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpckhdq.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpckhwd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpcklbw.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpckldq.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
punpcklwd.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
push.asm b1787e5a0f Clean up push nasm test %!s(int64=4) %!d(string=hai) anos
pushf.asm 6b91f91c45 test pushf manually hai 1 ano
pxor.asm f8ddf4dc9c Simplify nasm tests by using boilerplate includes %!s(int64=7) %!d(string=hai) anos
rand.js 677e660558 nasmtests: better rng hai 1 ano
ret-imm.asm 837e6ff362 Custom code generation for ret imm (C2) %!s(int64=4) %!d(string=hai) anos
run.js c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster hai 1 ano
shufps-edgecase.asm 1135122f8a Fix jitted cmpss/cmppd/shufps/shufpd with the same source and destination register %!s(int64=2) %!d(string=hai) anos
ucomiss.asm 133656dcde Fix some tests %!s(int64=3) %!d(string=hai) anos

Readme.md

About

The tests in this folder are not comprehensive by any means at the moment.

Automated Testing

  • Run make nasmtests in the root of the project