Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 15:24:20 -0700
From:      Denis Serenyi <dserenyi@panasas.com>
To:        freebsd-hackers@freebsd.org
Cc:        dserenyi@panasas.com
Subject:   SSE bcopy
Message-ID:  <B3B2200B-4CD1-11D6-9B98-003065675568@panasas.com>

next in thread | raw e-mail | index | archive | help
I've been looking at adding an SSE bcopy that runs at user-level to a 
program that I'm working on. I'm using FreeBSD 4.3 currently.

I wrote the routine, and when I execute it, I get an illegal instruction 
exception when I try to execute the first SSE instruction (movups).

After searching the hackers archives, I'm guessing that this is because 
FreeBSD 4.3 does not execute the instructions at boot time to enable SSE 
instructions to be executed, and also because FreeBSD 4.3 does not save 
the 128-bit SIMD registers on context switches.

Am I correct in this assessment?

It also seems like this support has been added to FreeBSD 4.5. Is this 
correct?

Assuming yes, in what release was SSE support added to FreeBSD? Has 
anyone done a patch that can be applied to FreeBSD 4.3, or are the 
changes non-trivial?

(considering that the machine-specific part of the context switch code 
is affected, I'd imagine the answer is that it is non trivial!).

please respond directly to me as I'm not on the mailing list.

Thanks!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B3B2200B-4CD1-11D6-9B98-003065675568>