mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
6e5511c95c
NFC. Adding MC regressions tests to cover the XSAVE ISA sets. This patch is part of a larger task to cover MC encoding of all X86 ISA Sets started in revision: https://reviews.llvm.org/D39952 Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper Differential Revision: https://reviews.llvm.org/D41282 Change-Id: I325bf8f421f78c80179a04fc39033366759cbe45 llvm-svn: 322537
27 lines
806 B
ArmAsm
27 lines
806 B
ArmAsm
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: xsavec -485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0xc7,0xa4,0x82,0x10,0xe3,0x0f,0xe3]
|
|
xsavec -485498096(%edx,%eax,4)
|
|
|
|
// CHECK: xsavec 485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0xc7,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
xsavec 485498096(%edx,%eax,4)
|
|
|
|
// CHECK: xsavec 485498096(%edx)
|
|
// CHECK: encoding: [0x0f,0xc7,0xa2,0xf0,0x1c,0xf0,0x1c]
|
|
xsavec 485498096(%edx)
|
|
|
|
// CHECK: xsavec 485498096
|
|
// CHECK: encoding: [0x0f,0xc7,0x25,0xf0,0x1c,0xf0,0x1c]
|
|
xsavec 485498096
|
|
|
|
// CHECK: xsavec 64(%edx,%eax)
|
|
// CHECK: encoding: [0x0f,0xc7,0x64,0x02,0x40]
|
|
xsavec 64(%edx,%eax)
|
|
|
|
// CHECK: xsavec (%edx)
|
|
// CHECK: encoding: [0x0f,0xc7,0x22]
|
|
xsavec (%edx)
|
|
|