4 # http://code.google.com/p/nativeclient/issues/detail?id=2574
6 # "f6 /0" encoding of TEST. This is what assemblers generate.
9 # "f6 /1" encoding of TEST. This is an alias encoding, which we
10 # should disallow on the grounds of minimalism.
13 # The same applies to the "f7" versions of TEST.
17 VALIDATOR: 0000000000000003: f6 cb 00 test %bl, 0x0
18 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
19 VALIDATOR: 000000000000000c: f7 cb 00 00 00 00 test %ebx, 0x0
20 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
21 VALIDATOR: Checking jump targets: 0 to 12
22 VALIDATOR: Checking that basic blocks are aligned
23 *** <input> IS UNSAFE ***
25 VALIDATOR: 0000000000000003: f6 cb 00 test %bl, 0x0
26 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
27 VALIDATOR: 000000000000000c: f7 cb 00 00 00 00 test %ebx, 0x0
28 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
29 VALIDATOR: Checking jump targets: 0 to 12
30 VALIDATOR: Checking that basic blocks are aligned
31 *** <input> IS UNSAFE ***
33 0000000000000000: f6 c3 00 test %bl, 0x0
34 0000000000000003: f6 cb 00 test %bl, 0x0
35 0000000000000006: f7 c3 00 00 00 00 test %ebx, 0x0
36 000000000000000c: f7 cb 00 00 00 00 test %ebx, 0x0
38 3: [0] unrecognized instruction
39 c: [1] unrecognized instruction