From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4a42c94ab76fbde82cef34ee2af2c8f4.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199802251944.OAA27741@mail-out-1.tiac.net> Date: Wed, 25 Feb 1998 14:51:36 -0500 From: Uncle George Subject: Re: Boolean & alpha &X11R6 et al 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