1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: xsavec 485498096 4// CHECK: encoding: [0x0f,0xc7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] 5xsavec 485498096 6 7// CHECK: xsavec64 485498096 8// CHECK: encoding: [0x48,0x0f,0xc7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] 9xsavec64 485498096 10 11// CHECK: xsavec64 64(%rdx) 12// CHECK: encoding: [0x48,0x0f,0xc7,0x62,0x40] 13xsavec64 64(%rdx) 14 15// CHECK: xsavec64 64(%rdx,%rax,4) 16// CHECK: encoding: [0x48,0x0f,0xc7,0x64,0x82,0x40] 17xsavec64 64(%rdx,%rax,4) 18 19// CHECK: xsavec64 -64(%rdx,%rax,4) 20// CHECK: encoding: [0x48,0x0f,0xc7,0x64,0x82,0xc0] 21xsavec64 -64(%rdx,%rax,4) 22 23// CHECK: xsavec64 64(%rdx,%rax) 24// CHECK: encoding: [0x48,0x0f,0xc7,0x64,0x02,0x40] 25xsavec64 64(%rdx,%rax) 26 27// CHECK: xsavec 64(%rdx) 28// CHECK: encoding: [0x0f,0xc7,0x62,0x40] 29xsavec 64(%rdx) 30 31// CHECK: xsavec64 (%rdx) 32// CHECK: encoding: [0x48,0x0f,0xc7,0x22] 33xsavec64 (%rdx) 34 35// CHECK: xsavec 64(%rdx,%rax,4) 36// CHECK: encoding: [0x0f,0xc7,0x64,0x82,0x40] 37xsavec 64(%rdx,%rax,4) 38 39// CHECK: xsavec -64(%rdx,%rax,4) 40// CHECK: encoding: [0x0f,0xc7,0x64,0x82,0xc0] 41xsavec -64(%rdx,%rax,4) 42 43// CHECK: xsavec 64(%rdx,%rax) 44// CHECK: encoding: [0x0f,0xc7,0x64,0x02,0x40] 45xsavec 64(%rdx,%rax) 46 47// CHECK: xsavec (%rdx) 48// CHECK: encoding: [0x0f,0xc7,0x22] 49xsavec (%rdx) 50 51