1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/X86/RDWRFSGS-64.s
Gadi Haber 26f81f1774 [X86][RD]: Adding full coverage of MC encoding for RD isa sets.<NFC>
NFC.
Adding MC regressions tests to cover RDPMC, RDRAND, RDRAND, RDSEED, RDTSCP, DWRFSGS 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, craig.topper, RKSimon, AndreiGrischenk
Differential Revision: https://reviews.llvm.org/D41328

Change-Id: Ie97b397546e6b1ed180c6abd7b41fccb136d2b82
llvm-svn: 321476
2017-12-27 08:35:57 +00:00

35 lines
882 B
ArmAsm

// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: rdfsbasel %r13d
// CHECK: encoding: [0xf3,0x41,0x0f,0xae,0xc5]
rdfsbasel %r13d
// CHECK: rdfsbaseq %r13
// CHECK: encoding: [0xf3,0x49,0x0f,0xae,0xc5]
rdfsbaseq %r13
// CHECK: rdgsbasel %r13d
// CHECK: encoding: [0xf3,0x41,0x0f,0xae,0xcd]
rdgsbasel %r13d
// CHECK: rdgsbaseq %r13
// CHECK: encoding: [0xf3,0x49,0x0f,0xae,0xcd]
rdgsbaseq %r13
// CHECK: wrfsbasel %r13d
// CHECK: encoding: [0xf3,0x41,0x0f,0xae,0xd5]
wrfsbasel %r13d
// CHECK: wrfsbaseq %r13
// CHECK: encoding: [0xf3,0x49,0x0f,0xae,0xd5]
wrfsbaseq %r13
// CHECK: wrgsbasel %r13d
// CHECK: encoding: [0xf3,0x41,0x0f,0xae,0xdd]
wrgsbasel %r13d
// CHECK: wrgsbaseq %r13
// CHECK: encoding: [0xf3,0x49,0x0f,0xae,0xdd]
wrgsbaseq %r13