Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / lock-66-test.test
1 @hex:
2   # Test that we accept prefix "66 0f" but not "0f 66".
3   #    lock addw $0x1,(%eax) -- good order.
4   66 f0 83 00 01
5   #    lock addw $0x1,(%eax) -- bad order.
6   f0 66 83 00 01
7 @nval:
8   VALIDATOR: 5: Bad prefix usage
9   *** <input> IS UNSAFE ***
10 @vdis:
11    0:   66 f0 83 00 01          add [%eax], 0x1
12    5:   f0 66 83 00 01          add [%eax], 0x1
13 @rdfa_output:
14   5: [0] unrecognized instruction
15   return code: 1