use crate::*;
const ALIGNED_ADDR: u64 = 0x3000;
#[test]
fn test_rsqrtps_xmm0_xmm1() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm1_xmm2() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xca, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm2_xmm3() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm3_xmm4() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xdc, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm4_xmm5() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm5_xmm6() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xee, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm6_xmm7() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm7_xmm0() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm8_xmm9() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm10_xmm11() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm12_xmm13() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm14_xmm15() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm15_xmm0() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x52, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm0_mem() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0x04, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm7_mem() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0x3c, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_xmm15_mem() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x52, 0x3c, 0x25, 0x00, 0x30, 0x00, 0x00, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_one() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_four() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_nine() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_quarter() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_small_values() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_large_values() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_positive_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_negative_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_negative_value() {
let mut emu = emu64();
let code = [
0x44, 0x0f, 0x52, 0xf8, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_positive_infinity() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_negative_infinity() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_qnan() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xe5, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_snan() {
let mut emu = emu64();
let code = [
0x0f, 0x52, 0xf7, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_precision_test() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xc1, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}
#[test]
fn test_rsqrtps_denormal_treated_as_zero() {
let mut emu = emu64();
let code = [
0x45, 0x0f, 0x52, 0xd3, 0xf4, ];
emu.load_code_bytes(&code);
emu.run(None).unwrap();
}