[haiku-bugs] Re: [Haiku] #8318: transmeta crusoe: Illegal instruction in libGL.so

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Mon, 06 Feb 2012 15:45:14 -0000

#8318: transmeta crusoe: Illegal instruction in libGL.so
   Reporter:  cb88             |      Owner:  kallisti5
       Type:  bug              |     Status:  assigned
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/OpenGL Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  x86

Comment (by kallisti5):


 09:34 < umccullough> kallisti5, so you can use -mtune=i586 or
 09:35 < umccullough> hopefully the mmx/sse code is in ASM
 09:36 < umccullough> or, just use -mtune=generic i guess
 09:36 < umccullough> but that one is ambiguous IMO
 09:36 < umccullough> sounds like it targets i686
 09:38 < umccullough> or, you can -march=i586 -mtune=i686 which hopefully
 makes compatible code that tries to optimize for 686
 09:39 < umccullough> on gcc2, i think it's a little muddier
 09:42 <@DeadYak> umccullough: that's precisely what it does, on gcc2
 that'd be -march=pentium -mcpu=pentiumpro
 09:43  * kallisti5 takes notes
 09:43 <@DeadYak> -march restricts the instruction set it's allowed to use,
 -mcpu/-mtune tries to fine tune for that particular model and up's
                  pipelines within the constraints of -march

Ticket URL: <http://dev.haiku-os.org/ticket/8318#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: