Commit 251b3667 by David Edelsohn Committed by David Edelsohn

rs6000.md (cr logic): Add original POWER mnemonic alternative for crnot.

        * rs6000.md (cr logic): Add original POWER mnemonic alternative
        for crnot.  Set operands[5] in splitter.

From-SVN: r40313
parent c9a54638
2001-03-07 David Edelsohn <edelsohn@gnu.org>
* rs6000.md (cr logic): Add original POWER mnemonic alternative
for crnot. Set operands[5] in splitter.
2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/i370/xm-mvs.h, config/i370/xm-oe.h, * config/i370/xm-mvs.h, config/i370/xm-oe.h,
......
...@@ -12575,7 +12575,7 @@ operands[2] = GEN_INT (INTVAL (operands[1]) >> 32); ...@@ -12575,7 +12575,7 @@ operands[2] = GEN_INT (INTVAL (operands[1]) >> 32);
(const_int 0)]) (const_int 0)])
(const_int 0)))] (const_int 0)))]
"" ""
"crnot %E0,%j1" "{crnor %E0,%j1,%j1|crnot %E0,%j1}"
[(set_attr "type" "cr_logical")]) [(set_attr "type" "cr_logical")])
;; If we are comparing the result of two comparisons, this can be done ;; If we are comparing the result of two comparisons, this can be done
...@@ -12622,7 +12622,14 @@ operands[2] = GEN_INT (INTVAL (operands[1]) >> 32); ...@@ -12622,7 +12622,14 @@ operands[2] = GEN_INT (INTVAL (operands[1]) >> 32);
operands[4]); operands[4]);
if (positive_1 == positive_2) if (positive_1 == positive_2)
operands[1] = gen_rtx_NOT (SImode, operands[1]); {
operands[1] = gen_rtx_NOT (SImode, operands[1]);
operands[5] = constm1_rtx;
}
else
{
operands[5] = const1_rtx;
}
}") }")
;; Unconditional branch and return. ;; Unconditional branch and return.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment