mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add MULHU and MULHS nodes for the high part of an (un)signed 32x32=64b
multiply. llvm-svn: 21102
This commit is contained in:
parent
613a940af8
commit
12af81407b
@ -90,7 +90,7 @@ namespace ISD {
|
|||||||
|
|
||||||
|
|
||||||
// Simple binary arithmetic operators.
|
// Simple binary arithmetic operators.
|
||||||
ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,
|
ADD, SUB, MUL, MULHU, MULHS, SDIV, UDIV, SREM, UREM,
|
||||||
|
|
||||||
// Bitwise operators.
|
// Bitwise operators.
|
||||||
AND, OR, XOR, SHL, SRA, SRL,
|
AND, OR, XOR, SHL, SRA, SRL,
|
||||||
|
@ -1130,6 +1130,8 @@ const char *SDNode::getOperationName() const {
|
|||||||
case ISD::ADD: return "add";
|
case ISD::ADD: return "add";
|
||||||
case ISD::SUB: return "sub";
|
case ISD::SUB: return "sub";
|
||||||
case ISD::MUL: return "mul";
|
case ISD::MUL: return "mul";
|
||||||
|
case ISD::MULHU: return "mulhu";
|
||||||
|
case ISD::MULHS: return "mulhs";
|
||||||
case ISD::SDIV: return "sdiv";
|
case ISD::SDIV: return "sdiv";
|
||||||
case ISD::UDIV: return "udiv";
|
case ISD::UDIV: return "udiv";
|
||||||
case ISD::SREM: return "srem";
|
case ISD::SREM: return "srem";
|
||||||
|
Loading…
Reference in New Issue
Block a user