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