1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/X86/RDSEED-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

15 lines
361 B
ArmAsm

// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: rdseedl %r13d
// CHECK: encoding: [0x41,0x0f,0xc7,0xfd]
rdseedl %r13d
// CHECK: rdseedq %r13
// CHECK: encoding: [0x49,0x0f,0xc7,0xfd]
rdseedq %r13
// CHECK: rdseedw %r13w
// CHECK: encoding: [0x66,0x41,0x0f,0xc7,0xfd]
rdseedw %r13w