From 889ce5c55af062d12cdd109bac22cc05565f68a6 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 1 Jul 2021 01:33:35 -0700 Subject: making opcode u32 reduces a stall? --- src/long_mode/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index f4c78c5..a64bab8 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -1045,6 +1045,7 @@ const XSAVE: [Opcode; 10] = [ #[allow(non_camel_case_types)] #[derive(Copy, Clone, Debug, Eq, PartialEq)] #[non_exhaustive] +#[repr(u32)] pub enum Opcode { Invalid, ADD, -- cgit v1.1