🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #771

Re: Large constants in RISC

#771
From: Thomas Koenig
Date: Sun, 15 Nov 2026 22:30
20 lines
2114 bytes
Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:

> And included in the "baroque" instruction set are instructions with
> 32-bit immediate operands, and a mov instruction with a 64-bit
> immediate operand.
>
> In any case, there is no empirical evidence "that having [large]
> constants in instructions is faster."  And the weak evidence that we
> currently have, points in the other direction.  So we have every
> reason to doubt that claim.

If you want data, you can look at a RISC architecture which has
adopted 34-bit constants.  They can save quite something on TOC
for pc-relative code.


-- 
This USENET posting was made without artificial intelligence,
artificial impertinence, artificial arrogance, artificial stupidity,
artificial flavorings or artificial colorants.
Technical Details
Message-ID: <11ddbps$34jn8$1@dont-email.me>
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> <2026Nov14.201017@mips.complang.tuwien.ac.at> <6af911ea.18530156@news.eternal-september.org> <2026Nov15.173606@mips.complang.tuwien.ac.at>

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: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.arch
Subject: Re: Large constants in RISC
Date: Sun, 15 Nov 2026 22:30:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <11ddbps$34jn8$1@dont-email.me>
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>
 <2026Nov14.201017@mips.complang.tuwien.ac.at>
 <6af911ea.18530156@news.eternal-september.org>
 <2026Nov15.173606@mips.complang.tuwien.ac.at>
Injection-Date: Sun, 15 Nov 2026 22:30:21 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3297000"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+tQpn1TnONDruR3DRRaT47NPFp7tAb6To="; posting-host="c01236227eea1b8f139016af6317dcb3"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:OdFQivvLXs3F9csZ/wwQ6hp2Nxo= sha256:An5KPUb9D1e/8wo/FgZ8PiQo7zT3FiGhG30HlA31XTQ=
	sha1:GW9LGQJCCc1HgFio2HhzFYn1WCk= sha256:yhsjfthHTnEefE7Xt3Hlt9mZndnwN35rO7ORq7Xsy4M=