diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-31 11:00:25 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-31 11:00:25 +0200 |
| commit | 370286ee25efee1af73987d8b17d67a5b2c33227 (patch) | |
| tree | a2e76d493fb97b1855119c2c73142a1d103a371e | |
| parent | 311e8ac3e37d3f14cba4f55c1725da896f832dae (diff) | |
| download | box64-370286ee25efee1af73987d8b17d67a5b2c33227.tar.gz box64-370286ee25efee1af73987d8b17d67a5b2c33227.zip | |
More test17 coverage
| -rw-r--r-- | tests/ref17.txt | 5 | ||||
| -rwxr-xr-x | tests/test17 | bin | 129312 -> 131040 bytes | |||
| -rw-r--r-- | tests/test17.c | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref17.txt b/tests/ref17.txt index bcb553ed..5dc2dad2 100644 --- a/tests/ref17.txt +++ b/tests/ref17.txt @@ -258,3 +258,8 @@ maxpd(1 2 , 0x7ff8000000000000 -0 ) = 0x7ff8000000000000 2 maxpd(0 -2 , 0x7ff8000000000000 -0 ) = 0x7ff8000000000000 -0 maxpd(inf -inf , 0x7ff8000000000000 -0 ) = 0x7ff8000000000000 -0 maxpd(0x7ff8000000000000 -0 , 0x7ff8000000000000 -0 ) = 0x7ff8000000000000 -0 +punpcklbw(0xff 0x80 0x7f 0x0 0x1 0x2 0x3 0x81 0xfe 0x84 0x72 0x52 0xa5 0x0 0xc0 0x32 , 0x0 0x1 0x5 0x15 0x20 0x80 0xff 0x0 0x8 0x7 0x81 0x6 0xa 0xf 0x10 0x1 ) = 0xff 0x0 0x80 0x1 0x7f 0x5 0x0 0x15 0x1 0x20 0x2 0x80 0x3 0xff 0x81 0x0 +punpcklwd(0xffff 0x8000 0x7fff 0x0 0x1 0x2 0x3 0x8001 , 0x8000 0x7fff 0xffff 0xffff 0x50 0x9000 0xfffe 0x8001 ) = 0xffff 0x8000 0x8000 0x7fff 0x7fff 0xffff 0x0 0xffff +punpckldq(0xffffffff 0x80000000 0x7fffffff 0x0 , 0x1 0x80000000 0x5 0xfffffffe ) = 0xffffffff 0x1 0x80000000 0x80000000 +ppacksswb(0xffff 0x8000 0x7fff 0x0 0x1 0x2 0x3 0x8001 , 0x8000 0x7fff 0xffff 0xffff 0x50 0x9000 0xfffe 0x8001 ) = 0x80ff 0x7f 0x201 0x8003 0x7f80 0xffff 0x8050 0x80fe +ppackssdw(0xffffffff 0x80000000 0x7fffffff 0x0 , 0x1 0x80000000 0x5 0xfffffffe ) = 0x8000ffff 0x7fff 0x80000001 0xfffe0005 diff --git a/tests/test17 b/tests/test17 index 4325423c..d4bca8cc 100755 --- a/tests/test17 +++ b/tests/test17 Binary files differdiff --git a/tests/test17.c b/tests/test17.c index 20ac6be9..883abf66 100644 --- a/tests/test17.c +++ b/tests/test17.c @@ -351,6 +351,12 @@ printf(N " %g, %g => %g\n", b, a, *(float*)&r); MULITGO2pd(min, minpd) MULITGO2pd(div, divpd) MULITGO2pd(max, maxpd) + GO2(unpacklo, 8, punpcklbw, a128_8, b128_8) + GO2(unpacklo, 16, punpcklwd, a128_16, b128_16) + GO2(unpacklo, 32, punpckldq, a128_32, b128_32) + GO2(packs, 16, ppacksswb, a128_16, b128_16) + + GO2(packs, 32, ppackssdw, a128_32, b128_32) return 0; } |