Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1154)

Side by Side Diff: src/trusted/validator/x86/nacl_regs.h

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/trusted/validator/x86/halt_trim_tests.cc ('k') | src/trusted/validator/x86/nacl_regs32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 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 /*
8 * Defines register layouts for x86 32/64 bit hardware registers for
9 * the use in modrm.
10 */
11
12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NACL_REGS_H_
13 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NACL_REGS_H_
14
15 #if NACL_TARGET_SUBARCH == 64
16
17 #include "native_client/src/trusted/validator/x86/nacl_regs64.h"
18
19 #define NACL_REG_TABLE_SIZE NACL_REG_TABLE_SIZE_64
20 #define NACL_REGISTER_UNDEFINED NACL_REGISTER_UNDEFINED_64
21 #define NaClRegTable8NoRex NaClRegTable8NoRex_64
22 #define NaClRegTable8Rex NaClRegTable8Rex_64
23 #define NaClRegTable16 NaClRegTable16_64
24 #define NaClRegTable32 NaClRegTable32_64
25 #define NaClRegTable64 NaClRegTable64_64
26 #define NaClRegTableMmx NaClRegTableMmx_64
27 #define NaClRegTableXmm NaClRegTableXmm_64
28 #define NaClRegTableC NaClRegTableC_64
29 #define NaClRegTableD NaClRegTableD_64
30
31 #else
32
33 #include "native_client/src/trusted/validator/x86/nacl_regs32.h"
34
35 #define NACL_REG_TABLE_SIZE NACL_REG_TABLE_SIZE_32
36 #define NACL_REGISTER_UNDEFINED NACL_REGISTER_UNDEFINED_32
37 #define NaClRegTable8NoRex NaClRegTable8NoRex_32
38 #define NaClRegTable8Rex NaClRegTable8Rex_32
39 #define NaClRegTable16 NaClRegTable16_32
40 #define NaClRegTable32 NaClRegTable32_32
41 #define NaClRegTable64 NaClRegTable64_32
42 #define NaClRegTableMmx NaClRegTableMmx_32
43 #define NaClRegTableXmm NaClRegTableXmm_32
44 #define NaClRegTableC NaClRegTableC_32
45 #define NaClRegTableD NaClRegTableD_32
46
47 #endif
48
49 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NACL_REGS_H_ */
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/halt_trim_tests.cc ('k') | src/trusted/validator/x86/nacl_regs32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698