Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Why are there always boycotts? Shouldn't there be girlcotts too? -- argon on #Linux


computers / comp.os.vms / Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

SubjectAuthor
* Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksJohnny Billquist
|`- Re: Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksgah4
|+* Re: Hard links on VMS ODS5 disksSteven Schweda
||+* Re: Hard links on VMS ODS5 disksgah4
|||`* Re: Hard links on VMS ODS5 disksbill
||| `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  +* Re: Hard links on VMS ODS5 disksgah4
|||  |`* Re: Hard links on VMS ODS5 disksChris Townley
|||  | +* Re: Hard links on VMS ODS5 disksDave Froble
|||  | |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | | +- Re: Hard links on VMS ODS5 disksgah4
|||  | | `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  | |  +- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | |  +- Re: Hard links on VMS ODS5 disksgah4
|||  | |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  | `* Re: Hard links on VMS ODS5 disksgah4
|||  |  `* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   +* Re: Hard links on VMS ODS5 disksgah4
|||  |   |+* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   || `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   ||  `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   | `* Re: Hard links on VMS ODS5 disksgah4
|||  |   |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |    `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |     `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |      +* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  |      |  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |   `* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |    +- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |    `- Re: Hard links on VMS ODS5 disksRobert A. Brooks
|||  |      `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |       +* Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||  |       |`- Re: Hard links on VMS ODS5 disksDave Froble
|||  |       `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |        `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |         `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||    `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     +* Re: Hard links on VMS ODS5 disksgah4
|||     |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||      `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||       |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       `* Re: Hard links on VMS ODS5 disksDave Froble
|||        `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksDave Froble
|||         |`- Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         |`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||         | `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          | `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |  +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          |  |`- Re: Hard links on VMS ODS5 diskstridac
|||          |  `- Re: Hard links on VMS ODS5 disksDave Froble
|||          `* Re: Hard links on VMS ODS5 disksDave Froble
|||           `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||            `* Re: Hard links on VMS ODS5 disksDave Froble
|||             `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||              `* Re: Hard links on VMS ODS5 disksDave Froble
|||               +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               |+- Re: Hard links on VMS ODS5 disksDave Froble
|||               |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || +* Re: Hard links on VMS ODS5 disksDave Froble
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksJohn Dallman
|||               || |  `- Re: Hard links on VMS ODS5 disksDan Cross
|||               || +* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |  `* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||               || |   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |    `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               |`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | |+- Re: Hard links on VMS ODS5 disksDan Cross
|||               | |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | ||`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || +- Re: Hard links on VMS ODS5 disksChris Townley
|||               | || +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | +* Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | | +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | | +- Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||               | || | | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || +* Re: Hard links on VMS ODS5 disksStephen Hoffman
|||               | || `* Re: Hard links on VMS ODS5 disksIan Miller
|||               | |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               `- Re: Hard links on VMS ODS5 disksArne Vajhøj
||`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|`- Re: Hard links on VMS ODS5 disksJohnny Billquist
+* Re: Hard links on VMS ODS5 disksArne Vajhøj
`- Re: Hard links on VMS ODS5 disksStephen Hoffman

Pages:12345678910
Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<uckthl$2m8$3@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29495&group=comp.os.vms#29495

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
Date: Tue, 29 Aug 2023 15:58:13 +0200
Organization: MGT Consulting
Message-ID: <uckthl$2m8$3@news.misty.com>
References: <ucgkbf$1bupe$2@dont-email.me>
<memo.20230828121501.19768b@jgd.cix.co.uk> <uci441$lgj$2@news.misty.com>
<ucicoc$knn$1@reader2.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 29 Aug 2023 13:58:13 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="2760"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <ucicoc$knn$1@reader2.panix.com>
 by: Johnny Billquist - Tue, 29 Aug 2023 13:58 UTC

