(environment-symbols (environment '(ikarus system $fx)))
($int-quotient $fxsll $fxsub1 $fxquotient $fx>= $fx- $fxsra
$fx<= $fx< $fxmodulo $fxlogor $fxlogxor $fx* $fx+ $fxzero?
$fxlogand $fxadd1 $fx= $fxlognot $fx> $fxinthash
$int-remainder)
OK? :)
--------------------------------------------------
From: "Marc Feeley" <[email protected]>
Sent: Monday, March 29, 2010 7:39 PM
To: <[email protected]>
Subject: [ikarus-users] Unsafe fixnum arithmetic
I'm trying to benchmark ikarus, but the performance I get doesn't match up
with the published measurements. The assembler code produced by ikarus
has type checks and overflow checks on fixnum operations, so...
What is the best way to disable type checking and overflow checks on
fixnum arithmetic operations (such as fx+)? In general, how can code be
compiled in "unsafe" mode? What settings are normally used for
benchmarking ikarus (for example the benchmarks that come with the
distribution)?
Marc