Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / crc32.test
1 @hex:
2   # See https://code.google.com/p/nativeclient/issues/detail?id=3356
3   # crc32w %ax,%eax
4   66 f2 0f 38 f1 c0
5   90
6   90
7   90
8   90
9   90
10   90
11 @nval:
12   VALIDATOR: 0: Bad prefix usage
13   VALIDATOR: 0: Undefined instruction
14   *** <input> IS UNSAFE ***
15 @dis:
16   00000000: 66 f2 0f 38 f1 c0                            crc32 %eax, %ax
17   00000006: 90                                           nop
18   00000007: 90                                           nop
19   00000008: 90                                           nop
20   00000009: 90                                           nop
21   0000000a: 90                                           nop
22   0000000b: 90                                           nop
23 @rdfa_output:
24   0: [0] unrecognized instruction
25   return code: 1
26 ----------------------------------------------------------------------
27 @hex:
28   # crc32w %eax,%eax
29   f2 0f 38 f1 c0
30 @nval:
31   *** <input> is safe ***
32 @dis:
33   00000000: f2 0f 38 f1 c0                               crc32 %eax, %eax
34 @rdfa_output:
35   return code: 0