Greetings, and thanks for the reply!

Raymond Toy <[email protected]> writes:

> On 9/7/12 11:45 AM, Camm Maguire wrote:
>> Greetings!
>
> Sorry for the delay!  I missed the message earlier.
>>
>> You mention that some implementations disassemble the faulting
>> instruction to get at the operands.  I'm wondering if I could do this
>> with Linux's ucontext_t structure, containing fpregs and __fpregs_mem.
> Yes, this is what cmucl does, more or less.  You could look there for an
> idea of how to do this.  Look at src/code/x86-vm.lisp
> (get-fp-operands).  Also src/code/sparc-svr4-vm.lisp for the sparc
> version.  I guess I never got around to implementing it for ppc.

Any reson you chose not to use the $fop register instead of decoding the
instruction at $pc?

Take care,
-- 
Camm Maguire                                        [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to