From: Mario Domenech Goulart <[email protected]> Subject: [Chicken-hackers] -O3 and -unboxing Date: Mon, 04 Jul 2011 18:05:26 -0400
> Hi, > > The docs (http://wiki.call-cc.org/man/4/Using%20the%20compiler) state > that: > > -optimize-level 3 is equivalent to > -optimize-leaf-routines -local -inline -inline-global -unboxing > > And that > > -unboxing > try to use unboxed temporaries for numerical operations. This > optimization is only effective in unsafe mode. > > > Since -O3 doesn't use -unsafe and -unboxing is only effective in unsafe > mode, is there any reason for adding -unboxing to level 3? It is there to enable unboxing if the user compiles in unsafe mode. Since this may be declared with "(declare (not safe))", I found it convenient to enable it anyway at this optimization level. cheers, felix _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
