use crate::*;
const ALIGNED_ADDR: u64 = 0x3000;
#[test]
fn test_rcpps_xmm0_xmm1() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm1_xmm2() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm2_xmm3() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm3_xmm4() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xdc, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm4_xmm5() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm5_xmm6() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xee, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm6_xmm7() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm7_xmm0() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm8_xmm9() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm10_xmm11() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm12_xmm13() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm14_xmm15() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm15_xmm0() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x53, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm0_mem() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0x04, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm7_mem() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0x3c, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_xmm15_mem() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x53, 0x3c, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_one() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_two() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_half() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_small_values() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_large_values() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_positive_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_negative_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_negative_values() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_positive_infinity() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x53, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_negative_infinity() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_qnan() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_snan() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_precision_test() {
let mut emu = emu64();
let code = [
0x0f, 0x53, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rcpps_denormal_treated_as_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x53, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}