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 | 337e8db712b355e780bc8b1bfbc305567639ed56 (patch) | |
| tree | bbe1309d349504d7d369d2b6f7c0a8931c8bffc6 /llvm/utils/TableGen | |
| parent | 30a28d658832fe58b5bcdf2225751bded9cc0e1d (diff) | |
| download | bcm5719-llvm-337e8db712b355e780bc8b1bfbc305567639ed56.tar.gz bcm5719-llvm-337e8db712b355e780bc8b1bfbc305567639ed56.zip | |
Add support for the x86 instructions "pusha" and "popa".
llvm-svn: 106671
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/EDEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/EDEmitter.cpp b/llvm/utils/TableGen/EDEmitter.cpp index 7f6436c1fee..cfc13677c32 100644 --- a/llvm/utils/TableGen/EDEmitter.cpp +++ b/llvm/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 { |

