Ignore:
Timestamp:
Feb 6, 2008, 4:59:31 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
6728035
Parents:
92150edc
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/in_cksum_i386.h

    r92150edc r4273e70  
    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.