1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/MC/X86/INVPCID-32.s
Gadi Haber 98d9000b4b [X86][MC]: Adding test coverage of MC encoding for several small extensions.<NFC>
NFC.
 Adding MC regressions tests to cover several small x86 extensions as follows:
 CLWB, CLZERO, F16C, INVPCID, PKU, POPCNT, RTM, SGX, SHA, SVM, VMFUNC, VTX

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: RKSimon, craig.topper, zvi, AndreiGrischenko
Differential Revision: https://reviews.llvm.org/D41388

Change-Id: I254508cd17faca00b780be0fc2abf6c71b61faab
llvm-svn: 324595
2018-02-08 11:16:02 +00:00

27 lines
944 B
ArmAsm

// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: invpcid 3809469200(%edx,%eax,4), %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x84,0x82,0x10,0xe3,0x0f,0xe3]
invpcid 3809469200(%edx,%eax,4), %eax
// CHECK: invpcid 485498096, %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x05,0xf0,0x1c,0xf0,0x1c]
invpcid 485498096, %eax
// CHECK: invpcid 485498096(%edx,%eax,4), %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
invpcid 485498096(%edx,%eax,4), %eax
// CHECK: invpcid 485498096(%edx), %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x82,0xf0,0x1c,0xf0,0x1c]
invpcid 485498096(%edx), %eax
// CHECK: invpcid 64(%edx,%eax), %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x44,0x02,0x40]
invpcid 64(%edx,%eax), %eax
// CHECK: invpcid (%edx), %eax
// CHECK: encoding: [0x66,0x0f,0x38,0x82,0x02]
invpcid (%edx), %eax