/* native_client/src/trusted/validator/x86/decoder/gen/ncopcode_prefix_impl.h
 * THIS FILE IS AUTO_GENERATED DO NOT EDIT.
 *
 * This file was auto-generated by enum_gen.py
 * from file ncopcode_prefix.enum
 */

/* Define the corresponding names of NaClInstPrefix. */
static const char* const g_NaClInstPrefixName[NaClInstPrefixEnumSize + 1] = {
  "NoPrefix",
  "Prefix0F",
  "PrefixF20F",
  "PrefixF30F",
  "Prefix660F",
  "Prefix0F0F",
  "Prefix0F38",
  "Prefix660F38",
  "PrefixF20F38",
  "Prefix0F3A",
  "Prefix660F3A",
  "PrefixD8",
  "PrefixD9",
  "PrefixDA",
  "PrefixDB",
  "PrefixDC",
  "PrefixDD",
  "PrefixDE",
  "PrefixDF",
  "NaClInstPrefixEnumSize"
};

const char* NaClInstPrefixName(NaClInstPrefix name) {
  return name <= NaClInstPrefixEnumSize
    ? g_NaClInstPrefixName[name]
    : "NaClInstPrefix???";
}
