From 337e8db712b355e780bc8b1bfbc305567639ed56 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 23 Jun 2010 20:00:58 +0000 Subject: Add support for the x86 instructions "pusha" and "popa". llvm-svn: 106671 --- llvm/utils/TableGen/EDEmitter.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/utils/TableGen/EDEmitter.cpp') 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 { -- cgit v1.2.3