aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-12-08 23:59:23 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-12-08 23:59:23 +0100
commit3785d0941f376b549a863853996e13ab47459525 (patch)
treee3eea0348b20c987a0740567bf261cc4c579e804 /src
parent7c19965f491b0a7d7fcd37d12ce9a69f80cb107a (diff)
downloadjuicebox-asm-3785d0941f376b549a863853996e13ab47459525.tar.gz
juicebox-asm-3785d0941f376b549a863853996e13ab47459525.zip
insn: add missing trait rustdocs
Diffstat (limited to 'src')
-rw-r--r--src/insn.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/insn.rs b/src/insn.rs
index 2f80d3d..8c2215c 100644
--- a/src/insn.rs
+++ b/src/insn.rs
@@ -30,6 +30,7 @@ pub trait Call<T> {
fn call(&mut self, op1: T);
}
+/// Trait for [`cmovnz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds.
pub trait Cmovnz<T, U> {
/// Emit a (conditional) move if not zero instruction.
///
@@ -37,6 +38,7 @@ pub trait Cmovnz<T, U> {
fn cmovnz(&mut self, op1: T, op2: U);
}
+/// Trait for [`cmovz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds.
pub trait Cmovz<T, U> {
/// Emit a (conditional) move if zero instruction.
///