aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/movz.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/movz.h')
-rw-r--r--riscv/insns/movz.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/insns/movz.h b/riscv/insns/movz.h
new file mode 100644
index 0000000..74cf8a9
--- /dev/null
+++ b/riscv/insns/movz.h
@@ -0,0 +1,2 @@
+require_vector;
+if (~RS1 & 0x1) RD = RS2;