Article View: comp.arch
Article #772Re: Large constants in RISC
From: Anton Ertl
Date: Mon, 16 Nov 2026 07:22
Date: Mon, 16 Nov 2026 07:22
22 lines
2166 bytes
2166 bytes
Thomas Koenig <tkoenig@netcologne.de> writes: >Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb: >> 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. Which one? And does it have faster implementations than ARM A64 which does not have such a feature last I looked. >They can save quite something on TOC >for pc-relative code. TOC? - anton -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID:
<2026Nov16.082231@mips.complang.tuwien.ac.at>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<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> <11ddbps$34jn8$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!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: Mon, 16 Nov 2026 07:22:31 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 22 Message-ID: <2026Nov16.082231@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> <6af911ea.18530156@news.eternal-september.org> <2026Nov15.173606@mips.complang.tuwien.ac.at> <11ddbps$34jn8$1@dont-email.me> Injection-Date: Mon, 16 Nov 2026 07:24:47 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3538802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AUcrrqHBNerOy05aRsoNI"; posting-host="162378f659f64fe0e343a03d3521a08a" Cancel-Lock: sha1:ogLnjNiMJtXohfJD+2y/igl9Yr0= sha256:tZt+m6yHYXUENFUGQ+jarrYzOXbDaYerlC88xi1+N74= sha1:MRyjotYPeNTzbjsOVqebC4zwI+s= sha256:8n3j+NiwK8FP5IK+CinbLNZnXst5oI2IMNIhM6fTfgo= X-newsreader: xrn 10.11