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