Commit 568b388f by Richard Stallman

(extzv, and its recognizer): If width is 32, don't set CC_NOT_NEGATIVE.

If width is variable, clear the CC status.

From-SVN: r5958
parent 94dccd9d
......@@ -3961,7 +3961,15 @@
"TARGET_68020 && TARGET_BITFIELD"
"*
{
cc_status.flags |= CC_NOT_NEGATIVE;
if (GET_CODE (operands[2]) == CONST_INT)
{
if (INTVAL (operands[2]) != 32)
cc_status.flags |= CC_NOT_NEGATIVE;
}
else
{
CC_STATUS_INIT;
}
return \"bfextu %1{%b3:%b2},%0\";
}")
......@@ -4033,7 +4041,15 @@
"TARGET_68020 && TARGET_BITFIELD"
"*
{
cc_status.flags |= CC_NOT_NEGATIVE;
if (GET_CODE (operands[2]) == CONST_INT)
{
if (INTVAL (operands[2]) != 32)
cc_status.flags |= CC_NOT_NEGATIVE;
}
else
{
CC_STATUS_INIT;
}
return \"bfextu %1{%b3:%b2},%0\";
}")
......
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