aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/khmtt16.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/khmtt16.h')
-rw-r--r--riscv/insns/khmtt16.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/riscv/insns/khmtt16.h b/riscv/insns/khmtt16.h
deleted file mode 100644
index d3c0b4c..0000000
--- a/riscv/insns/khmtt16.h
+++ /dev/null
@@ -1,14 +0,0 @@
-require_vector_vs;
-require_rv64;
-P_LOOP(32, {
- int32_t aop = P_SH(ps1, 1);
- int32_t bop = P_SH(ps2, 1);
- if ((INT16_MIN != aop) | (INT16_MIN != bop)) {
- pd = aop * bop;
- pd >>= 15;
- } else {
- pd = INT16_MAX;
- P_SET_OV(1);
- }
- pd = (int16_t)pd;
-})