[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 20 10:50:54 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.19 -> 1.20
---
Log message:
Eliminate the unimplemented ADDC/SUBB operations, add ADD_PARTS/SUB_PARTS instead.
---
Diffs of the changes: (+6 -4)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.19 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.20
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.19 Mon Jan 17 20:51:41 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Thu Jan 20 12:50:39 2005
@@ -101,10 +101,12 @@
// state.
SETCC,
- // addc - Three input, two output operator: (X, Y, C) -> (X+Y+C,
- // Cout). X,Y are integer inputs of agreeing size, C is a one bit
- // value, and two values are produced: the sum and a carry out.
- ADDC, SUBB,
+ // ADD_PARTS/SUB_PARTS - These operators take two logical operands which are
+ // broken into a multiple pieces each, and return the resulting pieces of
+ // doing an atomic add/sub operation. This is used to handle add/sub of
+ // expanded types. The operation ordering is:
+ // [Lo,Hi] = op [LoLHS,HiLHS], [LoRHS,HiRHS]
+ ADD_PARTS, SUB_PARTS,
// Conversion operators. These are all single input single output
// operations. For all of these, the result type must be strictly
More information about the llvm-commits
mailing list