On 2023-08-28 16:59, Dan Cross wrote:
> In article <uci441$lgj$2@news.misty.com>,
> Johnny Billquist <bqt@softjar.se> wrote:
>> On 2023-08-28 13:15, John Dallman wrote:
>>> In article <ucgkbf$1bupe$2@dont-email.me>, arne@vajhoej.dk (Arne Vajhøj)
>>> wrote:
>>>
>>>> On 8/27/2023 8:45 AM, Dan Cross wrote:
>>>>> Ah, this is precisely what x86 does, again underscoring how it
>>>>> is different from the approach that DEC chose with PDP-11
>>>>> compatibility on the VAX.
>>>>
>>>> That is not how x86-64 work.
>>>>
>>>> You cannot mix code.
>>>>
>>>> A 64 bit program cannot use 32 bit libraries.
>>>>
>>>> The build will detect it and reject it. But if that check was
>>>> disabled then the result would be almost guaranteed to crash.
>>>
>>> Dan is distinguishing between what the x86-64 hardware can do, and what
>>> the commonly-used operating systems support.
>>>
>>> None of Linux, macOS and Windows support calling libraries built for the
>>> x86-32 versions of the respective operating systems from programs built
>>> for the x86-64 versions of the operating systems. You're quite right
>>> about that.
>>
>> [...]
>>
>> I've tried to stay out, and don't want to get too deep in.
>> But in a sense, my question/issue would be: Can you take a binary for
>> x86 and run it without any "mode bit", or anything else, on an x86-64
>> and it works?
>
> Provided you set up segmentation correctly, those binaries will
> run just fine. You simply execute it in a 32-bit code segment,
> with 32-bit data segments. Is a "mode" bit involved? Kinda
> sorta, but that's an implementation detail. Usually the OS does
> this for you; the user program doesn't care.

Which is equally true for the PDP-11 mode bit on the VAX. ;-)
User programs just run. The OS is handling all the details on how to
actually get the machine in the correct state.

> But this is a strawman argument that is, again, besides the
> point I was making. I never said you don't have to take care
> when running 32-bit binaries on a 64-bit system, nor did I say
> that _every_ instruction is compatible between 32-bit and 64-bit
> x86.

Oh, I agree that we're splitting hairs. But I do think DG went a bit
further than AMD did, with the goal of being able to basically just move
the binaries over and run them. Hence the two stacks, and all that ugliness.
Yes, the OS might still need to set some things up, but I don't think
it's completely comparable what DG did with what AMD did, just as it
isn't the same as what DEC did.

And with all that said, I do think DG made a bad choice. AMD basically
did a good choice (or better, at least - anything involving the x86 is
inherently bad... ;-) ).

No need to comment on the rest you wrote. I'm not disagreeing.

Johnny

Re: Hard links on VMS ODS5 disks

<1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29497&group=comp.os.vms#29497

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:a64:b0:63d:30b8:ff8b with SMTP id ef4-20020a0562140a6400b0063d30b8ff8bmr997876qvb.13.1693322355698;
Tue, 29 Aug 2023 08:19:15 -0700 (PDT)
X-Received: by 2002:a63:9d83:0:b0:56a:f46:756c with SMTP id
i125-20020a639d83000000b0056a0f46756cmr4881456pgd.0.1693322355156; Tue, 29
Aug 2023 08:19:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 29 Aug 2023 08:19:14 -0700 (PDT)
In-Reply-To: <ucjhfn$88c$1@reader2.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
References: <u8ma5c$38rt0$2@dont-email.me> <u9pqr0$18nlg$2@dont-email.me>
<uciuuk$1rhnp$1@dont-email.me> <45fd1f30-55fb-4691-a561-e5941143a6fcn@googlegroups.com>
<ucjhfn$88c$1@reader2.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Tue, 29 Aug 2023 15:19:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2959
 by: John Reagan - Tue, 29 Aug 2023 15:19 UTC

