[kaffe] CVS kaffe (dalibor): More multi-line string fixes
Kaffe CVS
cvs-commits at kaffe.org
Sat Oct 4 17:17:01 PDT 2003
PatchSet 4096
Date: 2003/10/05 00:14:25
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
More multi-line string fixes
Members:
ChangeLog:1.1690->1.1691
config/s390/common.h:1.1->1.2
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1690 kaffe/ChangeLog:1.1691
--- kaffe/ChangeLog:1.1690 Sun Oct 5 00:07:25 2003
+++ kaffe/ChangeLog Sun Oct 5 00:14:25 2003
@@ -1,5 +1,10 @@
2003-10-05 Dalibor Topic <robilad at kaffe.org>
+ * config/s390/common.h:
+ Changed multi-line strings to single line strings.
+
+2003-10-05 Dalibor Topic <robilad at kaffe.org>
+
* config/powerpc/netbsd1/md.c:
Changed multi-line strings to single line strings.
Index: kaffe/config/s390/common.h
diff -u kaffe/config/s390/common.h:1.1 kaffe/config/s390/common.h:1.2
--- kaffe/config/s390/common.h:1.1 Wed May 29 20:00:18 2002
+++ kaffe/config/s390/common.h Sun Oct 5 00:14:27 2003
@@ -129,14 +129,14 @@
} /* if ((CALL)->callsize[argidx] != 0) */ \
} /* for(; argidx < (CALL)->nrargs; ++argidx) */ \
} \
- asm (" \n\
- ld 0,0(,%2) # Load fpr args \n\
- ld 2,8(,%2) # into regs 0-2. \n\
- lm 2,6,0(%1) # Load gpr args into 2-6\n\
- basr 14,%0 # Call the routine. \n\
- stm 2,3,0(%1) # Save int result. \n\
- std 0,0(,%2) # Save float result. \n\
- " \
+ asm (" \n" \
+" ld 0,0(,%2) # Load fpr args \n" \
+" ld 2,8(,%2) # into regs 0-2. \n" \
+" lm 2,6,0(%1) # Load gpr args into 2-6\n" \
+" basr 14,%0 # Call the routine. \n" \
+" stm 2,3,0(%1) # Save int result. \n" \
+" std 0,0(,%2) # Save float result. \n" \
+" " \
: /* sets these */ \
: "ra" ((CALL)->function), /* uses these */ \
"ra" (gpr_args), \
@@ -200,16 +200,16 @@
#define COMPARE_AND_EXCHANGE(A,O,N) \
({ \
char ret; \
- asm volatile(" \n\
- # gcc will invoke us with *A in %1, O in %3 and N in %2 \n\
- cs %3,%2,0(%1) # compare O to A and exchange A and N if \n\
- # equal, else load O from A \n\
- je 1f # branch if equal \n\
- la %0,0 # compare did not match \n\
- j 2f # skip \n\
- 1: la %0,1 # compare matched \n\
- 2: \n\
- " \
+ asm volatile(" \n" \
+" # gcc will invoke us with *A in %1, O in %3 and N in %2 \n" \
+" cs %3,%2,0(%1) # compare O to A and exchange A and N if \n" \
+" # equal, else load O from A \n" \
+" je 1f # branch if equal \n" \
+" la %0,0 # compare did not match \n" \
+" j 2f # skip \n" \
+" 1: la %0,1 # compare matched \n" \
+" 2: \n" \
+" " \
: "=r&" (ret), /* sets these */ \
"+r" (A) \
: "r" (N), /* uses these */ \
More information about the kaffe
mailing list