[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lightning] lightning and ultrasparc
From: |
Eli Barzilay |
Subject: |
Re: [Lightning] lightning and ultrasparc |
Date: |
Sat, 11 Aug 2007 14:17:10 -0400 |
On Aug 11, Shawn wrote:
> Does lightning support 64-bit sparc, or does it only generate 32-bit
> code?
>
> Using 1.2c, I'm getting bus errors on a netbsd/sparc64 box for
> something that's producing working functions on OS X/powerpc32. I'm
> hoping that's the problem and not that I'm not doing something else
> right and have to track that down...
This reminds me -- we recently ran into a problem with the JIT on
x86_64. Matthew did the following to fix it:
--- trunk/src/mzscheme/src/lightning/i386/core.h (original)
+++ trunk/src/mzscheme/src/lightning/i386/core.h Sat Aug 4 22:41:28 2007
@@ -110,7 +110,7 @@
#ifdef JIT_X86_64
# define jit_bra_l(rs, is, op) (_s32P((long)(is)) \
? _jit_bra_l(rs, is, op) \
- : (jit_movi_l(JIT_REXTMP, is),
jit_bra_qr(JIT_REXTMP, rs, op)))
+ : (MOVQir(is, JIT_REXTMP),
jit_bra_qr(JIT_REXTMP, rs, op)))
#else
# define jit_bra_l(rs, is, op) _jit_bra_l(rs, is, op)
#endif
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!
- [Lightning] lightning and ultrasparc, Shawn, 2007/08/11
- Re: [Lightning] lightning and ultrasparc,
Eli Barzilay <=
- [Lightning] Re: lightning and ultrasparc, Ludovic Courtès, 2007/08/11
- Re: [Lightning] Re: lightning and ultrasparc, Shawn W., 2007/08/11
- Re: [Lightning] Re: lightning and ultrasparc, Paolo Bonzini, 2007/08/12
- Re: [Lightning] Re: lightning and ultrasparc, Shawn W., 2007/08/12
- Re: [Lightning] Re: lightning and i386, Shawn W., 2007/08/12
- Re: [Lightning] Re: lightning and i386, Paolo Bonzini, 2007/08/13
- [Lightning] Re: lightning and i386, Paolo Bonzini, 2007/08/13
- Re: [Lightning] Re: lightning and i386, Ludovic Courtès, 2007/08/13