Path: csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: comp.arch Subject: Re: Pseudo-Immediates as Part of the Instruction Date: Sun, 03 Aug 2025 19:23:50 -0400 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: <106ilfl$ep9g$1@dont-email.me> <106ivqh$ibqq$1@dont-email.me> <106ja4b$kt2u$1@dont-email.me> <106kkph$vosi$2@dont-email.me> <106ln37$17juk$1@dont-email.me> <106loil$1833q$1@dont-email.me> <106ms5q$1enk3$1@dont-email.me> <106ofaa$1m75g$2@dont-email.me> <106oh8h$1q7ng$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 03 Aug 2025 23:23:52 +0000 (UTC) Injection-Info: dont-email.me; posting-host="2753c224bb7cd688554393c77c0e1ba2"; logging-data="1968798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VvRzOJ0O8dxeEhwDCdiBBBI9bcqzvPOM=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:1qJBKw1eRrUL3zMayQrtS4oHBiA= sha1:EOclhGIuDwRG03s+4RmRD9YlBGE= Xref: csiph.com comp.arch:112854 > Being fit for a number of hand-written asm kernels does not a generally > useful cpu make. Beside bignums, other "kernels" worth trying might be something like a simple balanced binary tree, including some operation that requires recursion, like counting the number of leaves. And of course, trying to get a compiler to generate code vaguely similar to the ASM you wrote by hand is always a good test, tho it may take more effort. Stefan