Commit 85654444 by Zack Weinberg Committed by Zack Weinberg

* config/sh/sh.md: Don't use union real_extract.

From-SVN: r51794
parent 543828ca
2002-04-02 Zack Weinberg <zack@codesourcery.com>
* config/sh/sh.md: Don't use union real_extract.
2002-04-02 Richard Henderson <rth@redhat.com>
* libgcc2.c (__bb_exit_func): Revert 03-31 change.
......
......@@ -7185,9 +7185,9 @@
{
if (operands[1] != const0_rtx)
{
union real_extract u;
memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u);
assemble_real (u.d, SFmode, GET_MODE_ALIGNMENT (SFmode));
REAL_VALUE_TYPE d;
REAL_VALUE_FROM_CONST_DOUBLE (d, operands[0]);
assemble_real (d, SFmode, GET_MODE_ALIGNMENT (SFmode));
}
return \"\";
}"
......@@ -7205,9 +7205,9 @@
{
if (operands[1] != const0_rtx)
{
union real_extract u;
memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u);
assemble_real (u.d, DFmode, GET_MODE_ALIGNMENT (DFmode));
REAL_VALUE_TYPE d;
REAL_VALUE_FROM_CONST_DOUBLE (d, operands[0]);
assemble_real (d, DFmode, GET_MODE_ALIGNMENT (DFmode));
}
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