From 63dd4ff809edf16552aecdb082a52ef9364d16aa Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Mon, 15 Mar 2004 17:20:14 +0000 Subject: [PATCH] Add LAHF instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12424 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 2a7a9335939..4e92b5c1f81 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -600,6 +600,7 @@ def TEST32mi : Im32i32<"test", 0xF7, MRM0m >; // flags = [mem32] & // Condition code ops, incl. set if equal/not equal/... def SAHF : I <"sahf" , 0x9E, RawFrm>, Imp<[AH],[]>; // flags = AH +def LAHF : I <"lahf" , 0x9F, RawFrm>, Imp<[],[AH]>; // AH = flags def SETBr : I <"setb" , 0x92, MRM0r>, TB; // R8 = < unsign def SETBm : Im8<"setb" , 0x92, MRM0m>, TB; // [mem8] = < unsign