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

Side by Side Diff: src/trusted/validator_ragel/instruction_definitions/general_purpose_instructions.def

Issue 18553004: Add more instructions to text-based spec. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: only allow bt* with immediate Created 7 years, 5 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 | « no previous file | src/trusted/validator_ragel/spec.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 ################################################################################ 4 ################################################################################
5 # This file describes instructions from AMD64 Architecture Programmer's Manual 5 # This file describes instructions from AMD64 Architecture Programmer's Manual
6 # Volume 3: General-Purpose and System Instruction 6 # Volume 3: General-Purpose and System Instruction
7 # Chapter 3: General-Purpose Instruction Reference 7 # Chapter 3: General-Purpose Instruction Reference
8 ################################################################################ 8 ################################################################################
9 # File format: see def_format.py 9 # File format: see def_format.py
10 ######## ADC ################################################################### 10 ######## ADC ###################################################################
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bsr Ew Gw, data16 0x0f 0xbd, norexw nacl-ia32-forbidden 111 bsr Ew Gw, data16 0x0f 0xbd, norexw nacl-ia32-forbidden
112 bsr Ed Gd, 0x0f 0xbd, norexw 112 bsr Ed Gd, 0x0f 0xbd, norexw
113 bsr Eq Gq, rexw 0x0f 0xbd, amd64 113 bsr Eq Gq, rexw 0x0f 0xbd, amd64
114 bsr Eq Gq, data16 rexw 0x0f 0xbd, amd64 nacl-forbidden 114 bsr Eq Gq, data16 rexw 0x0f 0xbd, amd64 nacl-forbidden
115 ######## BSWAP ################################################################# 115 ######## BSWAP #################################################################
116 # "bswap" is not marked as nacl-amd64-zero-extends because we don't really think 116 # "bswap" is not marked as nacl-amd64-zero-extends because we don't really think
117 # that swapping the bottom bytes is a good thing to do to mask a memory 117 # that swapping the bottom bytes is a good thing to do to mask a memory
118 # reference. 118 # reference.
119 bswap ry, 0x0f 0xc8 119 bswap ry, 0x0f 0xc8
120 ######## BT #################################################################### 120 ######## BT ####################################################################
121 # "bt" is not marked as nacl-amd64-zero-extends out of caution. We assume that
122 # this instruction is used for bit manipulation rather than computing viable
123 # addresses.
124 bt Gv =Ev, 0x0f 0xa3, nacl-forbidden 121 bt Gv =Ev, 0x0f 0xa3, nacl-forbidden
125 bt Ib =Ev, 0x0f 0xba /4, nacl-ia32-forbidden 122 bt Ib =Ev, 0x0f 0xba /4, nacl-ia32-forbidden
126 ######## BTC ################################################################### 123 ######## BTC ###################################################################
127 # "btc" is not marked as nacl-amd64-zero-extends out of caution. We assume that 124 # "btc" is not marked as nacl-amd64-zero-extends out of caution. We assume that
128 # this instruction is used for bit manipulation rather than computing viable 125 # this instruction is used for bit manipulation rather than computing viable
129 # addresses. 126 # addresses.
130 btc Gv Ev, 0x0f 0xbb, lock nacl-forbidden 127 btc Gv Ev, 0x0f 0xbb, lock nacl-forbidden
131 btc Ib Ev, 0x0f 0xba /7, lock nacl-ia32-forbidden 128 btc Ib Ev, 0x0f 0xba /7, lock nacl-ia32-forbidden
132 ######## BTR ################################################################### 129 ######## BTR ###################################################################
133 # "btr" is not marked as nacl-amd64-zero-extends out of caution. We assume that 130 # "btr" is not marked as nacl-amd64-zero-extends out of caution. We assume that
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 xchg &G M, 0x86, lock 883 xchg &G M, 0x86, lock
887 ######## XLAT ################################################################## 884 ######## XLAT ##################################################################
888 xlat xb, 0xd7, nacl-forbidden 885 xlat xb, 0xd7, nacl-forbidden
889 ######## XOR ################################################################### 886 ######## XOR ###################################################################
890 xor I a, 0x34, nacl-amd64-zero-extends 887 xor I a, 0x34, nacl-amd64-zero-extends
891 xor I E, 0x80 /6, lock nacl-amd64-zero-extends 888 xor I E, 0x80 /6, lock nacl-amd64-zero-extends
892 xor Ib Ev, 0x83 /6, lock nacl-amd64-zero-extends 889 xor Ib Ev, 0x83 /6, lock nacl-amd64-zero-extends
893 xor G E, 0x30, lock nacl-amd64-zero-extends 890 xor G E, 0x30, lock nacl-amd64-zero-extends
894 xor E G, 0x32, nacl-amd64-zero-extends 891 xor E G, 0x32, nacl-amd64-zero-extends
895 ################################################################################ 892 ################################################################################
OLDNEW
« no previous file with comments | « no previous file | src/trusted/validator_ragel/spec.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698