/*
Copyright (C) 2018-2019 de4dot@gmail.com

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

use iced_x86::*;

// GENERATOR-BEGIN: IcedConstants
// ⚠️This was generated by GENERATOR!🦹‍♂️
pub(crate) struct IcedConstants;
#[allow(dead_code)]
impl IcedConstants {
	pub(crate) const MAX_OP_COUNT: usize = 5;
	pub(crate) const MAX_INSTRUCTION_LENGTH: usize = 15;
	pub(crate) const REGISTER_BITS: u32 = 8;
	pub(crate) const CODE_ENUM_COUNT: usize = 4318;
	pub(crate) const REGISTER_ENUM_COUNT: usize = 249;
	pub(crate) const MEMORY_SIZE_ENUM_COUNT: usize = 141;
	pub(crate) const ENCODING_KIND_ENUM_COUNT: usize = 5;
	pub(crate) const OP_KIND_ENUM_COUNT: usize = 26;
	pub(crate) const CODE_SIZE_ENUM_COUNT: usize = 4;
	pub(crate) const ROUNDING_CONTROL_ENUM_COUNT: usize = 5;
	pub(crate) const MEMORY_SIZE_OPTIONS_ENUM_COUNT: usize = 4;
	pub(crate) const CC_B_ENUM_COUNT: usize = 3;
	pub(crate) const CC_AE_ENUM_COUNT: usize = 3;
	pub(crate) const CC_E_ENUM_COUNT: usize = 2;
	pub(crate) const CC_NE_ENUM_COUNT: usize = 2;
	pub(crate) const CC_BE_ENUM_COUNT: usize = 2;
	pub(crate) const CC_A_ENUM_COUNT: usize = 2;
	pub(crate) const CC_P_ENUM_COUNT: usize = 2;
	pub(crate) const CC_NP_ENUM_COUNT: usize = 2;
	pub(crate) const CC_L_ENUM_COUNT: usize = 2;
	pub(crate) const CC_GE_ENUM_COUNT: usize = 2;
	pub(crate) const CC_LE_ENUM_COUNT: usize = 2;
	pub(crate) const CC_G_ENUM_COUNT: usize = 2;
	pub(crate) const REP_PREFIX_KIND_ENUM_COUNT: usize = 3;
	pub(crate) const VMM_FIRST: Register = Register::ZMM0;
	pub(crate) const VMM_LAST: Register = Register::ZMM31;
	pub(crate) const VMM_COUNT: u32 = 32;
	pub(crate) const XMM_LAST: Register = Register::XMM31;
	pub(crate) const YMM_LAST: Register = Register::YMM31;
	pub(crate) const ZMM_LAST: Register = Register::ZMM31;
	pub(crate) const TMM_LAST: Register = Register::TMM7;
	pub(crate) const MAX_CPUID_FEATURE_INTERNAL_VALUES: usize = 176;
	pub(crate) const FIRST_BROADCAST_MEMORY_SIZE: MemorySize = MemorySize::Broadcast64_UInt32;
}
// GENERATOR-END: IcedConstants
