Subject: Re: 'union cpuprid': why bother with bitfields?
To: Chris G. Demetriou <cgd@sibyte.com>
From: Simon Burge <simonb@netbsd.org>
List: port-mips
Date: 07/27/2000 11:38:39
Chris G. Demetriou wrote:

> Why bother with bitfields in the 'cpuprid' in arch/mips/locore.h?

They appear to be at least 3 years old - was that before the consensus
not to use bitfields?

> (it seems to me the code would be generally better if it just used
> shifts & masks, and i've got code to do it that way, but don't want to
> change it w/o asking... 8-)

Personally, I'd say "go for it".

Simon.