mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
7a7a989139
NFC. Adding MC regressions tests to cover the CLFLSH and CLFLUSHOPT 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, craig.topper, m_zuckerman Differential Revision: https://reviews.llvm.org/D41331 Change-Id: Ifa643dd52f1b7184c52bc1806038dc74b234fc65 llvm-svn: 321153
27 lines
804 B
ArmAsm
27 lines
804 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: clflushopt 485498096
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
|
|
clflushopt 485498096
|
|
|
|
// CHECK: clflushopt 64(%rdx)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x7a,0x40]
|
|
clflushopt 64(%rdx)
|
|
|
|
// CHECK: clflushopt 64(%rdx,%rax,4)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x82,0x40]
|
|
clflushopt 64(%rdx,%rax,4)
|
|
|
|
// CHECK: clflushopt -64(%rdx,%rax,4)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x82,0xc0]
|
|
clflushopt -64(%rdx,%rax,4)
|
|
|
|
// CHECK: clflushopt 64(%rdx,%rax)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x02,0x40]
|
|
clflushopt 64(%rdx,%rax)
|
|
|
|
// CHECK: clflushopt (%rdx)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x3a]
|
|
clflushopt (%rdx)
|
|
|