🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #731

Re: Large constants in RISC

#731
From: Anton Ertl
Date: Sat, 14 Nov 2026 19:10
18 lines
1910 bytes
antispam@fricas.org (Waldek Hebisch) writes:
>I read what he wrote and I do not doubt that code having constants
>in instructions is faster.

AMD64 has large constants (or at least better support for large
constants than ARM A64), yet according to reviews ARM A64
implementations form Apple and IIRC also Qualcomm offer better
performance than the best AMD64 implementations.

>What is not clear how frequently
>code with explicit constants appears in real life.

That can be and has been measured, and IIRC results have been posted here.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov14.201017@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11d76uq$11cdc$1@paganini.bofh.team> <11d7ct8$17akn$1@dont-email.me> <11d7ih2$11orr$1@paganini.bofh.team> <11d9d0d$1rsce$1@dont-email.me> <11d9tq8$1b9c1$2@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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: Large constants in RISC
Date: Sat, 14 Nov 2026 19:10:17 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 18
Message-ID: <2026Nov14.201017@mips.complang.tuwien.ac.at>
References: <11d76uq$11cdc$1@paganini.bofh.team> <11d7ct8$17akn$1@dont-email.me> <11d7ih2$11orr$1@paganini.bofh.team> <11d9d0d$1rsce$1@dont-email.me> <11d9tq8$1b9c1$2@paganini.bofh.team>
Injection-Date: Sat, 14 Nov 2026 19:14:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2243294"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX190jzj2vQch/xqUN3dEtM2U"; posting-host="1f8070772fba74d92d9e990a0b816aef"
Cancel-Lock: sha1:DDFxg0X3dzZeURjDLCTJ93NbEWQ= sha256:Ug1DdoFkZ3+NOuDUWgy/J5RXwMuzLFXWOdZpvi9chAY=
	sha1:S87zqHwDL4+ywY+B14wWULZOnhc= sha256:6BYE0vfxnSio+mOsN0gEtQCWRLTFiLnBzewRqlqxDRc=
X-newsreader: xrn 10.11