mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Define target-indepenent SDNode types for multiply and divide that
produce two results. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ec81c0ee7
commit
fdd04d5dde
@ -234,6 +234,15 @@ namespace ISD {
|
|||||||
// Simple integer binary arithmetic operators.
|
// Simple integer binary arithmetic operators.
|
||||||
ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,
|
ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,
|
||||||
|
|
||||||
|
// SMUL_LOHI/UMUL_LOHI - Multiply two integers of type iN, producing
|
||||||
|
// a signed/unsigned value of type i[2*n], and return the full value as
|
||||||
|
// two results, each of type iN.
|
||||||
|
SMUL_LOHI, UMUL_LOHI,
|
||||||
|
|
||||||
|
// SDIVREM/UDIVREM - Divide two integers and produce both a quotient and
|
||||||
|
// remainder result.
|
||||||
|
SDIVREM, UDIVREM,
|
||||||
|
|
||||||
// CARRY_FALSE - This node is used when folding other nodes,
|
// CARRY_FALSE - This node is used when folding other nodes,
|
||||||
// like ADDC/SUBC, which indicate the carry result is always false.
|
// like ADDC/SUBC, which indicate the carry result is always false.
|
||||||
CARRY_FALSE,
|
CARRY_FALSE,
|
||||||
|
Loading…
Reference in New Issue
Block a user