about summary refs log tree commit diff stats
path: root/tests/test17.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-04-01 20:41:51 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-04-01 20:41:51 +0200
commitead3217bf47f328ee7cce78a3080112f0f7a804b (patch)
tree1d9c2a8f8bd3edabb6cfb7b9b75ef7e65bbb5d15 /tests/test17.c
parentf2012fc6365c338b977a6e6a230e1d9d7c750d51 (diff)
downloadbox64-ead3217bf47f328ee7cce78a3080112f0f7a804b.tar.gz
box64-ead3217bf47f328ee7cce78a3080112f0f7a804b.zip
More work on test17, and handling -NAN on divsd
Diffstat (limited to 'tests/test17.c')
-rw-r--r--tests/test17.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test17.c b/tests/test17.c
index 0627d8c5..385b624c 100644
--- a/tests/test17.c
+++ b/tests/test17.c
@@ -391,10 +391,14 @@ printf(N " %g, %g => %g\n", b, a, *(float*)&r);
  GO2sd(A, B, a128_pd, b128_pd)              \
  GO2sd(A, B, a128_pd, c128_pd)              \
  GO2sd(A, B, a128_pd, d128_pd)              \
+ GO2sd(A, B, b128_pd, d128_pd)              \
+ GO2sd(A, B, c128_pd, d128_pd)              \
  GO2sd(A, B, a128_pd, reverse_pd(a128_pd))  \
  GO2sd(A, B, a128_pd, reverse_pd(b128_pd))  \
  GO2sd(A, B, a128_pd, reverse_pd(c128_pd))  \
- GO2sd(A, B, a128_pd, reverse_pd(d128_pd))
+ GO2sd(A, B, a128_pd, reverse_pd(d128_pd))  \
+ GO2sd(A, B, b128_pd, reverse_pd(d128_pd))  \
+ GO2sd(A, B, b128_pd, reverse_pd(d128_pd))
 
 
  GO2(shuffle, 8, pshufb, a128_8, b128_8)
@@ -581,6 +585,10 @@ printf(N " %g, %g => %g\n", b, a, *(float*)&r);
  MULTIGO2sd(sqrt, sqrtsd)
  MULTIGO2sd(add, addsd)
  MULTIGO2sd(mul, mulsd)
+ MULTIGO2sd(sub, subsd)
+ MULTIGO2sd(min, minsd)
+ MULTIGO2sd(div, divsd)
+ MULTIGO2sd(max, maxsd)
 
  return 0;
 }