Deutsch English Français Italiano |
<2024Sep4.100551@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.arch Subject: Re: Computer architects leaving Intel... Date: Wed, 04 Sep 2024 08:05:51 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 34 Message-ID: <2024Sep4.100551@mips.complang.tuwien.ac.at> References: <vajo7i$2s028$1@dont-email.me> <memo.20240827205925.19028i@jgd.cix.co.uk> <valki8$35fk2$1@dont-email.me> <2644ef96e12b369c5fce9231bfc8030d@www.novabbs.org> <vam5qo$3bb7o$1@dont-email.me> <2f1a154a34f72709b0a23ac8e750b02b@www.novabbs.org> <vaoqcf$3r1u3$1@dont-email.me> <vavgq7$12u29$1@dont-email.me> <vb002r$156ge$1@dont-email.me> <vb7stc$3fn7b$1@dont-email.me> <vb85qa$3h0j0$1@dont-email.me> Injection-Date: Wed, 04 Sep 2024 10:19:43 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7f354cec1989e6b3ef395243e88b36d5"; logging-data="3947248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mt6l6wA906FbErsqG2Z+N" Cancel-Lock: sha1:ByTflPD3jmr5WuygiRbNj/hFtx8= X-newsreader: xrn 10.11 Bytes: 2750 BGB <cr88192@gmail.com> writes: >Otherwise, annoying: >Despite configuring GCC to use RV64G, it builds its C library as RV64GC >and is like "well, close enough". This may be an artifact of bootstrapping. At some point I built a new version of gcc for our Alphas. We had machines without the BWX extensions and machines with the BWX extension. Of course I built gcc on the fastest machine we had, one with BWX. And then I found out that the resulting compiler binary would not run on the machines without BWX. Ok, so build it again, taking care to configure it to not use BWX in bootstrapping itself. However, somehow libgcc got inherited from the previous build, so the resulting compiler would run on machines without BWX, but the binaries it produced would not. My guess is that something similar happened for libgcc in your case. I did another round of rebuilding, making sure that libgcc was rebuilt from scratch without BWX. I don't remember all that was involved; maybe I just did this build on a machine that does not have BWX. [Risc-V compressed instructions] >Which is annoying because seemingly nearly every instruction has its own >encoding scheme for the immediate fields. It's designed for easy hardware decoding, so maybe you just need to discover the ideas behind that and put them into your decoder. - anton -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>