[kaffe] CVS kaffe (dalibor): Fixed build with sparc jit
Kaffe CVS
cvs-commits at kaffe.org
Tue Jul 13 08:04:37 PDT 2004
PatchSet 4961
Date: 2004/07/13 14:57:06
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed build with sparc jit
2004-07-13 Dalibor Topic <robilad at kaffe.org>
* config/sparc/jit-sparc.def:
Fix 'use of compound as lvalue is deprecated' warnings for jit.
Members:
ChangeLog:1.2525->1.2526
config/sparc/jit-sparc.def:1.10->1.11
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2525 kaffe/ChangeLog:1.2526
--- kaffe/ChangeLog:1.2525 Tue Jul 13 14:16:56 2004
+++ kaffe/ChangeLog Tue Jul 13 14:57:06 2004
@@ -1,11 +1,16 @@
+2004-07-13 Dalibor Topic <robilad at kaffe.org>
+
+ * config/sparc/jit-sparc.def:
+ Fix 'use of compound as lvalue is deprecated' warnings for jit.
+
2004-07-13 Kiyo Inaba <inaba at src.ricoh.co.jp>
- * kaffe/kaffevm/jit/funcs.c
- * config/i386/jit-i386.def:
- * config/i386/jit3-i386.def:
- * config/m68k/jit-i386.def:
- * config/m68k/jit3-i386.def:
- Fix 'use of compound as lvalue is deprecated' warnings for jit.
+ * kaffe/kaffevm/jit/funcs.c
+ * config/i386/jit-i386.def:
+ * config/i386/jit3-i386.def:
+ * config/m68k/jit-i386.def:
+ * config/m68k/jit3-i386.def:
+ Fix 'use of compound as lvalue is deprecated' warnings for jit.
2004-07-13 Riccardo Mottola <rmottola at users.sf.net>
Index: kaffe/config/sparc/jit-sparc.def
diff -u kaffe/config/sparc/jit-sparc.def:1.10 kaffe/config/sparc/jit-sparc.def:1.11
--- kaffe/config/sparc/jit-sparc.def:1.10 Mon Apr 26 09:06:59 2004
+++ kaffe/config/sparc/jit-sparc.def Tue Jul 13 14:57:10 2004
@@ -51,38 +51,38 @@
/* Instruction formats */
#define insn_call(disp) \
- LOUT = 0x40000000 | ((disp) & 0x3FFFFFFF)
+ LOUT(0x40000000 | ((disp) & 0x3FFFFFFF))
#define insn_offset(op, dst, imm) \
- LOUT = 0x01000000 | ((dst) << 25) | \
- ((op) << 22) | ((imm) & 0x3FFFFF)
+ LOUT(0x01000000 | ((dst) << 25) | \
+ ((op) << 22) | ((imm) & 0x3FFFFF))
#define insn_branch(cond, anull, dest) \
- LOUT = 0x00800000 | ((anull) << 29) | \
- ((cond) << 25) | ((dest) & 0x3FFFFF)
+ LOUT(0x00800000 | ((anull) << 29) | \
+ ((cond) << 25) | ((dest) & 0x3FFFFF))
#define insn_RRR(op, dst, rs1, rs2) \
- LOUT = 0x80000000 | ((dst) << 25) | \
- ((op) << 19) | ((rs1) << 14) | (rs2)
+ LOUT(0x80000000 | ((dst) << 25) | \
+ ((op) << 19) | ((rs1) << 14) | (rs2))
#define ldst_RRR(op, dst, rs1, rs2) \
- LOUT = 0xC0000000 | ((dst) << 25) | \
- ((op) << 19) | ((rs1) << 14) | (rs2)
+ LOUT(0xC0000000 | ((dst) << 25) | \
+ ((op) << 19) | ((rs1) << 14) | (rs2))
#define ldst_RRC(op, dst, rs1, cnst) \
- LOUT = 0xC0002000 | ((dst) << 25) | \
+ LOUT(0xC0002000 | ((dst) << 25) | \
((op) << 19) | ((rs1) << 14) | \
- ((cnst) & MASKL13BITS)
+ ((cnst) & MASKL13BITS))
#define insn_RRC(op, op2, dst, rs1, cnst) \
- LOUT = 0x00002000 | ((op) << 30) | \
+ LOUT(0x00002000 | ((op) << 30) | \
((dst) << 25) | ((op2) << 19) | \
- ((rs1) << 14) | ((cnst) & MASKL13BITS)
+ ((rs1) << 14) | ((cnst) & MASKL13BITS))
#define finsn_RRR(op, dst, rs1, rs2) \
- LOUT = 0x81A00000 | ((dst) << 25) | \
+ LOUT(0x81A00000 | ((dst) << 25) | \
((rs1) << 14) | ((op) << 5) | \
- (rs2)
+ (rs2))
/* --------------------------------------------------------------------- */
/* Various masks */
@@ -876,7 +876,7 @@
{
jint val = const_int(2);
- LOUT = val;
+ LOUT(val);
debug((".word %08x\n", val));
}
@@ -887,7 +887,7 @@
l->type |= Llong|Labsolute;
l->at = (uintp)CODEPC;
- LOUT = 0;
+ LOUT(0);
l->from = (uintp)CODEPC;
debug((".word ?\n"));
}
@@ -899,16 +899,16 @@
/* Align data onto relevant boundary */
if (l->size == 2 && ((uintp)CODEPC) % 8 != 0) {
- LOUT = 0;
+ LOUT(0;
}
l->to = (uintp)CODEPC;
- LOUT = l->u.word[0];
+ LOUT(l->u.word[0]);
debug((".word 0x08x\n", l->u.word[0]));
if (l->size == 2) {
- LOUT = l->u.word[1];
+ LOUT(l->u.word[1]);
debug((".word 0x08x\n", l->u.word[1]));
}
}
More information about the kaffe
mailing list