🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #543

Re: mainframe ARM, packaging, Another Kick at Concertina III

#543
From: Anton Ertl
Date: Thu, 05 Nov 2026 08:06
37 lines
2288 bytes
Thomas Koenig <tkoenig@netcologne.de> writes:
[s390x]
>But a prompt looks pretty much the same on any Linux distribution.

The disassembly looks different, though:

: squared dup * ;
see-code squared

outputs:

<squared>     dup    1->2 
    $3FF834987F2: lgr   %r6,%r5
<squared+$8>  *    2->1 
    $3FF834987F6: msgr  %r5,%r6
<squared+$10> ;s    1->1 
    $3FF834987FA: lg    %r11,0(%r7)
    $3FF83498800: la    %r7,8(%r7)
    $3FF83498804: lg    %r2,0(%r11)
    $3FF8349880A: br    %r2

In some respects, it's quite similar, though.  Here's AMD64:

<squared>     dup    1->2 
   $7F588AC73A27: mov    %r13,%r15
<squared+$8>  *    2->1 
   $7F588AC73A2A: imul   %r15,%r13
<squared+$10> ;s    1->1 
   $7F588AC73A2E: mov    (%r14),%rbx
   $7F588AC73A31: add    $0x8,%r14
   $7F588AC73A35: mov    (%rbx),%rax
   $7F588AC73A38: jmp    *%rax

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov5.090644@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11c82ce$htg$1@gal.iecc.com> <memo.20261101232107.2644m@jgd.cix.co.uk> <11cfmvf$rlm8$1@dont-email.me> <11cfo8d$26g5$1@gal.iecc.com> <11cfrqn$tkeb$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: mainframe ARM, packaging, Another Kick at Concertina III
Date: Thu, 05 Nov 2026 08:06:44 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 37
Message-ID: <2026Nov5.090644@mips.complang.tuwien.ac.at>
References: <11c82ce$htg$1@gal.iecc.com> <memo.20261101232107.2644m@jgd.cix.co.uk> <11cfmvf$rlm8$1@dont-email.me> <11cfo8d$26g5$1@gal.iecc.com> <11cfrqn$tkeb$1@dont-email.me>
Injection-Date: Thu, 05 Nov 2026 08:12:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1464254"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX192lkBhP5cFPVbHyYxEpLwX"; posting-host="ec602f8d4258d5d5cba8c8119085b07d"
Cancel-Lock: sha1:Mg4dGiNxnl3Ju2EjS7Kn2Q/J/UM= sha256:2fF7iNEV4DQx91oo2l3z5aGdZKtYmGpFPQstbWwQRtw=
	sha1:xhOwZtnRRs9uLdbt3/AZSK4BI48= sha256:AdawWxGO4VEsa8xmfNOoy/aSx2/xxdFGr9wFdr0DLoE=
X-newsreader: xrn 10.11