On Monday, August 28, 2023 at 9:26:19 PM UTC-4, Dan Cross wrote:
> In article <45fd1f30-55fb-4691...@googlegroups.com>,
> John Reagan <xyzz...@gmail.com> wrote:
> >[big snip]
> >Macro doesn't use the LLVM optimizer (it doesn't use the GEM one either).. All the
> >branching between routines doesn't fit the high-level model.
> >
> >Macro does a limited job of pulling address computations out of loops if there are
> >free registers (and on x86, the answer is "almost never").
> >
> >With GEM, AMACRO/IMACRO gets the benefit of GEM's instruction level peephole
> >optimizer. That doesn't exist in that form for LLVM. So XMACRO today has several
> >"branches to branches" and is sloppy with x86 condition codes. However, we think
> >the microarchitecture and predictive execution takes care of those branches to branches
> >and the like.
> >
> >In general Macro-32 code is optimized by the human while typing it in.
> This begs a question: how useful are those optimizations? I
> imagine many are based on an execution environment that is not
> the actual target anymore; is it possible that something that
> was a clear win on VAX is a pessimization as implemented on
> x86?
>
> - Dan C.
I was mostly talking about doing things like common sub-expression (computing a value
once outside of a loop), doing clever shifts vs divide, etc. For knowing that some VAX
instructions are "faster" than other VAX instructions stopped being useful when moving
to Alpha. For instance, no integer divide on Alpha; no actual divide on Itanium; but both
kinds of divide on x86.

Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<ucla5f$2bgrm$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29499&group=comp.os.vms#29499

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
Date: Tue, 29 Aug 2023 17:33:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <ucla5f$2bgrm$2@dont-email.me>
References: <ucgkbf$1bupe$2@dont-email.me> <memo.20230828121501.19768b@jgd.cix.co.uk> <uci441$lgj$2@news.misty.com> <ucicoc$knn$1@reader2.panix.com> <uckthl$2m8$3@news.misty.com>
Injection-Date: Tue, 29 Aug 2023 17:33:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2ca4ff35034934da169edfc570c68245";
logging-data="2474870"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LquHFGGTRDQ5UKFwX4psaIE/OJcJU8C8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ECJ39DDNibwIaFvbHOuy57zDSHU=
 by: Simon Clubley - Tue, 29 Aug 2023 17:33 UTC

On 2023-08-29, Johnny Billquist <bqt@softjar.se> wrote:
>
> Oh, I agree that we're splitting hairs. But I do think DG went a bit
> further than AMD did, with the goal of being able to basically just move
> the binaries over and run them. Hence the two stacks, and all that ugliness.
> Yes, the OS might still need to set some things up, but I don't think
> it's completely comparable what DG did with what AMD did, just as it
> isn't the same as what DEC did.
>
> And with all that said, I do think DG made a bad choice. AMD basically
> did a good choice (or better, at least - anything involving the x86 is
> inherently bad... ;-) ).
>

And none of that compares to the extreme compatibility that IBM maintains
with its mainframe architecture. It's reported that you can _still_ run
S/360 application programs unchanged on modern mainframes...

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<uclaf0$at8$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29500&group=comp.os.vms#29500

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
Date: Tue, 29 Aug 2023 17:38:40 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uclaf0$at8$1@reader2.panix.com>
References: <ucgkbf$1bupe$2@dont-email.me> <uci441$lgj$2@news.misty.com> <ucicoc$knn$1@reader2.panix.com> <uckthl$2m8$3@news.misty.com>
Injection-Date: Tue, 29 Aug 2023 17:38:40 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="11176"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Tue, 29 Aug 2023 17:38 UTC

In article <uckthl$2m8$3@news.misty.com>,
Johnny Billquist <bqt@softjar.se> wrote:
>On 2023-08-28 16:59, Dan Cross wrote:
>> In article <uci441$lgj$2@news.misty.com>,
>> Johnny Billquist <bqt@softjar.se> wrote:
>>>[snip]
>>> I've tried to stay out, and don't want to get too deep in.
>>> But in a sense, my question/issue would be: Can you take a binary for
>>> x86 and run it without any "mode bit", or anything else, on an x86-64
>>> and it works?
>>
>> Provided you set up segmentation correctly, those binaries will
>> run just fine. You simply execute it in a 32-bit code segment,
>> with 32-bit data segments. Is a "mode" bit involved? Kinda
>> sorta, but that's an implementation detail. Usually the OS does
>> this for you; the user program doesn't care.
>
>Which is equally true for the PDP-11 mode bit on the VAX. ;-)

This is true.

>User programs just run. The OS is handling all the details on how to
>actually get the machine in the correct state.

This is also true, though I don't see any reason that the OS
couldn't set up 32-bit segments in addition to 64-bit segs and
let a user process jump between them, shifting some of the
burden to the application, if it wanted it. It'd be sort of a
silly exercise, though I doubt there's a technical limitation
there.

