cranelift x64: add instruction set checks for popcnt/tzcnt/lzcnt;
This commit is contained in:
@@ -539,7 +539,6 @@ impl Inst {
|
||||
| Inst::SignExtendData { .. }
|
||||
| Inst::TrapIf { .. }
|
||||
| Inst::Ud2 { .. }
|
||||
| Inst::UnaryRmR { .. }
|
||||
| Inst::VirtualSPOffsetAdj { .. }
|
||||
| Inst::XmmCmove { .. }
|
||||
| Inst::XmmCmpRmR { .. }
|
||||
@@ -550,6 +549,8 @@ impl Inst {
|
||||
| Inst::MachOTlsGetAddr { .. }
|
||||
| Inst::ValueLabelMarker { .. } => None,
|
||||
|
||||
Inst::UnaryRmR { op, .. } => op.available_from(),
|
||||
|
||||
// These use dynamic SSE opcodes.
|
||||
Inst::GprToXmm { op, .. }
|
||||
| Inst::XmmMovRM { op, .. }
|
||||
|
||||
Reference in New Issue
Block a user