Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 64 / direct-call-32.test
1 @hex:
2   # This file tests how we handle a 32-bit direct call.
3   #
4   # Pad with nops, so that call is bundle aligned.
5   90
6   90
7   90
8   90
9   90
10   90
11   90
12   90
13   90
14   90
15   90
16   90
17   90
18   90
19   90
20   90
21   90
22   90
23   90
24   90
25   90
26   90
27   90
28   90
29   90
30   90
31   90
32   
33   # Define 32-bit direct call.
34   e8 F0 FF FF FF
35 @rval:
36   VALIDATOR: Checking jump targets: 0 to 20
37   VALIDATOR: Checking that basic blocks are aligned
38   *** <input> is safe ***
39 @dis:
40   0000000000000000: 90                                           nop
41   0000000000000001: 90                                           nop
42   0000000000000002: 90                                           nop
43   0000000000000003: 90                                           nop
44   0000000000000004: 90                                           nop
45   0000000000000005: 90                                           nop
46   0000000000000006: 90                                           nop
47   0000000000000007: 90                                           nop
48   0000000000000008: 90                                           nop
49   0000000000000009: 90                                           nop
50   000000000000000a: 90                                           nop
51   000000000000000b: 90                                           nop
52   000000000000000c: 90                                           nop
53   000000000000000d: 90                                           nop
54   000000000000000e: 90                                           nop
55   000000000000000f: 90                                           nop
56   0000000000000010: 90                                           nop
57   0000000000000011: 90                                           nop
58   0000000000000012: 90                                           nop
59   0000000000000013: 90                                           nop
60   0000000000000014: 90                                           nop
61   0000000000000015: 90                                           nop
62   0000000000000016: 90                                           nop
63   0000000000000017: 90                                           nop
64   0000000000000018: 90                                           nop
65   0000000000000019: 90                                           nop
66   000000000000001a: 90                                           nop
67   000000000000001b: e8 f0 ff ff ff                               call 0x10
68 @rdfa_output:
69   return code: 0