diff options
author | Nico Weber <nicolasweber@gmx.de> | 2010-06-23 20:00:58 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2010-06-23 20:00:58 +0000 |
commit | 50b9efc2a852bab753948a35e6615ace3100c9da (patch) | |
tree | 78327606e85d9a0e2558ccf47f2c23bf8c379fad /utils | |
parent | 81cd7ffe45730d5afd383ee8850e3ff1f48a1920 (diff) | |
download | external_llvm-50b9efc2a852bab753948a35e6615ace3100c9da.zip external_llvm-50b9efc2a852bab753948a35e6615ace3100c9da.tar.gz external_llvm-50b9efc2a852bab753948a35e6615ace3100c9da.tar.bz2 |
Add support for the x86 instructions "pusha" and "popa".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 7f6436c..cfc1367 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -500,6 +500,8 @@ static void X86ExtractSemantics( // TODO add support for fixed operands } else if (name.find("F") != name.npos) { // ignore (this pushes onto the FP stack) + } else if (name.find("A") != name.npos) { + // ignore (pushes all GP registoers onto the stack) } else if (name[name.length() - 1] == 'm') { PUSH("src"); } else if (name.find("i") != name.npos) { @@ -518,6 +520,8 @@ static void X86ExtractSemantics( // TODO add support for fixed operands } else if (name.find("F") != name.npos) { // ignore (this pops from the FP stack) + } else if (name.find("A") != name.npos) { + // ignore (pushes all GP registoers onto the stack) } else if (name[name.length() - 1] == 'm') { POP("dst"); } else { |