aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/smin16.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/smin16.h')
-rw-r--r--riscv/insns/smin16.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/smin16.h b/riscv/insns/smin16.h
new file mode 100644
index 0000000..921cccb
--- /dev/null
+++ b/riscv/insns/smin16.h
@@ -0,0 +1,3 @@
+P_LOOP(16, {
+ pd = (ps1 < ps2) ? ps1 : ps2;
+}) \ No newline at end of file