Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / legacy.test
1 @hex:
2   # Test legacy instructions.
3   # aaa
4   37
5   # aad
6   D5 0A
7   # aam
8   D4 0A
9   # aas
10   3F
11   # bound %eax, (%eax)
12   62 00
13   # daa
14   27
15   # das
16   2F
17   # xlat (%ebx,%al)
18   D7
19   
20   # Some undocumented instructions
21   # icebp
22   F1
23   # salc
24   D6
25   
26   # Flags operations
27   # lahf
28   9F
29   # sahf
30   9E
31 @nval:
32   VALIDATOR: 0: Illegal instruction
33   VALIDATOR: 1: Illegal instruction
34   VALIDATOR: 3: Illegal instruction
35   VALIDATOR: 5: Illegal instruction
36   VALIDATOR: 6: Illegal instruction
37   VALIDATOR: 8: Illegal instruction
38   VALIDATOR: 9: Illegal instruction
39   VALIDATOR: a: Illegal instruction
40   VALIDATOR: b: Illegal instruction
41   VALIDATOR: c: Illegal instruction
42   *** <input> IS UNSAFE ***
43 @dis:
44   00000000: 37                                           aaa
45   00000001: d5 0a                                        aad 0xa
46   00000003: d4 0a                                        aam 0xa
47   00000005: 3f                                           aas
48   00000006: 62 00                                        bound %eax, %ds:[%eax], %ds:[%eax]
49   00000008: 27                                           daa
50   00000009: 2f                                           das
51   0000000a: d7                                           xlat
52   0000000b: f1                                           int1
53   0000000c: d6                                           salc
54   0000000d: 9f                                           lahf
55   0000000e: 9e                                           sahf
56 @vdis:
57    0:   37                      aaa
58    1:   d5 0a                   aad
59    3:   d4 0a                   aam
60    5:   3f                      aas
61    6:   62 00                   bound %eax, [%eax]
62    8:   27                      daa
63    9:   2f                      das
64    a:   d7                      xlat
65    b:   f1                      int1
66    c:   d6                      salc
67    d:   9f                      lahf
68    e:   9e                      sahf
69 @rdfa_output:
70   0: [0] unrecognized instruction
71   1: [1] unrecognized instruction
72   3: [2] unrecognized instruction
73   5: [3] unrecognized instruction
74   6: [4] unrecognized instruction
75   8: [5] unrecognized instruction
76   9: [6] unrecognized instruction
77   a: [7] unrecognized instruction
78   b: [8] unrecognized instruction
79   c: [9] unrecognized instruction
80   return code: 1