Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 64 / mmx.test
1 @hex:
2   # Test MMX instructions
3   # emms
4   0f 77
5   # movq %mm0,%mm1
6   0f 6f c8
7   # packsswb %mm0,%mm1
8   0f 63 c8
9   # paddsb %mm0,%mm1
10   0f ec c8
11   # pcmpeqb %mm0,%mm1
12   0f 74 c8
13   # pmaddwd %mm0,%mm1
14   0f f5 c8
15   # psrad %mm0,%mm1
16   0f e2 c8
17   # punpckhbw %mm0,%mm1
18   0f 68 c8
19   # pxor %mm0,%mm1
20   0f ef c8
21 @rval:
22   VALIDATOR: Checking jump targets: 0 to 1a
23   VALIDATOR: Checking that basic blocks are aligned
24   *** <input> is safe ***
25 @rvald:
26   VALIDATOR: Checking block alignment and jump targets: 0 to 1a
27   *** <input> is safe ***
28 @vd-rval:
29   VALIDATOR: Checking jump targets: 0 to 1a
30   VALIDATOR: Checking that basic blocks are aligned
31   *** <input> is safe ***
32 @dis:
33   0000000000000000: 0f 77                                        emms
34   0000000000000002: 0f 6f c8                                     movq %mmx1, %mmx0
35   0000000000000005: 0f 63 c8                                     packsswb %mmx1, %mmx0
36   0000000000000008: 0f ec c8                                     paddsb %mmx1, %mmx0
37   000000000000000b: 0f 74 c8                                     pcmpeqb %mmx1, %mmx0
38   000000000000000e: 0f f5 c8                                     pmaddwd %mmx1, %mmx0
39   0000000000000011: 0f e2 c8                                     psrad %mmx1, %mmx0
40   0000000000000014: 0f 68 c8                                     punpckhbw %mmx1, %mmx0
41   0000000000000017: 0f ef c8                                     pxor %mmx1, %mmx0
42 @vdis:
43   0000000000000000: 0f 77                                        [P] dontcare
44   0000000000000002: 0f 6f c8                                     [P] dontcare %mmx0 (u)
45   0000000000000005: 0f 63 c8                                     [P] dontcare %mmx0 (u)
46   0000000000000008: 0f ec c8                                     [P] dontcare %mmx0 (u)
47   000000000000000b: 0f 74 c8                                     [P] dontcare %mmx0 (u)
48   000000000000000e: 0f f5 c8                                     [P] dontcare %mmx0 (u)
49   0000000000000011: 0f e2 c8                                     [P] dontcare %mmx0 (u)
50   0000000000000014: 0f 68 c8                                     [P] dontcare %mmx0 (u)
51   0000000000000017: 0f ef c8                                     [P] dontcare %mmx0 (u)
52 @rdfa_output:
53   return code: 0