Re: Cray style vectors

Liste des GroupesRevenir à c arch 
Sujet : Re: Cray style vectors
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 12. Mar 2024, 20:08:18
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <2f8eba5657329bba98d76cc34d87ae77@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Rocksolid Light
Thomas Koenig wrote:

Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
Michael S <already5chosen@yahoo.com> writes:
As discussed here just recently, there are good reason to avoid
'unsigned' array indices in performance-oriented programs running under
IL32P64 or I32LP64 C environments. Everything else is preferable -
int, ptrdiff_t, size_t.
>
If Fortran makes unsigned overflow illegal, Fortran compilers can
perform the same shenanigans for unsigned that C compilers do for
signed integers; so if signed int really is preferable because of
these shenanigans, unsigned with the same shenanigans would be
preferable, too.

One problem is that, without 2^n modulo, something like a
multiplicative hash would be illegal.
In HW we can reverse the bit order of the fields at zero cost making
hashes that "whiten" the data better.

People would do it anyway, ignoring the prohibition, because it
is so useful, and subsequent hilarity will ensue.

Date Sujet#  Auteur
11 Mar 24 * Re: Cray style vectors10Thomas Koenig
11 Mar 24 `* Re: Cray style vectors9Michael S
11 Mar 24  +* Re: Cray style vectors7Thomas Koenig
11 Mar 24  i`* Re: Cray style vectors6Michael S
11 Mar 24  i +* Re: Cray style vectors2Thomas Koenig
12 Mar 24  i i`- Re: Cray style vectors1Thomas Koenig
12 Mar 24  i `* Re: Cray style vectors3Anton Ertl
12 Mar 24  i  `* Re: Cray style vectors2Thomas Koenig
12 Mar 24  i   `- Re: Cray style vectors1MitchAlsup1
11 Mar 24  `- Re: Cray style vectors1David Brown

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal