Add x86_push and x86_pop instructions.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
04f6ccabe5
commit
8ed37e352e
@@ -120,6 +120,7 @@ pub enum InstructionData {
|
||||
},
|
||||
Ternary { opcode: Opcode, args: [Value; 3] },
|
||||
MultiAry { opcode: Opcode, args: ValueList },
|
||||
NullAry { opcode: Opcode },
|
||||
InsertLane {
|
||||
opcode: Opcode,
|
||||
lane: Uimm8,
|
||||
|
||||
@@ -359,7 +359,8 @@ impl<'a> Verifier<'a> {
|
||||
Store { .. } |
|
||||
RegMove { .. } |
|
||||
Trap { .. } |
|
||||
CondTrap { .. } => {}
|
||||
CondTrap { .. } |
|
||||
NullAry { .. } => {}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
@@ -295,6 +295,7 @@ pub fn write_operands(
|
||||
write!(w, " {}", DisplayValues(args.as_slice(pool)))
|
||||
}
|
||||
}
|
||||
NullAry { .. } => write!(w, " "),
|
||||
InsertLane { lane, args, .. } => write!(w, " {}, {}, {}", args[0], lane, args[1]),
|
||||
ExtractLane { lane, arg, .. } => write!(w, " {}, {}", arg, lane),
|
||||
IntCompare { cond, args, .. } => write!(w, " {} {}, {}", cond, args[0], args[1]),
|
||||
|
||||
Reference in New Issue
Block a user