Changeset c995cd6 in rtems


Ignore:
Timestamp:
03/10/05 21:46:12 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
479ac2d8
Parents:
cbb615b
Message:

2005-03-10 Joel Sherrill <joel@…>

  • libnetworking/netinet/in_cksum_m68k.h: Change back to lcsum[12]_lbl since my fix did not fix all issues.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rcbb615b rc995cd6  
     12005-03-10      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libnetworking/netinet/in_cksum_m68k.h: Change back to lcsum[12]_lbl
     4        since my fix did not fix all issues.
     5
    162005-03-05      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libnetworking/netinet/in_cksum_m68k.h

    rcbb615b rc995cd6  
    126126                "andi    #0xf,%%cc   | Clear X (extended carry flag)\n\t"
    127127#endif
    128                 "jmp     %%pc@(2f-.-2:b,%3)  | Jump into loop\n"
    129                 "1:         | Begin inner loop...\n\t"
     128                "jmp     %%pc@(lcsum2_lbl-.-2:b,%3)  | Jump into loop\n"
     129                "lcsum1_lbl:         | Begin inner loop...\n\t"
    130130                "movel   %1@+,%3     |  0: Fetch 32-bit word\n\t"
    131131                "addxl   %3,%0       |    Add word + previous carry\n\t"
     
    160160                "movel   %1@+,%3     |  F: Fetch 32-bit word\n\t"
    161161                "addxl   %3,%0       |    Add word + previous carry\n"
    162                 "2:                  |  End of unrolled loop\n\t"
     162                "lcsum2_lbl:         |  End of unrolled loop\n\t"
    163163#if IS_COLDFIRE
    164164                "moveq   #0,%3       | Add in last carry\n\t"
    165165                "addxl   %3,%0       |\n\t"
    166166                "subql   #1,%2       | Update loop count\n\t"
    167                 "bplb    1f          | Loop (with X clear) if not done\n\t"
     167                "bplb    lcsum1_lbl  | Loop (with X clear) if not done\n\t"
    168168                "movel   #0xffff,%2  | Get word mask\n\t"
    169169                "movel   %0,%3       | Fold 32 bit sum to 16 bits\n\t"
     
    177177                "andl    %2,%0       | Mask to 16-bit sum\n\t"
    178178#else
    179                 "dbf     %2,1        | (NB- dbf doesn't affect X)\n\t"
     179                "dbf     %2,lcsum1_lbl | (NB- dbf doesn't affect X)\n\t"
    180180                "movel   %0,%3       | Fold 32 bit sum to 16 bits\n\t"
    181181                "swap    %3          | (NB- swap doesn't affect X)\n\t"
Note: See TracChangeset for help on using the changeset viewer.