------- Additional Comments From vincent dot riviere at freesbee dot fr  
2010-06-07 21:18 -------
This is not a bug, you used the wrong syntax.

When you write:
        fmove.s #1,fp0
the argument is the binary pattern of the single precision value, and it is 
not what you expect.
For example, the pattern of 1.0f is 0x3f800000. So the following instruction 
is valid and do what you want:
        fmove.s #0x3f800000,fp0
Of course it is not user-friendly.

If you want to use floating-point constants, you must use the 0e prefix. The 
following example is what you expect:
        fmoves #0e1,fp0
It is strictly equivalent to the previous example.

See the documentation here:
http://sourceware.org/binutils/docs-2.20/as/Flonums.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=3183

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to