projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97046a
)
Add the ftst instruction
author
Chris Lattner
<sabre@nondot.org>
Tue, 3 Feb 2004 07:27:50 +0000
(07:27 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 3 Feb 2004 07:27:50 +0000
(07:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11095
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.td
b/lib/Target/X86/X86InstrInfo.td
index aecbca95cf044a0f00c04abbfffaabeb13c354e2..ce6dd96d4e3929975a5a73b60f5b470aebc32c25 100644
(file)
--- 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<string n, bits<8> o>
: X86Inst<n, o, AddRegFrm, ArgF80>, D8 {