>> But this is a strawman argument that is, again, besides the
>> point I was making. I never said you don't have to take care
>> when running 32-bit binaries on a 64-bit system, nor did I say
>> that _every_ instruction is compatible between 32-bit and 64-bit
>> x86.
>
>Oh, I agree that we're splitting hairs. But I do think DG went a bit
>further than AMD did, with the goal of being able to basically just move
>the binaries over and run them. Hence the two stacks, and all that ugliness.
>Yes, the OS might still need to set some things up, but I don't think
>it's completely comparable what DG did with what AMD did, just as it
>isn't the same as what DEC did.

I agree with this. Certainly, what AMD did was not _exactly_
like what DG did, just as it wasn't exactly like what DEC did.
I just think that the AMD mechanism is more like DG in the sense
of allowing a 64-bit program to execute 32-bit instructions
without a mode switch.

>And with all that said, I do think DG made a bad choice. AMD basically
>did a good choice (or better, at least - anything involving the x86 is
>inherently bad... ;-) ).

Agreed.

AMD had the benefit of a few decades after both VAX and DG, and
likely the insight of engineers familiar with both. They chose
a middle path that, IMHO, is a good combination of both.

I also agree that x86 is a dumpster fire of bad design
encumbered by legacy otherwise.

- Dan C.

Re: Hard links on VMS ODS5 disks

<uclc1n$hl0$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29501&group=comp.os.vms#29501

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Tue, 29 Aug 2023 18:05:43 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uclc1n$hl0$1@reader2.panix.com>
References: <u8ma5c$38rt0$2@dont-email.me> <45fd1f30-55fb-4691-a561-e5941143a6fcn@googlegroups.com> <ucjhfn$88c$1@reader2.panix.com> <1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>
Injection-Date: Tue, 29 Aug 2023 18:05:43 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="18080"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Tue, 29 Aug 2023 18:05 UTC

In article <1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>,
John Reagan <xyzzy1959@gmail.com> wrote:
>On Monday, August 28, 2023 at 9:26:19 PM UTC-4, Dan Cross wrote:
>> In article <45fd1f30-55fb-4691...@googlegroups.com>,
>> John Reagan <xyzz...@gmail.com> wrote:
>> >[big snip]
>> >Macro doesn't use the LLVM optimizer (it doesn't use the GEM one either). All the
>> >branching between routines doesn't fit the high-level model.
>> >
>> >Macro does a limited job of pulling address computations out of loops if there are
>> >free registers (and on x86, the answer is "almost never").
>> >
>> >With GEM, AMACRO/IMACRO gets the benefit of GEM's instruction level peephole
>> >optimizer. That doesn't exist in that form for LLVM. So XMACRO today has several
>> >"branches to branches" and is sloppy with x86 condition codes. However, we think
>> >the microarchitecture and predictive execution takes care of those branches to branches
>> >and the like.
>> >
>> >In general Macro-32 code is optimized by the human while typing it in.
>> This begs a question: how useful are those optimizations? I
>> imagine many are based on an execution environment that is not
>> the actual target anymore; is it possible that something that
>> was a clear win on VAX is a pessimization as implemented on
>> x86?
>
>I was mostly talking about doing things like common sub-expression (computing a value
>once outside of a loop), doing clever shifts vs divide, etc. For knowing that some VAX
>instructions are "faster" than other VAX instructions stopped being useful when moving
>to Alpha. For instance, no integer divide on Alpha; no actual divide on Itanium; but both
>kinds of divide on x86.

That makes sense; thanks!

- Dan C.

Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<kl72ulFg0gpU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29507&group=comp.os.vms#29507

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
Date: Tue, 29 Aug 2023 16:32:22 -0400
Lines: 27
Message-ID: <kl72ulFg0gpU2@mid.individual.net>
References: <ucgkbf$1bupe$2@dont-email.me>
<memo.20230828121501.19768b@jgd.cix.co.uk> <uci441$lgj$2@news.misty.com>
<ucicoc$knn$1@reader2.panix.com> <uckthl$2m8$3@news.misty.com>
<ucla5f$2bgrm$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net aRLOSk5bsylFOOLvJmrcpAHg5SCECE47bg4lmrmr19sxdmUFya
Cancel-Lock: sha1:5z6RP+5grvbYdeDJjFdPteZ0hW8= sha256:HrT+Rml+ghvM4HNkUwGomi0lfxPohlh8iMbdlK3iBRQ=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Content-Language: en-US
In-Reply-To: <ucla5f$2bgrm$2@dont-email.me>
 by: bill - Tue, 29 Aug 2023 20:32 UTC

