diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-22 00:35:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-22 00:35:18 +0000 |
commit | 87ca0e077d91b96a765b3b24cadfa8891026a33a (patch) | |
tree | 09d4ab14f20e110cc9dd09d975ad791065796b74 /test/MC | |
parent | f8597eb0d94c66c8b4f3dc3b1ccf175417707776 (diff) | |
download | external_llvm-87ca0e077d91b96a765b3b24cadfa8891026a33a.zip external_llvm-87ca0e077d91b96a765b3b24cadfa8891026a33a.tar.gz external_llvm-87ca0e077d91b96a765b3b24cadfa8891026a33a.tar.bz2 |
Implement xgetbv and xsetbv.
Patch by Jai Menon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/X86/x86-64.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s index c8b6414..4e34990 100644 --- a/test/MC/X86/x86-64.s +++ b/test/MC/X86/x86-64.s @@ -942,3 +942,7 @@ movq 18446744073709551615,%rbx // CHECK: movq -1, %rbx // PR8946 movdqu %xmm0, %xmm1 // CHECK: movdqu %xmm0, %xmm1 # encoding: [0xf3,0x0f,0x6f,0xc8] + +// PR8935 +xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0] +xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1] |