Article View: comp.arch
Article #742Re: Large constants in RISC
From: John Savard
Date: Sun, 15 Nov 2026 02:05
Date: Sun, 15 Nov 2026 02:05
35 lines
2728 bytes
2728 bytes
On Sat, 14 Nov 2026 19:10:17 GMT, anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote: >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. Why do you say "yet", given that support for large constants is not something that mitigates against performance? Oh, I'm sorry: I misread what you wrote. I assumed ARM A64 had the better support for large constants, and didn't see the letters on the screen in front of me. However, support for large constants, while it contributes to better performance, is just one factor out of many. AMD64 has a baroque instruction set, so in an ARM A64 chip, a larger proportion of the transistors are doing useful work. When power and heat are the limiting factors, that should matter. But what I would say instead of what you said would be... "AMD64 has a huge market for powerful desktop computers and servers, while the only big market for ARM A64 is smartphones, and yet according to reviews..." ...because, at least up until very recently, Intel has had so much money to spend that it could afford to engineer its chips so cleverly as to make up for the CISC versus RISC disadvantage. John Savard
Technical Details
Message-ID:
<6af911ea.18530156@news.eternal-september.org>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-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>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: quadibloc@invalid.com (John Savard) Newsgroups: comp.arch Subject: Re: Large constants in RISC Date: Sun, 15 Nov 2026 02:05:09 GMT Organization: A noiseless patient Spider Lines: 35 Message-ID: <6af911ea.18530156@news.eternal-september.org> 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> Injection-Date: Sun, 15 Nov 2026 02:05:09 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2561858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YOOHi4iQ3zTB5LS+u/Td4qGZZ5qy0jZ0="; posting-host="ddc300d73b1664759c730a6e52f692cf" Cancel-Lock: sha1:WQi1kis+cSRAYyRTNNWuXC+MAMM= sha256:9CINMj9/N+QF+t6//2BkuF0QomAe3jLPteaADvv/VhU= sha1:KqJMewlK/wT/LG/7wNSppRuFFuY= sha256:gqdEfoQNCJwKputs0B1IU0zf/xDyoXZ80A2MNHHugZM= X-Newsreader: Forte Free Agent 1.1/32.230