On 8/29/2023 1:33 PM, Simon Clubley wrote:
> On 2023-08-29, Johnny Billquist <bqt@softjar.se> wrote:
>>
>> Oh, I agree that we're splitting hairs. But I do think DG went a bit
>> further than AMD did, with the goal of being able to basically just move
>> the binaries over and run them. Hence the two stacks, and all that ugliness.
>> Yes, the OS might still need to set some things up, but I don't think
>> it's completely comparable what DG did with what AMD did, just as it
>> isn't the same as what DEC did.
>>
>> And with all that said, I do think DG made a bad choice. AMD basically
>> did a good choice (or better, at least - anything involving the x86 is
>> inherently bad... ;-) ).
>>
>
> And none of that compares to the extreme compatibility that IBM maintains
> with its mainframe architecture. It's reported that you can _still_ run
> S/360 application programs unchanged on modern mainframes...
>
> Simon.
>

I'm not positive as it has been a long time since I was really active
in that world but I think the same is true of Unisys and old 1100 code.

bill

Re: Hard links on VMS ODS5 disks

<ucm12m$2ehk3$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29513&group=comp.os.vms#29513

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Tue, 29 Aug 2023 20:04:38 -0400
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <ucm12m$2ehk3$3@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <u9pqr0$18nlg$2@dont-email.me>
<uciuuk$1rhnp$1@dont-email.me>
<45fd1f30-55fb-4691-a561-e5941143a6fcn@googlegroups.com>
<ucjhfn$88c$1@reader2.panix.com>
<1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Aug 2023 00:04:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="56547aa42fb1b99b503fc918aa1104af";
logging-data="2573955"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oPyFaeyA7dxYz6MPG56dbJLapQjbkD7I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:eF+NuFhtI4wit+GwgglOoEuCbO4=
In-Reply-To: <1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Wed, 30 Aug 2023 00:04 UTC

On 8/29/2023 11:19 AM, John Reagan wrote:
> On Monday, August 28, 2023 at 9:26:19 PM UTC-4, Dan Cross wrote:
>> In article <45fd1f30-55fb-4691...@googlegroups.com>,
>> John Reagan <xyzz...@gmail.com> wrote:
>>> Macro doesn't use the LLVM optimizer (it doesn't use the GEM one either). All the
>>> branching between routines doesn't fit the high-level model.
>>>
>>> Macro does a limited job of pulling address computations out of loops if there are
>>> free registers (and on x86, the answer is "almost never").
>>>
>>> With GEM, AMACRO/IMACRO gets the benefit of GEM's instruction level peephole
>>> optimizer. That doesn't exist in that form for LLVM. So XMACRO today has several
>>> "branches to branches" and is sloppy with x86 condition codes. However, we think
>>> the microarchitecture and predictive execution takes care of those branches to branches
>>> and the like.
>>>
>>> In general Macro-32 code is optimized by the human while typing it in.
>> This begs a question: how useful are those optimizations? I
>> imagine many are based on an execution environment that is not
>> the actual target anymore; is it possible that something that
>> was a clear win on VAX is a pessimization as implemented on
>> x86?
>>
> I was mostly talking about doing things like common sub-expression (computing a value
> once outside of a loop), doing clever shifts vs divide, etc. For knowing that some VAX
> instructions are "faster" than other VAX instructions stopped being useful when moving
> to Alpha. For instance, no integer divide on Alpha; no actual divide on Itanium; but both
> kinds of divide on x86.

I think of it like:
* the Macro-32 code ran acceptable fast on a VAX 780
* I don't believe the unoptimized Macro-32
on Alpha/Itanium/x86-64 could be improved more than x5
* newer systems are at least x1000 faster than a VAX 780
so the absolutely worst case scenario is that the unoptimized
Macro-32 is only x200 faster than on a VAX 780.

I guess we can live with that. :-)

Arne

Re: Hard links on VMS ODS5 disks

