Commit ab8ab9d0 by Steve Chamberlain

(immed_double_const): Cope with MODE_PARTIAL_INT.

(output_constant_pool): Likewise.

From-SVN: r3650
parent d33edda7
......@@ -1280,7 +1280,8 @@ immed_double_const (i0, i1, mode)
register rtx r;
int in_current_obstack;
if (GET_MODE_CLASS (mode) == MODE_INT)
if (GET_MODE_CLASS (mode) == MODE_INT
|| GET_MODE_CLASS (mode) == MODE_PARTIAL_INT)
{
/* We clear out all bits that don't belong in MODE, unless they and our
sign bit are all one. So we get either a reasonable negative value
......@@ -2569,6 +2570,7 @@ output_constant_pool (fnname, fndecl)
break;
case MODE_INT:
case MODE_PARTIAL_INT:
assemble_integer (x, GET_MODE_SIZE (pool->mode), 1);
break;
......
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