Deutsch English Français Italiano |
<20241223180548.0000239c@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: transpiling to low level C Date: Mon, 23 Dec 2024 18:05:48 +0200 Organization: A noiseless patient Spider Lines: 43 Message-ID: <20241223180548.0000239c@yahoo.com> References: <vjlh19$8j4k$1@dont-email.me> <vjn9g5$n0vl$1@raubtier-asyl.eternal-september.org> <vjnhsq$oh1f$1@dont-email.me> <vjnq5s$pubt$1@dont-email.me> <vjpn29$17jub$1@dont-email.me> <86ikrdg6yq.fsf@linuxsc.com> <vk78it$77aa$1@dont-email.me> <vk8a0e$l8sq$1@paganini.bofh.team> <vk9q1p$oucu$1@dont-email.me> <20241223002048.00004d3c@yahoo.com> <UwfaP.15429$62H.7203@fx36.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Mon, 23 Dec 2024 17:06:08 +0100 (CET) Injection-Info: dont-email.me; posting-host="d671c883c82cc5192b50168e923ee646"; logging-data="1194624"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6aKZTvO/k8l1pyrkNEnQLbQS6iy70/Xs=" Cancel-Lock: sha1:KjjMIuNpkUeeKr5fwOrJ7OXdnTs= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 2750 On Mon, 23 Dec 2024 15:41:40 GMT scott@slp53.sl.home (Scott Lurndal) wrote: > Michael S <already5chosen@yahoo.com> writes: > >On Sun, 22 Dec 2024 20:41:44 +0100 > >Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote: > > > > >> > >> Whether you have the test in an 'if', or in a ternary '?:', or > >> use it through a bool-int coercion as integer index to an indexed > >> function[-pointer] table; it's a conditional branch based on the > >> ("Test Set") predicate i<n. You showed in your example how to get > >> rid of the 'if' symbol, but you could - as expected - not get rid > >> of the actual test that is the substance of a conditional branch. > >> > >> I think that is what is to expect by the theory and the essence of > >> the point I tried to make. > >> > >> Janis > >> > > > > > >You make no sense. I am starting to suspect that the reason for it > >is ignorance rather than mere stubbornness. > > > >https://godbolt.org/z/EKo5rrYce > >Show me conditional branch in the right pane. > > > > The 'C' in 'CSET' is short for conditional. Because > the branch is folded into the compare doesn't mean it > isn't there. No, branch is not "folded". It is absent. CSET is an ALU operation. The logical-arithmetic nature of comparison operator is even more pronounced in code that gcc generates for POWER https://godbolt.org/z/8Gs9s6nEo