Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator / x86 / decoder / generator / nc_rep_prefix.h
1 /*
2  * Copyright 2010 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GENERATOR_NC_REP_PREFIX_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GENERATOR_NC_REP_PREFIX_H_
9
10 #ifndef NACL_TRUSTED_BUT_NOT_TCB
11 #error("This file is not meant for use in the TCB")
12 #endif
13
14 /* Looks the current instruction up in a table of instructions that
15  * can have REP/REPE/REPZ (F3) and REPNE/REPNZ (F2) prefix bytes, and
16  * adds corresponding instruction flags if applicable.
17  */
18 void NaClAddRepPrefixFlagsIfApplicable(void);
19
20 #endif  /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GENERATOR_NC_REP_PREFIX_H_ */