Assembler complains about use of $at after ".set noat" on sd
instr
Oleksandr Tymoshenko
gonzo at bluezbox.com
Sun Oct 23 17:18:54 UTC 2011
On 2011-10-21, at 3:27 PM, Juli Mallett wrote:
> On Fri, Oct 21, 2011 at 14:56, Rohit J <mipsjunkie at gmail.com> wrote:
>> the big picture story is that
>> as a partial fix to using octeon specific very large mult instructions
>> in our freebsd kernel
>> (for crypto related ops), we had initially disabled
>> interrupts=>context switches
>
> Assuming you're using the stuff in-tree, that's my fault :)
>
>> Need to see if there is a better way to do it.
>> am now trying to see if it makes sense to save those registers and
>> remove the disable interrupt constraint for running these large multiplication
>> instructions.
>> will be adapting the (multiplication context save/restore)
>> in the octeon HRM and will revert if i have any further questions.
>
> gonzo@ has incomplete patches, you may want to ask him. Alternately,
> look at how FPU context is lazily switched on other architectures.
>
Here is the latest version of my patch:
http://people.freebsd.org/~gonzo/patches/cop2.diff
context is saved for kernel threads only, usage of crypto stuff from userland is not supported.
More information about the freebsd-mips
mailing list