Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 64 / nops.test
1 @hex:
2   # Note: sequences of ordinary nops (90 90 90 ...) are added
3   # for bundle alignemnt.
4   
5   # Recommended nops
6   90
7   66 90
8   0F 1F 00
9   0F 1F 40 00
10   0F 1F 44 00 00
11   66 0F 1F 44 00 00
12   0F 1F 80 00 00 00 00
13   90 90 90 90
14   0F 1F 84 00 00 00 00 00
15   66 0F 1F 84 00 00 00 00 00
16   # Large nops
17   66 2E 0F 1F 84 00 00 00 00 00
18   90 90 90 90 90
19   66 66 2E 0F 1F 84 00 00 00 00 00
20   66 66 66 2E 0F 1F 84 00 00 00 00 00
21   90 90 90 90 90 90 90 90 90
22   66 66 66 66 2E 0F 1F 84 00 00 00 00 00
23   66 66 66 66 66 2E 0F 1F 84 00 00 00 00 00
24   90 90 90 90 90
25   66 66 66 66 66 66 2E 0F 1F 84 00 00 00 00 00
26   
27   # Illegal nops
28   66 66 90
29   66 66 66 90
30   3E 0F 1F 84 00 00 00 00 00
31   90 90 90 90 90 90
32   66 3E 0F 1F 84 00 00 00 00 00
33   66 66 0F 1F 84 00 00 00 00 00
34   
35 @rval:
36   VALIDATOR: 000000000000008f: 66 66 90                                     xchg %ax, %ax
37   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
38   VALIDATOR: 000000000000008f: 66 66 90                                     xchg %ax, %ax
39   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
40   VALIDATOR: 0000000000000092: 66 66 66 90                                  xchg %ax, %ax
41   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
42   VALIDATOR: 0000000000000092: 66 66 66 90                                  xchg %ax, %ax
43   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
44   VALIDATOR: 0000000000000096: 3e 0f 1f 84 00 00 00 00 00                   nop
45   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
46   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
47   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
48   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
49   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
50   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
51   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
52   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
53   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
54   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
55   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
56   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
57   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
58   VALIDATOR: Checking jump targets: 0 to b9
59   VALIDATOR: Checking that basic blocks are aligned
60   *** <input> IS UNSAFE ***
61 @rvald:
62   VALIDATOR: 000000000000008f: 66 66 90                                     xchg %ax, %ax
63   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
64   VALIDATOR: 000000000000008f: 66 66 90                                     xchg %ax, %ax
65   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
66   VALIDATOR: 0000000000000092: 66 66 66 90                                  xchg %ax, %ax
67   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
68   VALIDATOR: 0000000000000092: 66 66 66 90                                  xchg %ax, %ax
69   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
70   VALIDATOR: 0000000000000096: 3e 0f 1f 84 00 00 00 00 00                   nop
71   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
72   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
73   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
74   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
75   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
76   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
77   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
78   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
79   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
80   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
81   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
82   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
83   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
84   VALIDATOR: Checking block alignment and jump targets: 0 to b9
85   *** <input> IS UNSAFE ***
86 @vd-rval:
87   VALIDATOR: 000000000000008f: 66 66 90                                     [P] dontcare %ax (suz), %ax (suz)
88   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
89   VALIDATOR: 000000000000008f: 66 66 90                                     [P] dontcare %ax (suz), %ax (suz)
90   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
91   VALIDATOR: 0000000000000092: 66 66 66 90                                  [P] dontcare %ax (suz), %ax (suz)
92   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
93   VALIDATOR: 0000000000000092: 66 66 66 90                                  [P] dontcare %ax (suz), %ax (suz)
94   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
95   VALIDATOR: 0000000000000096: 3e 0f 1f 84 00 00 00 00 00                   [P] dontcare
96   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
97   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                [P] dontcare
98   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
99   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                [P] dontcare
100   VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
101   VALIDATOR: 00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                [P] dontcare
102   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
103   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                [P] dontcare
104   VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
105   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                [P] dontcare
106   VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
107   VALIDATOR: 00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                [P] dontcare
108   VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
109   VALIDATOR: Checking jump targets: 0 to b9
110   VALIDATOR: Checking that basic blocks are aligned
111   *** <input> IS UNSAFE ***
112 @dis:
113   0000000000000000: 90                                           nop
114   0000000000000001: 66 90                                        nop
115   0000000000000003: 0f 1f 00                                     nop
116   0000000000000006: 0f 1f 40 00                                  nop
117   000000000000000a: 0f 1f 44 00 00                               nop
118   000000000000000f: 66 0f 1f 44 00 00                            nop
119   0000000000000015: 0f 1f 80 00 00 00 00                         nop
120   000000000000001c: 90                                           nop
121   000000000000001d: 90                                           nop
122   000000000000001e: 90                                           nop
123   000000000000001f: 90                                           nop
124   0000000000000020: 0f 1f 84 00 00 00 00 00                      nop
125   0000000000000028: 66 0f 1f 84 00 00 00 00 00                   nop
126   0000000000000031: 66 2e 0f 1f 84 00 00 00 00 00                nop
127   000000000000003b: 90                                           nop
128   000000000000003c: 90                                           nop
129   000000000000003d: 90                                           nop
130   000000000000003e: 90                                           nop
131   000000000000003f: 90                                           nop
132   0000000000000040: 66 66 2e 0f 1f 84 00 00 00 00 00             nop
133   000000000000004b: 66 66 66 2e 0f 1f 84 00 00 00 00 00          nop
134   0000000000000057: 90                                           nop
135   0000000000000058: 90                                           nop
136   0000000000000059: 90                                           nop
137   000000000000005a: 90                                           nop
138   000000000000005b: 90                                           nop
139   000000000000005c: 90                                           nop
140   000000000000005d: 90                                           nop
141   000000000000005e: 90                                           nop
142   000000000000005f: 90                                           nop
143   0000000000000060: 66 66 66 66 2e 0f 1f 84 00 00 00 00 00       nop
144   000000000000006d: 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    nop
145   000000000000007b: 90                                           nop
146   000000000000007c: 90                                           nop
147   000000000000007d: 90                                           nop
148   000000000000007e: 90                                           nop
149   000000000000007f: 90                                           nop
150   0000000000000080: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 nop
151   000000000000008f: 66 66 90                                     xchg %ax, %ax
152   0000000000000092: 66 66 66 90                                  xchg %ax, %ax
153   0000000000000096: 3e 0f 1f 84 00 00 00 00 00                   nop
154   000000000000009f: 90                                           nop
155   00000000000000a0: 90                                           nop
156   00000000000000a1: 90                                           nop
157   00000000000000a2: 90                                           nop
158   00000000000000a3: 90                                           nop
159   00000000000000a4: 90                                           nop
160   00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                nop
161   00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                nop
162 @vdis:
163   0000000000000000: 90                                           [P] dontcare
164   0000000000000001: 66 90                                        [P] dontcare
165   0000000000000003: 0f 1f 00                                     [P] dontcare
166   0000000000000006: 0f 1f 40 00                                  [P] dontcare
167   000000000000000a: 0f 1f 44 00 00                               [P] dontcare
168   000000000000000f: 66 0f 1f 44 00 00                            [P] dontcare
169   0000000000000015: 0f 1f 80 00 00 00 00                         [P] dontcare
170   000000000000001c: 90                                           [P] dontcare
171   000000000000001d: 90                                           [P] dontcare
172   000000000000001e: 90                                           [P] dontcare
173   000000000000001f: 90                                           [P] dontcare
174   0000000000000020: 0f 1f 84 00 00 00 00 00                      [P] dontcare
175   0000000000000028: 66 0f 1f 84 00 00 00 00 00                   [P] dontcare
176   0000000000000031: 66 2e 0f 1f 84 00 00 00 00 00                [P] dontcare
177   000000000000003b: 90                                           [P] dontcare
178   000000000000003c: 90                                           [P] dontcare
179   000000000000003d: 90                                           [P] dontcare
180   000000000000003e: 90                                           [P] dontcare
181   000000000000003f: 90                                           [P] dontcare
182   0000000000000040: 66 66 2e 0f 1f 84 00 00 00 00 00             [P] dontcare
183   000000000000004b: 66 66 66 2e 0f 1f 84 00 00 00 00 00          [P] dontcare
184   0000000000000057: 90                                           [P] dontcare
185   0000000000000058: 90                                           [P] dontcare
186   0000000000000059: 90                                           [P] dontcare
187   000000000000005a: 90                                           [P] dontcare
188   000000000000005b: 90                                           [P] dontcare
189   000000000000005c: 90                                           [P] dontcare
190   000000000000005d: 90                                           [P] dontcare
191   000000000000005e: 90                                           [P] dontcare
192   000000000000005f: 90                                           [P] dontcare
193   0000000000000060: 66 66 66 66 2e 0f 1f 84 00 00 00 00 00       [P] dontcare
194   000000000000006d: 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00    [P] dontcare
195   000000000000007b: 90                                           [P] dontcare
196   000000000000007c: 90                                           [P] dontcare
197   000000000000007d: 90                                           [P] dontcare
198   000000000000007e: 90                                           [P] dontcare
199   000000000000007f: 90                                           [P] dontcare
200   0000000000000080: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 [P] dontcare
201   000000000000008f: 66 66 90                                     [P] dontcare %ax (suz), %ax (suz)
202   0000000000000092: 66 66 66 90                                  [P] dontcare %ax (suz), %ax (suz)
203   0000000000000096: 3e 0f 1f 84 00 00 00 00 00                   [P] dontcare
204   000000000000009f: 90                                           [P] dontcare
205   00000000000000a0: 90                                           [P] dontcare
206   00000000000000a1: 90                                           [P] dontcare
207   00000000000000a2: 90                                           [P] dontcare
208   00000000000000a3: 90                                           [P] dontcare
209   00000000000000a4: 90                                           [P] dontcare
210   00000000000000a5: 66 3e 0f 1f 84 00 00 00 00 00                [P] dontcare
211   00000000000000af: 66 66 0f 1f 84 00 00 00 00 00                [P] dontcare
212 @rdfa_output:
213   8f: [0] unrecognized instruction
214   92: [1] unrecognized instruction
215   96: [2] unrecognized instruction
216   a5: [0] unrecognized instruction
217   af: [1] unrecognized instruction
218   return code: 1