Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
      2 
      3 // CHECK: xgetbv
      4 // CHECK: encoding: [0x0f,0x01,0xd0]
      5 xgetbv
      6 
      7 // CHECK: xrstor -485498096(%edx,%eax,4)
      8 // CHECK: encoding: [0x0f,0xae,0xac,0x82,0x10,0xe3,0x0f,0xe3]
      9 xrstor -485498096(%edx,%eax,4)
     10 
     11 // CHECK: xrstor 485498096(%edx,%eax,4)
     12 // CHECK: encoding: [0x0f,0xae,0xac,0x82,0xf0,0x1c,0xf0,0x1c]
     13 xrstor 485498096(%edx,%eax,4)
     14 
     15 // CHECK: xrstor 485498096(%edx)
     16 // CHECK: encoding: [0x0f,0xae,0xaa,0xf0,0x1c,0xf0,0x1c]
     17 xrstor 485498096(%edx)
     18 
     19 // CHECK: xrstor 485498096
     20 // CHECK: encoding: [0x0f,0xae,0x2d,0xf0,0x1c,0xf0,0x1c]
     21 xrstor 485498096
     22 
     23 // CHECK: xrstor 64(%edx,%eax)
     24 // CHECK: encoding: [0x0f,0xae,0x6c,0x02,0x40]
     25 xrstor 64(%edx,%eax)
     26 
     27 // CHECK: xrstor (%edx)
     28 // CHECK: encoding: [0x0f,0xae,0x2a]
     29 xrstor (%edx)
     30 
     31 // CHECK: xsave -485498096(%edx,%eax,4)
     32 // CHECK: encoding: [0x0f,0xae,0xa4,0x82,0x10,0xe3,0x0f,0xe3]
     33 xsave -485498096(%edx,%eax,4)
     34 
     35 // CHECK: xsave 485498096(%edx,%eax,4)
     36 // CHECK: encoding: [0x0f,0xae,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]
     37 xsave 485498096(%edx,%eax,4)
     38 
     39 // CHECK: xsave 485498096(%edx)
     40 // CHECK: encoding: [0x0f,0xae,0xa2,0xf0,0x1c,0xf0,0x1c]
     41 xsave 485498096(%edx)
     42 
     43 // CHECK: xsave 485498096
     44 // CHECK: encoding: [0x0f,0xae,0x25,0xf0,0x1c,0xf0,0x1c]
     45 xsave 485498096
     46 
     47 // CHECK: xsave 64(%edx,%eax)
     48 // CHECK: encoding: [0x0f,0xae,0x64,0x02,0x40]
     49 xsave 64(%edx,%eax)
     50 
     51 // CHECK: xsave (%edx)
     52 // CHECK: encoding: [0x0f,0xae,0x22]
     53 xsave (%edx)
     54 
     55 // CHECK: xsetbv
     56 // CHECK: encoding: [0x0f,0x01,0xd1]
     57 xsetbv
     58 
     59