<ucmas2$2jk8h$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29518&group=comp.os.vms#29518

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Tue, 29 Aug 2023 22:52:04 -0400
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <ucmas2$2jk8h$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me> <u9pqr0$18nlg$2@dont-email.me>
<uciuuk$1rhnp$1@dont-email.me>
<45fd1f30-55fb-4691-a561-e5941143a6fcn@googlegroups.com>
<ucjhfn$88c$1@reader2.panix.com>
<1265c2b4-565b-4f6f-ab73-bac58ddbfde4n@googlegroups.com>
<ucm12m$2ehk3$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Aug 2023 02:51:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="163997f299435da09f5f339a42e2fd06";
logging-data="2740497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rEdzB+nLGtASahL1gy06pBiYxgnj2fhw="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:ag4mOt7k8giwgy43v6eZJvPKJRk=
In-Reply-To: <ucm12m$2ehk3$3@dont-email.me>
 by: Dave Froble - Wed, 30 Aug 2023 02:52 UTC

On 8/29/2023 8:04 PM, Arne Vajhøj wrote:
> On 8/29/2023 11:19 AM, John Reagan wrote:
>> On Monday, August 28, 2023 at 9:26:19 PM UTC-4, Dan Cross wrote:
>>> In article <45fd1f30-55fb-4691...@googlegroups.com>,
>>> John Reagan <xyzz...@gmail.com> wrote:
>>>> Macro doesn't use the LLVM optimizer (it doesn't use the GEM one either).
>>>> All the
>>>> branching between routines doesn't fit the high-level model.
>>>>
>>>> Macro does a limited job of pulling address computations out of loops if
>>>> there are
>>>> free registers (and on x86, the answer is "almost never").
>>>>
>>>> With GEM, AMACRO/IMACRO gets the benefit of GEM's instruction level peephole
>>>> optimizer. That doesn't exist in that form for LLVM. So XMACRO today has
>>>> several
>>>> "branches to branches" and is sloppy with x86 condition codes. However, we
>>>> think
>>>> the microarchitecture and predictive execution takes care of those branches
>>>> to branches
>>>> and the like.
>>>>
>>>> In general Macro-32 code is optimized by the human while typing it in.
>>> This begs a question: how useful are those optimizations? I
>>> imagine many are based on an execution environment that is not
>>> the actual target anymore; is it possible that something that
>>> was a clear win on VAX is a pessimization as implemented on
>>> x86?
>>>
>> I was mostly talking about doing things like common sub-expression (computing
>> a value
>> once outside of a loop), doing clever shifts vs divide, etc. For knowing that
>> some VAX
>> instructions are "faster" than other VAX instructions stopped being useful
>> when moving
>> to Alpha. For instance, no integer divide on Alpha; no actual divide on
>> Itanium; but both
>> kinds of divide on x86.
>
>
> I think of it like:
> * the Macro-32 code ran acceptable fast on a VAX 780
> * I don't believe the unoptimized Macro-32
> on Alpha/Itanium/x86-64 could be improved more than x5
> * newer systems are at least x1000 faster than a VAX 780
> so the absolutely worst case scenario is that the unoptimized
> Macro-32 is only x200 faster than on a VAX 780.
>
> I guess we can live with that. :-)
>
> Arne
>
>

Understand, I'm not knocking CPU performance. It is important. But, it's not
everything. Some applications can be I/O bound, and, while caching can make
huge differences there, the app is still about I/O. At such a time, is all this
fuss about the efficiency of Macro-32 meaningful?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<180ba20d-7279-47c3-a43f-ac272466d33an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29520&group=comp.os.vms#29520

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:10a:b0:403:a627:8b79 with SMTP id u10-20020a05622a010a00b00403a6278b79mr41848qtw.13.1693384537587;
Wed, 30 Aug 2023 01:35:37 -0700 (PDT)
X-Received: by 2002:a17:90a:c908:b0:268:5c5d:25cf with SMTP id
v8-20020a17090ac90800b002685c5d25cfmr385337pjt.4.1693384537124; Wed, 30 Aug
2023 01:35:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 30 Aug 2023 01:35:36 -0700 (PDT)
In-Reply-To: <uci441$lgj$2@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <ucgkbf$1bupe$2@dont-email.me> <memo.20230828121501.19768b@jgd.cix.co.uk>
<uci441$lgj$2@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <180ba20d-7279-47c3-a43f-ac272466d33an@googlegroups.com>
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Wed, 30 Aug 2023 08:35:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4349
 by: terry-...@glaver.org - Wed, 30 Aug 2023 08:35 UTC

