From: Uncle George <gatgul@voicenet.com>
Subject: Re: Boolean & alpha &X11R6 et al
Date: Wed, 25 Feb 1998 14:51:36 -0500 [thread overview]
Message-ID: <4a42c94ab76fbde82cef34ee2af2c8f4.axp-list@archive.invalid> (raw)
as of yet there are no char fetch/store instructions for the alpha gcc compiler ( for the
21164 processor there are instructions, but compiler hasn't been educated yet )
u in essence have to:
1) fetch a long
2) isolate the char in the long
3) test the character.
4) do ur branch
( it is much better written in the assembler book )
for storing u have to
1) fetch the long
2) mask out the char in the long
3) or in the new value
4) store the long
gat
Michal Jaegermann wrote:
> >
> > how lomg does it take to do a Boolean test using char, how long for int, or for that
> > matter a long.
>
> On an assembler level probably just about the same (jump on a value
> of a non-zero status flag), but I did not check that and I am very far
> from beeing an Alpha assmebler guru. :-)
>
> If storing boolean characters in structures used by X is underneath
> all these "unaligned access" traps from X, then a change could have
> a performance impact. But this hypothesis would have to be tested
> first.
>
> Michal
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1998-02-25 19:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-25 19:51 Uncle George [this message]
[not found] <34F44DD6.2E6E6B4@voicenet.com>
1998-02-25 18:20 ` Boolean & alpha &X11R6 et al Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-02-25 16:59 Uncle George
1998-02-25 16:52 Richard Gorton
1998-02-25 16:44 Richard Gorton
1998-02-25 16:32 Uncle George
1998-02-25 16:26 Uncle George
1998-02-25 14:58 Stefan Schroepfer
1998-02-25 13:59 Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox