From 3b904eb3518603161e7033068f74cdeeffd670a1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Feb 2004 07:27:50 +0000 Subject: [PATCH] Add the ftst instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11095 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index aecbca95cf0..ce6dd96d4e3 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -434,9 +434,11 @@ def FLD0 : FPInst<"fldz", 0xEE, RawFrm, ArgF80, ZeroArgFP>, D9; def FLD1 : FPInst<"fld1", 0xE8, RawFrm, ArgF80, ZeroArgFP>, D9; -// Unary read-modify-write operations... +// Unary operations... def FCHS : FPInst<"fchs", 0xE0, RawFrm, ArgF80, OneArgFPRW>, D9; // f1 = fchs f2 +def FTST : FPInst<"ftst", 0xE4, RawFrm, ArgF80, OneArgFP>, D9; // ftst ST(0) + // Binary arithmetic operations... class FPST0rInst o> : X86Inst, D8 {