Changeset c025abd in rtems


Ignore:
Timestamp:
03/05/05 23:53:37 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d4d4d74c
Parents:
a0e0533
Message:

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

  • libnetworking/netinet/in_cksum_m68k.h: Change lcsum[12]_lbl to temporary inline assembly labels to remove compilation error.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra0e0533 rc025abd  
     12005-03-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libnetworking/netinet/in_cksum_m68k.h: Change lcsum[12]_lbl to
     4        temporary inline assembly labels to remove compilation error.
     5
    162005-03-04      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libnetworking/netinet/in_cksum_m68k.h

    ra0e0533 rc025abd  
    126126                "andi    #0xf,%%cc   | Clear X (extended carry flag)\n\t"
    127127#endif
    128                 "jmp     %%pc@(lcsum2_lbl-.-2:b,%3)  | Jump into loop\n"
    129                 "lcsum1_lbl:         | Begin inner loop...\n\t"
     128                "jmp     %%pc@(2f-.-2:b,%3)  | Jump into loop\n"
     129                "1:         | 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                 "lcsum2_lbl:         |  End of unrolled loop\n\t"
     162                "2:                  |  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    lcsum1_lbl  | Loop (with X clear) if not done\n\t"
     167                "bplb    1f          | 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,lcsum1_lbl | (NB- dbf doesn't affect X)\n\t"
     179                "dbf     %2,1        | (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.