[haiku-development] Re: Fixing get_cpu_model_string(), Ticket 3541

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 20 Jun 2009 17:40:29 +0200 CEST

Christian Packmann <Christian.Packmann@xxxxxx> wrote:
> I'm currently breaking down the information in a "logical" format, 
> i.e. I 
> group all flags for MMX/SSE/3DNow! in one uint32 or string. This 
> makes it 
> easier for the programmer when needing specific info, as all needed 
> information is stored in one place. For a K10, the generated string 
> looks 
> like this:
> "MMX 3DNow! 3DNow!+ SSE SSE-Integer SSE2 SSE3 SSE4a SSE128 MOVU 
> 3DNow!Prefetch"

Strings are usually the last thing you want to mess with in an 
(suggested) API like this.

Bye,
   Axel.


Other related posts: