Commit bfbc6416 by Richard Kenner

Treat HFmode like SFmode, for now.

From-SVN: r7576
parent cb5b00cf
...@@ -465,6 +465,7 @@ endian (e, x, mode) ...@@ -465,6 +465,7 @@ endian (e, x, mode)
x[1] = (long) t; x[1] = (long) t;
/* fall into the float case */ /* fall into the float case */
case HFmode:
case SFmode: case SFmode:
/* swap halfwords in the first word */ /* swap halfwords in the first word */
...@@ -513,6 +514,7 @@ endian (e, x, mode) ...@@ -513,6 +514,7 @@ endian (e, x, mode)
x[1] = (long) t; x[1] = (long) t;
/* fall into the float case */ /* fall into the float case */
case HFmode:
case SFmode: case SFmode:
/* pack the first long */ /* pack the first long */
...@@ -668,6 +670,7 @@ ereal_atof (s, t) ...@@ -668,6 +670,7 @@ ereal_atof (s, t)
switch (t) switch (t)
{ {
case HFmode:
case SFmode: case SFmode:
asctoe24 (s, tem); asctoe24 (s, tem);
e24toe (tem, e); e24toe (tem, e);
...@@ -956,6 +959,7 @@ real_value_truncate (mode, arg) ...@@ -956,6 +959,7 @@ real_value_truncate (mode, arg)
e53toe (t, t); e53toe (t, t);
break; break;
case HFmode:
case SFmode: case SFmode:
etoe24 (e, t); etoe24 (e, t);
e24toe (t, t); e24toe (t, t);
...@@ -5465,6 +5469,7 @@ make_nan (nan, sign, mode) ...@@ -5465,6 +5469,7 @@ make_nan (nan, sign, mode)
n = 4; n = 4;
p = DFnan; p = DFnan;
break; break;
case HFmode:
case SFmode: case SFmode:
n = 2; n = 2;
p = SFnan; p = SFnan;
......
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