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

From-SVN: r51794
This commit is contained in:
Zack Weinberg 2002-04-03 05:34:46 +00:00 committed by Zack Weinberg
parent 543828cab1
commit 856544448e
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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 \"\";
}"