use crate::*;
const ALIGNED_ADDR: u64 = 0x3000;
#[test]
fn test_vpermpd_ymm0_ymm1_0x00() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xc1, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm0_ymm1_0x1b() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xc1, 0x1b, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm1_ymm2_0xe4() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xca, 0xe4, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm2_ymm3_0x4e() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xd3, 0x4e, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm3_ymm4_0xb1() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xdc, 0xb1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm4_ymm5_0x27() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xe5, 0x27, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm7_ymm0_0xff() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xf8, 0xff, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_ymm0_mem_0x1b() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0x04, 0x25, 0x00, 0x30, 0x00, 0x00, 0x1b, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_broadcast_first() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xc1, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_vpermpd_broadcast_last() {
let mut emu = emu64();
let code = [
0xc4, 0xe3, 0xfd, 0x01, 0xc1, 0xff, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}