x64: Migrate brff and I128 branching instructions to ISLE (#4599)
https://github.com/bytecodealliance/wasmtime/pull/4599
This commit is contained in:
@@ -14,7 +14,7 @@ use crate::ir::LibCall;
|
||||
use crate::isa::x64::lower::emit_vm_call;
|
||||
use crate::{
|
||||
ir::{
|
||||
condcodes::{FloatCC, IntCC},
|
||||
condcodes::{CondCode, FloatCC, IntCC},
|
||||
immediates::*,
|
||||
types::*,
|
||||
Inst, InstructionData, MemFlags, Opcode, TrapCode, Value, ValueList,
|
||||
@@ -590,6 +590,20 @@ where
|
||||
cc.invert()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn cc_nz_or_z(&mut self, cc: &CC) -> Option<CC> {
|
||||
match cc {
|
||||
CC::Z => Some(*cc),
|
||||
CC::NZ => Some(*cc),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn floatcc_inverse(&mut self, cc: &FloatCC) -> FloatCC {
|
||||
cc.inverse()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn sum_extend_fits_in_32_bits(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user