aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/evex.rs
blob: 483747bd544006adfee050006c4dc35ab3917f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// use crate::long_mode::{OperandSpec, DecodeError, RegSpec, RegisterBank, Instruction, Opcode};
use crate::long_mode::{DecodeError, RegSpec, RegisterBank, Instruction, Opcode};
use crate::long_mode::{read_modrm, read_E_vex, read_imm_unsigned};

const DEFAULT_EVEX_REGISTER_SIZE: RegisterBank = RegisterBank::Q;
const DEFAULT_EVEX_REGISTER_WIDTH: u8 = 8;

fn isa_has_qwords() -> bool {
    true
}

fn apply_disp_scale(inst: &mut Instruction) {
    inst.disp *= inst.mem_size as u64;
}

include!("../shared/generated_evex.in");
include!("../shared/evex.in");