OLD | NEW |
| 1 BITS: 64 |
| 2 OUTCOME: invalid |
| 3 |
1 | 4 |
2 # For background, see: | 5 # For background, see: |
3 # http://code.google.com/p/nativeclient/issues/detail?id=2574 | 6 # http://code.google.com/p/nativeclient/issues/detail?id=2574 |
4 | 7 |
5 # "f6 /0" encoding of TEST. This is what assemblers generate. | 8 # "f6 /0" encoding of TEST. This is what assemblers generate. |
6 f6 c3 00 | 9 asm: test $0x0,%bl |
| 10 hex: f6 c3 00 |
| 11 |
7 | 12 |
8 # "f6 /1" encoding of TEST. This is an alias encoding, which we | 13 # "f6 /1" encoding of TEST. This is an alias encoding, which we |
9 # should disallow on the grounds of minimalism. | 14 # should disallow on the grounds of minimalism. |
10 f6 cb 00 | 15 hex: f6 cb 00 |
| 16 nc_out: ERROR: This instruction has been marked illegal by Native Client |
| 17 |
11 | 18 |
12 # The same applies to the "f7" versions of TEST. | 19 # The same applies to the "f7" versions of TEST. |
13 f7 c3 00 00 00 00 | 20 asm: test $0x0,%ebx |
14 f7 cb 00 00 00 00 | 21 hex: f7 c3 00 00 00 00 |
| 22 |
| 23 hex: f7 cb 00 00 00 00 |
| 24 nc_out: ERROR: This instruction has been marked illegal by Native Client |
| 25 |
OLD | NEW |