pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47906: lang/g95: SEGV occurs when stack address is not aligned 8 bytes at main().



Hi,

>  I don't beliebe that comment is true, I was more asking whether it just
>  works...

I don't think the process would become faster.
I think that it may be disabled.

Regards,
--
NONAKA Kimihiro
$NetBSD$

--- libf95.a-0.93/runtime/main.c.orig   2010-04-19 00:47:28.000000000 +0900
+++ libf95.a-0.93/runtime/main.c        2013-07-09 22:19:02.000000000 +0900
@@ -45,6 +45,7 @@
 
 int main(int argc, char *argv[]) {
 
+#if 0
 /* Sometimes on x86, the stack isn't aligned to an 8-byte boundary,
  * which kills performance associated with doubles.  Align if
  * unaligned. */
@@ -54,6 +55,7 @@
        "and $0x04, %%eax\n"
        "sub %%eax, %%esp\n" : : : "%eax");
 #endif
+#endif
 
     g95_runtime_start(argc, argv);
 


Home | Main Index | Thread Index | Old Index