arm64: Add support for CCmp

Also add a test for SUBS/ADDS with XZR, as CMP/CMN are aliases.

Copyright (c) 2020, Arm Limited.
This commit is contained in:
Joey Gouly
2020-04-21 10:11:52 +01:00
committed by Benjamin Bouvier
parent 9364eb1d98
commit 3638f8a764
4 changed files with 165 additions and 0 deletions

View File

@@ -525,4 +525,11 @@ impl InstSize {
InstSize::Size64
}
}
pub fn sf_bit(&self) -> u32 {
match self {
InstSize::Size32 => 0,
InstSize::Size64 => 1,
}
}
}