mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
[X86] movdiri and movdir64b instructions
Reviewers: craig.topper git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1264,6 +1264,10 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
|
||||
|
||||
Features["ibt"] = HasLeaf7 && ((EDX >> 20) & 1);
|
||||
|
||||
// Direct move instruction support.
|
||||
Features["movdiri"] = HasLeaf7 && ((ECX >> 27) & 1);
|
||||
Features["movdir64b"] = HasLeaf7 && ((ECX >> 28) & 1);
|
||||
|
||||
bool HasLeafD = MaxLevel >= 0xd &&
|
||||
!getX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user