[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fpu] or32-gcc with FP support
--- Damjan Lampret <damjanlampret@yahoo.com> wrote:
> Guys,
>
> I've just added some experimental support for FP in
> my OR32 GCC. It
> works. Let me know if you are interested to see some
> code (basically I
> can compile anything you want). If certain FP insn
> is not supported in
> HW then it is used software FP library
> (automatically linked to the
> executable). Works great.
>
Good
> Anyway if you want to see some code let me know (I
> would post 'C' code
> and corresponding compiled code). But I also have a
> question:
>
> - is it possible to do 'fneg %destreg,%srcreg' with
> something like this
> fsub %destreg,const0,%srcreg (subtracting value from
> 0 - just like with
> integer arithmetic)
>
Do you want a negation instruction? I do not what is
the meaning of a negation on the Floating point
number.
Do you want it to be done via subtract operation?
Does the stander say anything about it?
> regards,
> Damjan
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail – Free email you can access from
> anywhere!
> http://mail.yahoo.com/
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/