mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-22 13:34:53 +08:00
mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP.
* mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP. Don't use union real_extract. From-SVN: r51502
This commit is contained in:
parent
c187b20ed1
commit
81b4c798e8
@ -1,3 +1,8 @@
|
||||
2002-03-27 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* mips.md: Use dconst1, not 1.0, as first argument of
|
||||
REAL_VALUE_LDEXP. Don't use union real_extract.
|
||||
|
||||
2002-03-28 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* configure.in (gcc_cv_as): Use $target_alias in directory searchs
|
||||
|
@ -4504,7 +4504,7 @@ move\\t%0,%z4\\n\\
|
||||
rtx reg3 = gen_reg_rtx (SImode);
|
||||
rtx label1 = gen_label_rtx ();
|
||||
rtx label2 = gen_label_rtx ();
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (1.0, 31);
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, 31);
|
||||
|
||||
if (reg1) /* turn off complaints about unreached code */
|
||||
{
|
||||
@ -4548,7 +4548,7 @@ move\\t%0,%z4\\n\\
|
||||
rtx reg3 = gen_reg_rtx (DImode);
|
||||
rtx label1 = gen_label_rtx ();
|
||||
rtx label2 = gen_label_rtx ();
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (1.0, 63);
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, 63);
|
||||
|
||||
if (reg1) /* turn off complaints about unreached code */
|
||||
{
|
||||
@ -4592,7 +4592,7 @@ move\\t%0,%z4\\n\\
|
||||
rtx reg3 = gen_reg_rtx (SImode);
|
||||
rtx label1 = gen_label_rtx ();
|
||||
rtx label2 = gen_label_rtx ();
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (1.0, 31);
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, 31);
|
||||
|
||||
if (reg1) /* turn off complaints about unreached code */
|
||||
{
|
||||
@ -4636,7 +4636,7 @@ move\\t%0,%z4\\n\\
|
||||
rtx reg3 = gen_reg_rtx (DImode);
|
||||
rtx label1 = gen_label_rtx ();
|
||||
rtx label2 = gen_label_rtx ();
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (1.0, 63);
|
||||
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, 63);
|
||||
|
||||
if (reg1) /* turn off complaints about unreached code */
|
||||
{
|
||||
@ -10616,12 +10616,12 @@ ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\\n\\t%*j\\t%2"
|
||||
"TARGET_MIPS16"
|
||||
"*
|
||||
{
|
||||
union real_extract u;
|
||||
REAL_VALUE_TYPE d;
|
||||
|
||||
if (GET_CODE (operands[0]) != CONST_DOUBLE)
|
||||
abort ();
|
||||
memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u);
|
||||
assemble_real (u.d, SFmode, GET_MODE_ALIGNMENT (SFmode));
|
||||
REAL_VALUE_FROM_CONST_DOUBLE (d, operands[0]);
|
||||
assemble_real (d, SFmode, GET_MODE_ALIGNMENT (SFmode));
|
||||
return \"\";
|
||||
}"
|
||||
[(set_attr "type" "unknown")
|
||||
@ -10633,12 +10633,12 @@ ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\\n\\t%*j\\t%2"
|
||||
"TARGET_MIPS16"
|
||||
"*
|
||||
{
|
||||
union real_extract u;
|
||||
REAL_VALUE_TYPE d;
|
||||
|
||||
if (GET_CODE (operands[0]) != CONST_DOUBLE)
|
||||
abort ();
|
||||
memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u);
|
||||
assemble_real (u.d, DFmode, GET_MODE_ALIGNMENT (DFmode));
|
||||
REAL_VALUE_FROM_CONST_DOUBLE (d, operands[0]);
|
||||
assemble_real (d, DFmode, GET_MODE_ALIGNMENT (DFmode));
|
||||
return \"\";
|
||||
}"
|
||||
[(set_attr "type" "unknown")
|
||||
|
Loading…
Reference in New Issue
Block a user