OLD | NEW |
| (Empty) |
1 /* native_client/src/trusted/validator/x86/decoder/gen/ncopcode_prefix_impl.h | |
2 * THIS FILE IS AUTO_GENERATED DO NOT EDIT. | |
3 * | |
4 * This file was auto-generated by enum_gen.py | |
5 * from file ncopcode_prefix.enum | |
6 */ | |
7 | |
8 /* Define the corresponding names of NaClInstPrefix. */ | |
9 static const char* const g_NaClInstPrefixName[NaClInstPrefixEnumSize + 1] = { | |
10 "NoPrefix", | |
11 "Prefix0F", | |
12 "PrefixF20F", | |
13 "PrefixF30F", | |
14 "Prefix660F", | |
15 "Prefix0F0F", | |
16 "Prefix0F38", | |
17 "Prefix660F38", | |
18 "PrefixF20F38", | |
19 "Prefix0F3A", | |
20 "Prefix660F3A", | |
21 "PrefixD8", | |
22 "PrefixD9", | |
23 "PrefixDA", | |
24 "PrefixDB", | |
25 "PrefixDC", | |
26 "PrefixDD", | |
27 "PrefixDE", | |
28 "PrefixDF", | |
29 "NaClInstPrefixEnumSize" | |
30 }; | |
31 | |
32 const char* NaClInstPrefixName(NaClInstPrefix name) { | |
33 return name <= NaClInstPrefixEnumSize | |
34 ? g_NaClInstPrefixName[name] | |
35 : "NaClInstPrefix???"; | |
36 } | |
OLD | NEW |