On Monday, August 28, 2023 at 8:32:05 AM UTC-4, Johnny Billquist wrote:
> I've tried to stay out, and don't want to get too deep in.
> But in a sense, my question/issue would be: Can you take a binary for
> x86 and run it without any "mode bit", or anything else, on an x86-64
> and it works?

Sure:

(0:283) 165h:~terry% cat test.c
#include <stdio.h>
int main() {
printf("Hello, cruel world...\n");
return 0;
} (0:284) 165h:~terry% cc -o test test.c
(0:285) 165h:~terry% file test
test: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked,
interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2 (1302507), FreeBSD-style, with
debug_info, not stripped
(0:286) 165h:~terry% ./test
Hello, cruel world...
(0:287) 165h:~terry% cc -o test -m32 -DCOMPAT_32BIT -L/usr/lib32 -B/usr/lib32 test.c
(0:288) 165h:~terry% file test
test: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked,
interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2 (1302507), FreeBSD-style, with
debug_info, not stripped
(0:289) 165h:~terry% ./test
Hello, cruel world...

Yes, it also works for programs compiled before there was a 64-bit architecture:

(0:2) 165h:~/foo/stand% file sh
sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked,
for FreeBSD 5.3, stripped
(0:3) 165h:~/foo/stand% ./sh
$

I have some 100K+ LoC monstrosities that are not 32-bit clean that I
still compile and run in 32-bit mode.

True, this is under an operating system and the OS relies on ELF Notes
in the executable to set up the appropriate 32-bit runtime. But since no
current x86 processor starts up in 64-bit mode (you have to set things
up and get there first) that seems fair.

> Oh, and with that said. The DG way was *horrible*. You had two different
> stacks, a total of 7 registers to deal with the two stacks (don't even
> ask), if I remember right even duplicates of similar instructions for if
> you wanted to make use of the larger address space and registers.
> It was *not* something I would want to throw on anyone. The VAX way was
> much better, and that compatibility mode could be dropped, or shifter
> over to software when it became less important, and leave the actual VAX
> clean and nice (relatively speaking).

There was very little new stuff being written in DG assembler by that
point - DG had switched to DG/L for operating system implementation
and all that were left were (presumably) some small routines to do stuff
that couldn't be implemented in DG/L. At least that's what I heard from
inside DG - RDOS and XBASIC didn't go in for any of that new-fangled
HLL stuff. 8-}

By the time DEC got to IA-64 (many years later, of course) pretty much
the same was true for them - they just 'cheated' and made Macro-32
a compiler.

One extremely popular platform these days, Espressif's ESP-32, doesn't
even have a publicly-documented assembly language.

Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]

<ucmvj3$jie$3@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=29521&group=comp.os.vms#29521

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VAX vs. MV/8000 [was Re: Hard links on VMS ODS5 disks]
Date: Wed, 30 Aug 2023 10:45:23 +0200
Organization: MGT Consulting
Message-ID: <ucmvj3$jie$3@news.misty.com>
References: <ucgkbf$1bupe$2@dont-email.me>
<memo.20230828121501.19768b@jgd.cix.co.uk> <uci441$lgj$2@news.misty.com>
<180ba20d-7279-47c3-a43f-ac272466d33an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Aug 2023 08:45:23 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="20046"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <180ba20d-7279-47c3-a43f-ac272466d33an@googlegroups.com>
 by: Johnny Billquist - Wed, 30 Aug 2023 08:45 UTC

On 2023-08-30 10:35, terry-...@glaver.org wrote:
> On Monday, August 28, 2023 at 8:32:05 AM UTC-4, Johnny Billquist wrote:
>> I've tried to stay out, and don't want to get too deep in.
>> But in a sense, my question/issue would be: Can you take a binary for
>> x86 and run it without any "mode bit", or anything else, on an x86-64
>> and it works?
>
> Sure:

[...]

Well. Unfortunately, that don't prove a thing. As the OS knows what kind
of binary it is going to execute, it can set things up in all kind of
ways for you.

Basically, if we imagine that we had an old VAX, with PDP-11
compatibility, and we built the program for either machine, and the OS
had the understanding, your example would work just fine there too.
And we know that the VAX have a compatibility bit for the PDP-11 mode.

But I think we already probed this enough. :-)

Johnny

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor