patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / m68k / fpsp040 / x_store.S
index 4c40705..4282fa6 100644 (file)
@@ -11,8 +11,8 @@
 |              Copyright (C) Motorola, Inc. 1990
 |                      All Rights Reserved
 |
-|      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MOTOROLA 
-|      The copyright notice above does not evidence any  
+|      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MOTOROLA
+|      The copyright notice above does not evidence any
 |      actual or intended publication of such source code.
 
 X_STORE:       |idnt    2,1 | Motorola 040 Floating Point Software Package
@@ -54,7 +54,7 @@ is_pos:
 |      in the USER_FPn variable on the stack because all exception
 |      handlers restore fp0-fp3 from there.
 |
-       cmpb    #0x80,%d0               
+       cmpb    #0x80,%d0
        bnes    not_fp0
        fmovemx %fp0-%fp0,USER_FP0(%a6)
        rts
@@ -115,18 +115,18 @@ opc011:
 |      get rid of ext integer bit
 |      dbl_mant = ext_mant{62:12}
 |
-|              ---------------   ---------------    ---------------
+|              ---------------   ---------------    ---------------
 |  extended ->  |s|    exp    |   |1| ms mant   |    | ls mant     |
-|              ---------------   ---------------    ---------------
-|               95         64    63 62       32      31     11   0
+|              ---------------   ---------------    ---------------
+|               95         64    63 62       32      31     11   0
 |                                   |                       |
 |                                   |                       |
 |                                   |                       |
-|                                   v                       v
-|                            ---------------   ---------------
-|  double   ->               |s|exp| mant  |   |  mant       |
-|                            ---------------   ---------------
-|                            63     51   32   31              0
+|                                   v                       v
+|                            ---------------   ---------------
+|  double   ->               |s|exp| mant  |   |  mant       |
+|                            ---------------   ---------------
+|                            63     51   32   31              0
 |
 dest_dbl:
        clrl    %d0             |clear d0
@@ -137,7 +137,7 @@ dest_dbl:
        addw    #0x3ff,%d0      |add double precision bias
        swap    %d0             |d0 now in upper word
        lsll    #4,%d0          |d0 now in proper place for dbl prec exp
-       tstb    LOCAL_SGN(%a1)  
+       tstb    LOCAL_SGN(%a1)
        beqs    get_mant        |if positive, go process mantissa
        bsetl   #31,%d0         |if negative, put in sign information
 |                              ; before continuing
@@ -186,18 +186,18 @@ dbl_wrt:
 |      get rid of ext integer bit
 |      sgl_mant = ext_mant{62:12}
 |
-|              ---------------   ---------------    ---------------
+|              ---------------   ---------------    ---------------
 |  extended ->  |s|    exp    |   |1| ms mant   |    | ls mant     |
-|              ---------------   ---------------    ---------------
-|               95         64    63 62    40 32      31     12   0
+|              ---------------   ---------------    ---------------
+|               95         64    63 62    40 32      31     12   0
 |                                   |     |
 |                                   |     |
 |                                   |     |
-|                                   v     v
-|                            ---------------
-|  single   ->               |s|exp| mant  |
-|                            ---------------
-|                            31     22     0
+|                                   v     v
+|                            ---------------
+|  single   ->               |s|exp| mant  |
+|                            ---------------
+|                            31     22     0
 |
 dest_sgl:
        clrl    %d0
@@ -208,7 +208,7 @@ dest_sgl:
        addw    #0x7f,%d0               |add single precision bias
        swap    %d0             |put exp in upper word of d0
        lsll    #7,%d0          |shift it into single exp bits
-       tstb    LOCAL_SGN(%a1)  
+       tstb    LOCAL_SGN(%a1)
        beqs    get_sman        |if positive, continue
        bsetl   #31,%d0         |if negative, put in sign first
        bras    get_sman        |get mantissa
@@ -240,7 +240,7 @@ sgl_Dn:
        orl     #0x10,%d1               |reg_dest wants size added to reg#
        bral    reg_dest        |size is X, rts in reg_dest will
 |                              ;return to caller of dest_sgl
-       
+
 dest_ext:
        tstb    LOCAL_SGN(%a1)  |put back sign into exponent word
        beqs    dstx_cont