mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>
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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
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.
|
||||
|
||||
2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1268/cpukit
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#define ADDC(n) __asm__ volatile \
|
||||
("adcl " #n "(%2), %0" : "=r" (sum) : "0" (sum), "r" (w))
|
||||
#define LOAD(n) __asm__ volatile \
|
||||
("movb " #n "(%1), %0" : "=r" (junk) : "r" (w))
|
||||
("movb " #n "(%1), %0" : "=q" (junk) : "r" (w))
|
||||
#define MOP __asm__ volatile \
|
||||
("adcl $0, %0" : "=r" (sum) : "0" (sum))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user