Deutsch English Français Italiano |
<vio9oj$ei97$7@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.arch Subject: Re: Keeping other stuff with addresses Date: Tue, 3 Dec 2024 17:03:15 -0800 Organization: A noiseless patient Spider Lines: 26 Message-ID: <vio9oj$ei97$7@dont-email.me> References: <memo.20241128153105.12904U@jgd.cix.co.uk> <vijc3q$33feh$1@dont-email.me> <vilkrn$3k21l$15@dont-email.me> <jwvcyi87lva.fsf-monnier+comp.arch@gnu.org> <vini47$sgi$1@gal.iecc.com> <951afc08afa6bb1ba1b14b54551af7ba@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 04 Dec 2024 02:03:16 +0100 (CET) Injection-Info: dont-email.me; posting-host="18f532fff7cb0dbc37a1aea16bf9bfbd"; logging-data="477479"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tlsG9+r9boDW3ESEYqM/i8Yw2ZokS7xU=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1J4z5jUeCKp8FicsJA4/bSf2XxI= In-Reply-To: <951afc08afa6bb1ba1b14b54551af7ba@www.novabbs.org> Content-Language: en-US Bytes: 2280 On 12/3/2024 11:22 AM, MitchAlsup1 wrote: > On Tue, 3 Dec 2024 18:19:51 +0000, John Levine wrote: > >> According to Stefan Monnier <monnier@iro.umontreal.ca>: >>>> another way to steal bits is over alignment. >>> >>> Yup. I keep lamenting that Alpha didn't go for bit-addressed memory, >>> which would have given us 3 extra free bits from alignment (as well as >>> allowing pointers to bits and bitfields). >> >> I thought STRETCH persuaded people that bit addressable memory was a bad >> idea. > > With the address space STRETCH had bit addressability IS a VERY bad > Idea. > > We now have people (again) using the top bits of pointers for "special > things". > > Thus the Ferris wheel of invention is caught in a loop. Stealing bit's wrt say, lock-free algorithms is usually about stealing from a pointer "value". think about C++'s std::uintptr_t, for a moment... Iirc, it may be optional, well, stealing bits from a pointer _value_ is non portable in and of itself. Although, they can be very useful, indeed... :^)