x64: port icmp to ISLE (#3886)
* x64: port GPR-held `icmp` to ISLE * x64: port equality `icmp` for i128 type * x64: port `icmp` for vector types * x64: rename from_intcc to intcc_to_cc
This commit is contained in:
@@ -9,8 +9,10 @@ use regalloc::Writable;
|
||||
use super::{is_int_or_ref_ty, is_mergeable_load, lower_to_amode, Reg};
|
||||
use crate::{
|
||||
ir::{
|
||||
condcodes::FloatCC, immediates::*, types::*, Inst, InstructionData, Opcode, TrapCode,
|
||||
Value, ValueLabel, ValueList,
|
||||
condcodes::{FloatCC, IntCC},
|
||||
immediates::*,
|
||||
types::*,
|
||||
Inst, InstructionData, Opcode, TrapCode, Value, ValueLabel, ValueList,
|
||||
},
|
||||
isa::{
|
||||
settings::Flags,
|
||||
@@ -512,6 +514,11 @@ where
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn intcc_to_cc(&mut self, intcc: &IntCC) -> CC {
|
||||
CC::from_intcc(*intcc)
|
||||
}
|
||||
}
|
||||
|
||||
// Since x64 doesn't have 8x16 shifts and we must use a 16x8 shift instead, we
|
||||
|
||||
Reference in New Issue
Block a user