[haiku-development] Re: Tricks to get SSE working??

  • From: Clemens Zeidler <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 27 Mar 2012 08:15:00 +1300

On Tue, 27 Mar 2012 08:12:12 +1300, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:


On 26.03.2012 04:11, Joseph Groover wrote:
Sorry, I should have been specific.

mmintrin.h is not part of the API (but I have a copy), but setting -msse
(or -msse[x]) returns:

g++ -c main.cpp -I./ -I- -O0 -g -Wall -Wno-multichar
-Wno-ctor-dtor-privacy -march=i686 -msse -o "objects/main.o"
ccqplus: Invalid option `sse'

Do I need to use gcc4? That would be fine in a pinch, but I'm not sure
running the entire app_server as gcc4 would be desirable...

You would need to use GCC4 indeed. However, writing them directly in assembly works with GCC2, too :-)

Bye,
    Axel.



shouldn't memcpy use the fasted method by itself? or is that not efficiently possible?

        Clemens

Other related posts: