[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] [Maxima] Out of range floating point number determinatio
Re: [Gcl-devel] [Maxima] Out of range floating point number determination
Tue, 02 Oct 2012 13:29:17 -0400
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Greetings, and thanks for the reply!
Raymond Toy <address@hidden> writes:
> On 9/7/12 11:45 AM, Camm Maguire wrote:
> 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?
Camm Maguire address@hidden
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: [Gcl-devel] [Maxima] Out of range floating point number determination,
Camm Maguire <=