You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
5.3 KiB

/* BEGIN_LEGAL
Copyright (c) 2021 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
END_LEGAL */
/// @file xed-exception-enum.h
// This file was automatically generated.
// Do not edit this file.
#if !defined(XED_EXCEPTION_ENUM_H)
# define XED_EXCEPTION_ENUM_H
#include "xed-common-hdrs.h"
#define XED_EXCEPTION_INVALID_DEFINED 1
#define XED_EXCEPTION_AMX_E1_DEFINED 1
#define XED_EXCEPTION_AMX_E2_DEFINED 1
#define XED_EXCEPTION_AMX_E3_DEFINED 1
#define XED_EXCEPTION_AMX_E4_DEFINED 1
#define XED_EXCEPTION_AMX_E5_DEFINED 1
#define XED_EXCEPTION_AMX_E6_DEFINED 1
#define XED_EXCEPTION_AVX512_E1_DEFINED 1
#define XED_EXCEPTION_AVX512_E10_DEFINED 1
#define XED_EXCEPTION_AVX512_E10NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E11_DEFINED 1
#define XED_EXCEPTION_AVX512_E12_DEFINED 1
#define XED_EXCEPTION_AVX512_E12NP_DEFINED 1
#define XED_EXCEPTION_AVX512_E1NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E2_DEFINED 1
#define XED_EXCEPTION_AVX512_E3_DEFINED 1
#define XED_EXCEPTION_AVX512_E3NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E4_DEFINED 1
#define XED_EXCEPTION_AVX512_E4NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E5_DEFINED 1
#define XED_EXCEPTION_AVX512_E5NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E6_DEFINED 1
#define XED_EXCEPTION_AVX512_E6NF_DEFINED 1
#define XED_EXCEPTION_AVX512_E7NM_DEFINED 1
#define XED_EXCEPTION_AVX512_E7NM128_DEFINED 1
#define XED_EXCEPTION_AVX512_E9NF_DEFINED 1
#define XED_EXCEPTION_AVX512_K20_DEFINED 1
#define XED_EXCEPTION_AVX512_K21_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_1_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_11_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_12_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_2_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_2D_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_3_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_4_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_4M_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_5_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_5L_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_6_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_7_DEFINED 1
#define XED_EXCEPTION_AVX_TYPE_8_DEFINED 1
#define XED_EXCEPTION_MMX_FP_DEFINED 1
#define XED_EXCEPTION_MMX_FP_16ALIGN_DEFINED 1
#define XED_EXCEPTION_MMX_MEM_DEFINED 1
#define XED_EXCEPTION_MMX_NOFP_DEFINED 1
#define XED_EXCEPTION_MMX_NOFP2_DEFINED 1
#define XED_EXCEPTION_MMX_NOMEM_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_1_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_2_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_2D_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_3_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_4_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_4M_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_5_DEFINED 1
#define XED_EXCEPTION_SSE_TYPE_7_DEFINED 1
#define XED_EXCEPTION_LAST_DEFINED 1
typedef enum {
XED_EXCEPTION_INVALID,
XED_EXCEPTION_AMX_E1,
XED_EXCEPTION_AMX_E2,
XED_EXCEPTION_AMX_E3,
XED_EXCEPTION_AMX_E4,
XED_EXCEPTION_AMX_E5,
XED_EXCEPTION_AMX_E6,
XED_EXCEPTION_AVX512_E1,
XED_EXCEPTION_AVX512_E10,
XED_EXCEPTION_AVX512_E10NF,
XED_EXCEPTION_AVX512_E11,
XED_EXCEPTION_AVX512_E12,
XED_EXCEPTION_AVX512_E12NP,
XED_EXCEPTION_AVX512_E1NF,
XED_EXCEPTION_AVX512_E2,
XED_EXCEPTION_AVX512_E3,
XED_EXCEPTION_AVX512_E3NF,
XED_EXCEPTION_AVX512_E4,
XED_EXCEPTION_AVX512_E4NF,
XED_EXCEPTION_AVX512_E5,
XED_EXCEPTION_AVX512_E5NF,
XED_EXCEPTION_AVX512_E6,
XED_EXCEPTION_AVX512_E6NF,
XED_EXCEPTION_AVX512_E7NM,
XED_EXCEPTION_AVX512_E7NM128,
XED_EXCEPTION_AVX512_E9NF,
XED_EXCEPTION_AVX512_K20,
XED_EXCEPTION_AVX512_K21,
XED_EXCEPTION_AVX_TYPE_1,
XED_EXCEPTION_AVX_TYPE_11,
XED_EXCEPTION_AVX_TYPE_12,
XED_EXCEPTION_AVX_TYPE_2,
XED_EXCEPTION_AVX_TYPE_2D,
XED_EXCEPTION_AVX_TYPE_3,
XED_EXCEPTION_AVX_TYPE_4,
XED_EXCEPTION_AVX_TYPE_4M,
XED_EXCEPTION_AVX_TYPE_5,
XED_EXCEPTION_AVX_TYPE_5L,
XED_EXCEPTION_AVX_TYPE_6,
XED_EXCEPTION_AVX_TYPE_7,
XED_EXCEPTION_AVX_TYPE_8,
XED_EXCEPTION_MMX_FP,
XED_EXCEPTION_MMX_FP_16ALIGN,
XED_EXCEPTION_MMX_MEM,
XED_EXCEPTION_MMX_NOFP,
XED_EXCEPTION_MMX_NOFP2,
XED_EXCEPTION_MMX_NOMEM,
XED_EXCEPTION_SSE_TYPE_1,
XED_EXCEPTION_SSE_TYPE_2,
XED_EXCEPTION_SSE_TYPE_2D,
XED_EXCEPTION_SSE_TYPE_3,
XED_EXCEPTION_SSE_TYPE_4,
XED_EXCEPTION_SSE_TYPE_4M,
XED_EXCEPTION_SSE_TYPE_5,
XED_EXCEPTION_SSE_TYPE_7,
XED_EXCEPTION_LAST
} xed_exception_enum_t;
/// This converts strings to #xed_exception_enum_t types.
/// @param s A C-string.
/// @return #xed_exception_enum_t
/// @ingroup ENUM
XED_DLL_EXPORT xed_exception_enum_t str2xed_exception_enum_t(const char* s);
/// This converts strings to #xed_exception_enum_t types.
/// @param p An enumeration element of type xed_exception_enum_t.
/// @return string
/// @ingroup ENUM
XED_DLL_EXPORT const char* xed_exception_enum_t2str(const xed_exception_enum_t p);
/// Returns the last element of the enumeration
/// @return xed_exception_enum_t The last element of the enumeration.
/// @ingroup ENUM
XED_DLL_EXPORT xed_exception_enum_t xed_exception_enum_t_last(void);
#endif