Add support for the VIA PadLock instructions.
[oota-llvm.git] / test / MC / X86 / padlock.s
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3         xstore
4 // CHECK: xstore
5 // CHECK: encoding: [0x0f,0xa7,0xc0]
6
7         rep xcryptecb
8 // CHECK: rep
9 // CHECK: encoding: [0xf3]
10 // CHECK: xcryptecb
11 // CHECK: encoding: [0x0f,0xa7,0xc8]
12
13         rep xcryptcbc
14 // CHECK: rep
15 // CHECK: encoding: [0xf3]
16 // CHECK: xcryptcbc
17 // CHECK: encoding: [0x0f,0xa7,0xd0]
18
19         rep xcryptctr
20 // CHECK: rep
21 // CHECK: encoding: [0xf3]
22 // CHECK: xcryptctr
23 // CHECK: encoding: [0x0f,0xa7,0xd8]
24
25         rep xcryptcfb
26 // CHECK: rep
27 // CHECK: encoding: [0xf3]
28 // CHECK: xcryptcfb
29 // CHECK: encoding: [0x0f,0xa7,0xe0]
30
31         rep xcryptofb
32 // CHECK: rep
33 // CHECK: encoding: [0xf3]
34 // CHECK: xcryptofb
35 // CHECK: encoding: [0x0f,0xa7,0xe8]
36
37         rep xsha1
38 // CHECK: rep
39 // CHECK: encoding: [0xf3]
40 // CHECK: xsha1
41 // CHECK: encoding: [0x0f,0xa6,0xc8]
42
43         rep xsha256
44 // CHECK: rep
45 // CHECK: encoding: [0xf3]
46 // CHECK: xsha256
47 // CHECK: encoding: [0x0f,0xa6,0xd0]
48
49         rep montmul
50 // CHECK: rep
51 // CHECK: encoding: [0xf3]
52 // CHECK: montmul
53 // CHECK: encoding: [0x0f,0xa6,0xc0]