diff mbox

[wide-int] Restore VAX build

Message ID 878ux5ixz9.fsf@talisman.default
State New
Headers show

Commit Message

Richard Sandiford Nov. 3, 2013, 10:24 a.m. UTC
Installed as obvious.

Richard

Comments

Kenneth Zadeck Nov. 3, 2013, 1:29 p.m. UTC | #1
Vax, seriously???  Are there any left?


On Nov 3, 2013, at 5:24 AM, Richard Sandiford <rdsandiford@googlemail.com> wrote:

> Installed as obvious.
> 
> Richard
> 
> 
> Index: gcc/config/vax/vax.c
> ===================================================================
> --- gcc/config/vax/vax.c    2013-11-03 10:24:01.013238719 +0000
> +++ gcc/config/vax/vax.c    2013-11-03 10:24:02.308247979 +0000
> @@ -643,7 +643,7 @@ vax_float_literal (rtx c)
>     {
>       int x = 1 << i;
>       bool ok;
> -      REAL_VALUE_FROM_INT (s, x, 0, mode);
> +      REAL_VALUE_FROM_INT (s, x, mode);
> 
>       if (REAL_VALUES_EQUAL (r, s))
>    return true;
Steven Bosscher Nov. 3, 2013, 7:21 p.m. UTC | #2
On Sun, Nov 3, 2013 at 2:29 PM, Kenneth Zadeck wrote:
> Vax, seriously???  Are there any left?

Maybe. Maybe not. But there are decent VAX simulators, and Linux,
NetBSD, and OpenBSD have been ported to VAX.

Remember they were still building VAX machines in 2005, when e.g.
Alpha and HP-PA were already effectively dead... :-)

Ciao!
Steven
Jan-Benedict Glaw Nov. 5, 2013, 2:12 p.m. UTC | #3
On Sun, 2013-11-03 08:29:12 -0500, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> On Nov 3, 2013, at 5:24 AM, Richard Sandiford <rdsandiford@googlemail.com> wrote:
> > Index: gcc/config/vax/vax.c
> > ===================================================================
> > --- gcc/config/vax/vax.c    2013-11-03 10:24:01.013238719 +0000
> > +++ gcc/config/vax/vax.c    2013-11-03 10:24:02.308247979 +0000
> > @@ -643,7 +643,7 @@ vax_float_literal (rtx c)
> >     {
> >       int x = 1 << i;
> >       bool ok;
> > -      REAL_VALUE_FROM_INT (s, x, 0, mode);
> > +      REAL_VALUE_FROM_INT (s, x, mode);
> > 
> >       if (REAL_VALUES_EQUAL (r, s))
> >    return true;
>
> Vax, seriously???  Are there any left?

There are!  It's not all that dead.

MfG, JBG
Kenneth Zadeck Nov. 5, 2013, 2:18 p.m. UTC | #4
On 11/05/2013 09:12 AM, Jan-Benedict Glaw wrote:
> On Sun, 2013-11-03 08:29:12 -0500, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
>> On Nov 3, 2013, at 5:24 AM, Richard Sandiford <rdsandiford@googlemail.com> wrote:
>>> Index: gcc/config/vax/vax.c
>>> ===================================================================
>>> --- gcc/config/vax/vax.c    2013-11-03 10:24:01.013238719 +0000
>>> +++ gcc/config/vax/vax.c    2013-11-03 10:24:02.308247979 +0000
>>> @@ -643,7 +643,7 @@ vax_float_literal (rtx c)
>>>      {
>>>        int x = 1 << i;
>>>        bool ok;
>>> -      REAL_VALUE_FROM_INT (s, x, 0, mode);
>>> +      REAL_VALUE_FROM_INT (s, x, mode);
>>>
>>>        if (REAL_VALUES_EQUAL (r, s))
>>>     return true;
>> Vax, seriously???  Are there any left?
> There are!  It's not all that dead.
>
> MfG, JBG
>
when i was in grad school in the late 70's early 80's, our dept 
submitted an nsf grant to buy 1mb for our 11-780.  I believe 1mb cost 
about 100K.  That was a very long time ago.   Unlike ibm with it's z 
series (formally 360 or 370), dec has been out of business for a long time.
diff mbox

Patch

Index: gcc/config/vax/vax.c
===================================================================
--- gcc/config/vax/vax.c	2013-11-03 10:24:01.013238719 +0000
+++ gcc/config/vax/vax.c	2013-11-03 10:24:02.308247979 +0000
@@ -643,7 +643,7 @@  vax_float_literal (rtx c)
     {
       int x = 1 << i;
       bool ok;
-      REAL_VALUE_FROM_INT (s, x, 0, mode);
+      REAL_VALUE_FROM_INT (s, x, mode);
 
       if (REAL_VALUES_EQUAL (r, s))
 	return true;