Commit 3e4a14ef by Richard Kenner

(gen_highpart): Add comment about broken implementation.

From-SVN: r9463
parent ee33823f
...@@ -932,6 +932,12 @@ gen_highpart (mode, x) ...@@ -932,6 +932,12 @@ gen_highpart (mode, x)
- MAX (GET_MODE_SIZE (mode), UNITS_PER_WORD)) - MAX (GET_MODE_SIZE (mode), UNITS_PER_WORD))
/ UNITS_PER_WORD); / UNITS_PER_WORD);
/*
* ??? This fails miserably for complex values being passed in registers
* where the sizeof the real and imaginary part are not equal to the
* sizeof SImode. FIXME
*/
if (REGNO (x) < FIRST_PSEUDO_REGISTER if (REGNO (x) < FIRST_PSEUDO_REGISTER
/* integrate.c can't handle parts of a return value register. */ /* integrate.c can't handle parts of a return value register. */
&& (! REG_FUNCTION_VALUE_P (x) && (! REG_FUNCTION_VALUE_P (x)
......
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