use instruction_def::*;
use test::run_test;
use Operand::*;
use Reg::*;
use RegScale::*;
use RegType::*;
use {BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};

#[test]
fn fcmovne_1() {
    run_test(
        &Instruction {
            mnemonic: Mnemonic::FCMOVNE,
            operand1: Some(Direct(ST)),
            operand2: Some(Direct(ST4)),
            operand3: None,
            operand4: None,
            lock: false,
            rounding_mode: None,
            merge_mode: None,
            sae: false,
            mask: None,
            broadcast: None,
        },
        &[219, 204],
        OperandSize::Word,
    )
}

#[test]
fn fcmovne_2() {
    run_test(
        &Instruction {
            mnemonic: Mnemonic::FCMOVNE,
            operand1: Some(Direct(ST)),
            operand2: Some(Direct(ST5)),
            operand3: None,
            operand4: None,
            lock: false,
            rounding_mode: None,
            merge_mode: None,
            sae: false,
            mask: None,
            broadcast: None,
        },
        &[219, 205],
        OperandSize::Dword,
    )
}

#[test]
fn fcmovne_3() {
    run_test(
        &Instruction {
            mnemonic: Mnemonic::FCMOVNE,
            operand1: Some(Direct(ST)),
            operand2: Some(Direct(ST3)),
            operand3: None,
            operand4: None,
            lock: false,
            rounding_mode: None,
            merge_mode: None,
            sae: false,
            mask: None,
            broadcast: None,
        },
        &[219, 203],
        OperandSize::Qword,
    )
}
