<div dir="ltr">so is the problem in the code generator or the slowpopcount?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 2:00 PM, Muhaimin Ahsan <span dir="ltr">&lt;<a href="mailto:leroux@fezrev.com" target="_blank">leroux@fezrev.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here&#39;s the dumped asm: <a href="http://ghc.haskell.org/trac/ghc/attachment/ticket/7684/cgrun071.S" target="_blank">http://ghc.haskell.org/trac/ghc/attachment/ticket/7684/cgrun071.S</a><br>


<span class="HOEnZb"><font color="#888888"><br>
Muhaimin Ahsan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sep 5, 2013, at 12:06 PM, &quot;GHC&quot; &lt;<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>&gt; wrote:<br>
<br>
&gt; #7684: cgrun071 segfaults<br>
&gt; ----------------------------------+----------------------------------<br>
&gt;        Reporter:  tibbe          |            Owner:  leroux<br>
&gt;            Type:  bug            |           Status:  new<br>
&gt;        Priority:  normal         |        Milestone:  7.8.1<br>
&gt;       Component:  Compiler       |          Version:  7.7<br>
&gt;      Resolution:                 |         Keywords:<br>
&gt; Operating System:  MacOS X        |     Architecture:  x86_64 (amd64)<br>
&gt; Type of failure:  Runtime crash  |       Difficulty:  Unknown<br>
&gt;       Test Case:  cgrun071       |       Blocked By:<br>
&gt;        Blocking:                 |  Related Tickets:<br>
&gt; ----------------------------------+----------------------------------<br>
&gt;<br>
&gt; Comment (by tibbe):<br>
&gt;<br>
&gt; I&#39;m confused. The test isn&#39;t compiled with -msse42 and thus the popcnt<br>
&gt; instruction should never be omitted (check the output assembly to make<br>
&gt; sure) so it seems more likely that the failure has to do with narrowing.<br>
&gt;<br>
&gt; --<br>
&gt; Ticket URL: &lt;<a href="http://ghc.haskell.org/trac/ghc/ticket/7684#comment:20" target="_blank">http://ghc.haskell.org/trac/ghc/ticket/7684#comment:20</a>&gt;<br>
&gt; GHC &lt;<a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a>&gt;<br>
&gt; The Glasgow Haskell Compiler<br>
<br>
</div></div><br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>