use crate::*;
const ALIGNED_ADDR: u64 = 0x3000;
#[test]
fn test_vmovmskps_xmm0_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm1_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm2_to_ebx() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xda, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm3_to_ecx() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xcb, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm4_to_edx() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xd4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm5_to_esi() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xf5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm6_to_edi() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xfe, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm7_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm8_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm9_to_ebx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xd9, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm10_to_ecx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm11_to_edx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm12_to_esi() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xf4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm13_to_edi() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xfd, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm14_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xc6, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_xmm15_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x78, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm0_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm1_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm2_to_ebx() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xda, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm3_to_ecx() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xcb, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm4_to_edx() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xd4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm5_to_esi() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xf5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm6_to_edi() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xfe, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm7_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfc, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm8_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7c, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm9_to_ebx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7c, 0x50, 0xd9, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm10_to_ecx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7c, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_ymm15_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7c, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_after_vcmpps_eq() {
let mut emu = emu64();
let code = [
0xc5, 0xf0, 0xc2, 0xc2, 0x00, 0xc5, 0xf8, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_after_vcmpps_lt() {
let mut emu = emu64();
let code = [
0xc5, 0xf0, 0xc2, 0xc2, 0x01, 0xc5, 0xf8, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_after_vcmpps_ymm() {
let mut emu = emu64();
let code = [
0xc5, 0xf4, 0xc2, 0xc2, 0x00, 0xc5, 0xfc, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm0_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm1_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm2_to_ebx() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xda, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm3_to_ecx() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xcb, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm4_to_edx() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xd4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm5_to_esi() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xf5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm6_to_edi() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xfe, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm7_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm8_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm9_to_ebx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xd9, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm10_to_ecx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm11_to_edx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm12_to_esi() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xf4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm13_to_edi() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xfd, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm14_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xc6, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_xmm15_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x79, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm0_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm1_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm2_to_ebx() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xda, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm3_to_ecx() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xcb, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm4_to_edx() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xd4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm5_to_esi() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xf5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm6_to_edi() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xfe, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm7_to_eax() {
let mut emu = emu64();
let code = [
0xc5, 0xfd, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm8_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7d, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm9_to_ebx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7d, 0x50, 0xd9, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm10_to_ecx() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7d, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_ymm15_to_eax() {
let mut emu = emu64();
let code = [
0xc4, 0xc1, 0x7d, 0x50, 0xc7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_after_vcmppd_eq() {
let mut emu = emu64();
let code = [
0xc5, 0xf1, 0xc2, 0xc2, 0x00, 0xc5, 0xf9, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_after_vcmppd_lt() {
let mut emu = emu64();
let code = [
0xc5, 0xf1, 0xc2, 0xc2, 0x01, 0xc5, 0xf9, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_after_vcmppd_ymm() {
let mut emu = emu64();
let code = [
0xc5, 0xf5, 0xc2, 0xc2, 0x00, 0xc5, 0xfd, 0x50, 0xc0, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskps_multiple_extracts() {
let mut emu = emu64();
let code = [
0xc5, 0xf8, 0x50, 0xc0, 0xc5, 0xf8, 0x50, 0xd9, 0xc5, 0xf8, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vmovmskpd_multiple_extracts() {
let mut emu = emu64();
let code = [
0xc5, 0xf9, 0x50, 0xc0, 0xc5, 0xf9, 0x50, 0xd9, 0xc5, 0xf9, 0x50, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}