<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Phil Dawes' Stuff - Latest Comments in  Searching arrays in X86 assembler with a bloom filter pt 3</title><link>http://phildawesstuff.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sat, 13 Sep 2008 06:30:13 -0000</lastBuildDate><item><title>Re:  Searching arrays in X86 assembler with a bloom filter pt 3</title><link>http://www.phildawes.net/blog/2008/09/12/searching-arrays-in-x86-assembler-with-a-bloom-filter-pt-3/#comment-2753783</link><description>Slava Pestov wrote:&lt;br&gt;&amp;gt; Hi Phil,&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; I couldn't post a comment on your blog for some reason so I'm posting&lt;br&gt;&amp;gt; this to the list instead.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; The seq&amp;gt;hash word you write already exists in the sets vocabulary, its&lt;br&gt;&amp;gt; called unique.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; And (prepare-filter) looks nicer if you use fry:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt;     : (prepare-filter) ( filter seq -- )&lt;br&gt;&amp;gt;       '[ 1048576 mod _ set-bit ] each ;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Slava</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phil Dawes</dc:creator><pubDate>Sat, 13 Sep 2008 06:30:13 -0000</pubDate></item><item><title>Re:  Searching arrays in X86 assembler with a bloom filter pt 3</title><link>http://www.phildawes.net/blog/2008/09/12/searching-arrays-in-x86-assembler-with-a-bloom-filter-pt-3/#comment-2753782</link><description>@Asm - thanks for the link, that's a handy resource</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phil Dawes</dc:creator><pubDate>Sat, 13 Sep 2008 06:29:11 -0000</pubDate></item><item><title>Re:  Searching arrays in X86 assembler with a bloom filter pt 3</title><link>http://www.phildawes.net/blog/2008/09/12/searching-arrays-in-x86-assembler-with-a-bloom-filter-pt-3/#comment-2753785</link><description>Variable shifts have the count in %cl.&lt;br&gt;&lt;br&gt;But why bother? bt r,r and bt r,i are only 1 uop on a Core2. Check the instruction timings here: &lt;a href="http://www.agner.org/optimize/" rel="nofollow"&gt;http://www.agner.org/optimize/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Use mov (%eax,%edi,4), %edi and drop the shl $0x2, %edi.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asm</dc:creator><pubDate>Fri, 12 Sep 2008 19:44:30 -0000</pubDate></item><item><title>Re:  Searching arrays in X86 assembler with a bloom filter pt 3</title><link>http://www.phildawes.net/blog/2008/09/12/searching-arrays-in-x86-assembler-with-a-bloom-filter-pt-3/#comment-2753784</link><description>You can shift by the contents of the CL register, e.g. shl %cl, %eax .</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 12 Sep 2008 19:15:20 -0000</pubDate></item></channel></rss>