🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #749

Re: Large constants in RISC

#749
From: Anton Ertl
Date: Sun, 15 Nov 2026 07:34
18 lines
2051 bytes
antispam@fricas.org (Waldek Hebisch) writes:
>What I wrote was specifically
>in context of floating point constants.

SSE2 (used by default on AMD64) accesses FP constants as normal memory
operands.  That includes FP masks, as used for FP negation and FP
absolute.

Back to constants in GPRs: On Alpha the constant table is also used
for loading the addresses of functions in a different compilation
unit, because bsr can only branch within IIRC 22 bits of relative
address, and the register-indirect jsr is used for other calls.  This
kind of stuff has the potential to influence the statistics.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov15.083407@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> <2026Nov14.201017@mips.complang.tuwien.ac.at> <11daoou$1cibq$1@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: Sun, 15 Nov 2026 07:34:07 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 18
Message-ID: <2026Nov15.083407@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> <2026Nov14.201017@mips.complang.tuwien.ac.at> <11daoou$1cibq$1@paganini.bofh.team>
Injection-Date: Sun, 15 Nov 2026 07:43:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2689317"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+1/AzNyJTLRPc8IVTQvN5C"; posting-host="c546d9c3efc054d217948ebb9c0ff5c8"
Cancel-Lock: sha1:eypvY5JNBFS4/rJAoeaTjcoFoTM= sha256:5GNMHvu51RV3cXJq0IY/mH+7pkSfLDpQe7U/a52eM/8=
	sha1:c0JaHQKX5d/8b3gQ4+49jmdjWws= sha256:tLAFhw7j7Ewx7FFItqcuiWtPF2N7JKbVSU5Yanial6g=
X-newsreader: xrn 10.11