aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/pmaxu_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/pmaxu_h.h')
-rw-r--r--riscv/insns/pmaxu_h.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/pmaxu_h.h b/riscv/insns/pmaxu_h.h
new file mode 100644
index 00000000..ac6f6028
--- /dev/null
+++ b/riscv/insns/pmaxu_h.h
@@ -0,0 +1,3 @@
+P_RD_RS1_RS2_ULOOP(16,16,16, {
+ p_rd = (p_rs1 > p_rs2) ? p_rs1 : p_rs2;
+}) \ No newline at end of file