Changeset 8dbed6ef in rtems


Ignore:
Timestamp:
Feb 6, 2008, 4:58:33 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
9e8c23a
Parents:
55dfb113
Message:

2008-02-06 Joel Sherrill <joel.sherrill@…>

PR 1277/networking

  • libnetworking/netinet/in_cksum_i386.h: Use q instead of r in constraint for assembly language. This restricts the register choice to the a-d registers.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r55dfb113 r8dbed6ef  
     12008-02-06      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1277/networking
     4        * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
     5        constraint for assembly language. This restricts the register choice
     6        to the a-d registers.
     7
    182007-12-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/libnetworking/netinet/in_cksum_i386.h

    r55dfb113 r8dbed6ef  
    2525    ("adcl " #n "(%2), %0" : "=r" (sum) : "0" (sum), "r" (w))
    2626#define LOAD(n) __asm__ volatile \
    27      ("movb " #n "(%1), %0" : "=r" (junk) : "r" (w))
     27     ("movb " #n "(%1), %0" : "=q" (junk) : "r" (w))
    2828#define MOP     __asm__ volatile \
    2929    ("adcl         $0, %0" : "=r" (sum) : "0" (sum))
Note: See TracChangeset for help on using the changeset viewer.