<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3598</id>
	<title>Nabble - The Netwide Assembler</title>
	<updated>2009-12-07T10:31:03Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/The-Netwide-Assembler-f3598.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-Netwide-Assembler-f3598.html" />
	<subtitle type="html">This is NASM - the famous Netwide Assembler. Back at SourceForge and in intensive development! The Netwide Assembler home is &lt;a href=&quot;http://sourceforge.net/projects/nasm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26681826</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-07T10:31:03Z</published>
	<updated>2009-12-07T10:31:03Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 12/07/2009 10:27 AM, Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ok, that is what I managed to find.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1) Our IF_Sx masks make insns.dat position dependent. An example
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;is
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	vcvtsi2sd xmm0, xmm1, [rdi]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; Initially we had IF_SD here, so matches() just set DWORD and
&lt;br&gt;&amp;gt; match the instruction fine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If (for some reason) we had a template like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; VCVTSI2SD	xmmreg,xmmreg*,mem	AVX,SANDYBRIDGE,ND,SQ
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; placed _before_ the
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; VCVTSI2SD	xmmreg,xmmreg*,mem	AVX,SANDYBRIDGE,ND,SD
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; all compilations of
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	vcvtsi2sd xmm0, xmm1, [rdi]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; would be interpreted as
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	vcvtsi2sd xmm0, xmm1, qword [rdi]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; by default without any warning. I _think_ the good solution
&lt;br&gt;&amp;gt; is to allow an user to choose which size to choose by default
&lt;br&gt;&amp;gt; regardless of placement of this template in insns.dat.
&lt;br&gt;&amp;gt; Something like the patch below (not for merging, just an idea).
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;No, in cases like this we should just put the SQ back on the mem64
&lt;br&gt;pattern, which would label that the default. &amp;nbsp;That is the remaining
&lt;br&gt;proper use of the Sx flag.
&lt;br&gt;&lt;br&gt;There are only a small handful of patterns where default behavior is
&lt;br&gt;appropriate, and they should be called out explicitly -- that's why the
&lt;br&gt;Sx flags are still available.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26681826&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26681826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26681805</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit operand size</title>
	<published>2009-12-07T10:29:16Z</published>
	<updated>2009-12-07T10:29:16Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 12/07/2009 01:56 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I must admit this is not a good idea too. The key moment is that IF_Sx
&lt;br&gt;&amp;gt; flags together with position in insns.dat file do work like a
&lt;br&gt;&amp;gt; &amp;quot;by-default&amp;quot; option. So as only we switched to fuzzy logic we've broke
&lt;br&gt;&amp;gt; this &amp;quot;by-default&amp;quot; feature (or, perhaps this is broken by design). So I
&lt;br&gt;&amp;gt; think the best choice would be just add some &amp;quot;missing operand size by
&lt;br&gt;&amp;gt; default&amp;quot; command line option and use it when needed. I'll cook the
&lt;br&gt;&amp;gt; patch today evening and send for review.
&lt;br&gt;&lt;br&gt;Then we should identify the specific patterns which still need the Sx
&lt;br&gt;flags and/or a default pattern. &amp;nbsp;There should be very few of them in
&lt;br&gt;legitimate code.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26681805&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26681805.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26681753</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-07T10:27:21Z</published>
	<updated>2009-12-07T10:27:21Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Sun, Dec 06, 2009 at 07:58:19PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Perhaps, initial idea with OPTYPE_MASK is not that bad,
&lt;br&gt;&amp;gt; the fact is one test is not enough, since parser code
&lt;br&gt;&amp;gt; may set MEMORY_ANY we may need something like the
&lt;br&gt;&amp;gt; change below which covers RM masks. Though we may need
&lt;br&gt;&amp;gt; eliminate MEMORY bit itself from MEMORY_ANY. The matching
&lt;br&gt;&amp;gt; code is a bit hard to read :) Thoughs?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; diff --git a/assemble.c b/assemble.c
&lt;br&gt;&amp;gt; index 81476db..f99aee4 100644
&lt;br&gt;&amp;gt; --- a/assemble.c
&lt;br&gt;&amp;gt; +++ b/assemble.c
&lt;br&gt;&amp;gt; @@ -1971,7 +1971,11 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;gt; &amp;nbsp;	 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;	 &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; temp-&amp;gt;operands; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp;		if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0)
&lt;br&gt;&amp;gt; -		 &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_class(instruction-&amp;gt;oprs[i].type &amp; OPTYPE_MASK,
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp-&amp;gt;opd[i] &amp; OPTYPE_MASK) ||
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;is_class(instruction-&amp;gt;oprs[i].type,
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp-&amp;gt;opd[i] &amp; MEMORY_ANY))
&lt;br&gt;&amp;gt; +		 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;gt; &amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp;	 &amp;nbsp; &amp;nbsp;opsizemissing = true;
&lt;br&gt;&amp;gt; &amp;nbsp;	}
&lt;/div&gt;&lt;br&gt;ok, that is what I managed to find.
&lt;br&gt;&lt;br&gt;1) Our IF_Sx masks make insns.dat position dependent. An example
&lt;br&gt;&amp;nbsp; &amp;nbsp;is
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vcvtsi2sd xmm0, xmm1, [rdi]
&lt;br&gt;&lt;br&gt;&amp;nbsp; Initially we had IF_SD here, so matches() just set DWORD and
&lt;br&gt;match the instruction fine.
&lt;br&gt;&lt;br&gt;If (for some reason) we had a template like
&lt;br&gt;&lt;br&gt;VCVTSI2SD	xmmreg,xmmreg*,mem	AVX,SANDYBRIDGE,ND,SQ
&lt;br&gt;&lt;br&gt;placed _before_ the
&lt;br&gt;&lt;br&gt;VCVTSI2SD	xmmreg,xmmreg*,mem	AVX,SANDYBRIDGE,ND,SD
&lt;br&gt;&lt;br&gt;all compilations of
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vcvtsi2sd xmm0, xmm1, [rdi]
&lt;br&gt;&lt;br&gt;would be interpreted as
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vcvtsi2sd xmm0, xmm1, qword [rdi]
&lt;br&gt;&lt;br&gt;by default without any warning. I _think_ the good solution
&lt;br&gt;is to allow an user to choose which size to choose by default
&lt;br&gt;regardless of placement of this template in insns.dat.
&lt;br&gt;Something like the patch below (not for merging, just an idea).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;---
&lt;br&gt;diff --git a/assemble.c b/assemble.c
&lt;br&gt;index 81476db..83df9a4 100644
&lt;br&gt;--- a/assemble.c
&lt;br&gt;+++ b/assemble.c
&lt;br&gt;@@ -1994,9 +1994,16 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;nbsp;	if (is_class(REGISTER, instruction-&amp;gt;oprs[i].type))
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* This tests if xsizeflags[i] has more than one bit set */
&lt;br&gt;-	if ((xsizeflags[i] &amp; (xsizeflags[i]-1)))
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;goto done;		/* No luck */
&lt;br&gt;+	/*
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * This tests if xsizeflags[i] has more than one bit set
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * and we check if an user has supplied &amp;quot;by-default&amp;quot; argument
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+	if ((xsizeflags[i] &amp; (xsizeflags[i]-1))) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int mask = get_mop_size(xsizeflags[i]);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!mask)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;goto done;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = mask;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	instruction-&amp;gt;oprs[i].type |= xsizeflags[i]; /* Set the size */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;diff --git a/nasm.c b/nasm.c
&lt;br&gt;index 28a6086..55b07d6 100644
&lt;br&gt;--- a/nasm.c
&lt;br&gt;+++ b/nasm.c
&lt;br&gt;@@ -181,6 +181,42 @@ static bool want_usage;
&lt;br&gt;&amp;nbsp;static bool terminate_after_phase;
&lt;br&gt;&amp;nbsp;int user_nolist = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* fbk 9/2/00 */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/*
&lt;br&gt;+ * missed operand size handling
&lt;br&gt;+ */
&lt;br&gt;+static int mop_size = 0;
&lt;br&gt;+static void set_mop_size(int bits)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;switch (bits) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 8:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS8;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 16:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS16;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 32:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS32;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 64:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS64;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 80:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS80;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 128:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS128;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case 256:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mop_size = BITS256;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+int get_mop_size(int mask)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return (mask &amp; mop_size) ? mop_size : 0;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;static void nasm_fputs(const char *line, FILE * outfile)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (outfile) {
&lt;br&gt;@@ -629,7 +665,7 @@ static bool process_arg(char *p, char *q)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (p[0] == '-' &amp;&amp; !stopoptions) {
&lt;br&gt;-	if (strchr(&amp;quot;oOfpPdDiIlFXuUZwW&amp;quot;, p[1])) {
&lt;br&gt;+	if (strchr(&amp;quot;moOfpPdDiIlFXuUZwW&amp;quot;, p[1])) {
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;/* These parameters take values */
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;if (!(param = get_param(p, q, &amp;advance)))
&lt;br&gt;&amp;nbsp;		return advance;
&lt;br&gt;@@ -747,6 +783,10 @@ static bool process_arg(char *p, char *q)
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; param);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'm':
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set_mop_size(atoi(param));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'g':
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using_debug_info = true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;diff --git a/nasm.h b/nasm.h
&lt;br&gt;index 5d5aae7..2d79afb 100644
&lt;br&gt;--- a/nasm.h
&lt;br&gt;+++ b/nasm.h
&lt;br&gt;@@ -890,4 +890,6 @@ extern const char nasm_compile_options[];
&lt;br&gt;&amp;nbsp;extern const char nasm_comment[];
&lt;br&gt;&amp;nbsp;extern const char nasm_signature[];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+int get_mop_size(int mask);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26681753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26681753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674963</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit operand size</title>
	<published>2009-12-07T01:56:40Z</published>
	<updated>2009-12-07T01:56:40Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Sun, Dec 6, 2009 at 7:58 PM, Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674963&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 03, 2009 at 06:08:38PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Dec 03, 2009 at 06:51:38AM -0800, H. Peter Anvin wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On 12/03/2009 06:46 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; As I see you didn't applied it to the master repo. And
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; please do NOT. It breaks some code. I'll post other
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; propose/patch later (which fixed the problem but need
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; a deep review).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks for the warning!
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     -hpa
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Peter, if only I don't miss something I guess we need
&lt;br&gt;&amp;gt;&amp;gt; the patch below. The type of operands in template and
&lt;br&gt;&amp;gt;&amp;gt; instruction (being compiled) is checked in matches() and
&lt;br&gt;&amp;gt;&amp;gt; we've &amp;quot;missed operand size&amp;quot; only for those operands
&lt;br&gt;&amp;gt;&amp;gt; which other characteristics do match with template and
&lt;br&gt;&amp;gt;&amp;gt; only size is different. But sometime we have _several_ templates
&lt;br&gt;&amp;gt;&amp;gt; which have only difference in BITSx mask. So as only
&lt;br&gt;&amp;gt;&amp;gt; we get cumulative mask we take &amp;quot;minimal&amp;quot; BITSx from there
&lt;br&gt;&amp;gt;&amp;gt; and start matches() again.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;       -- Cyrill
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt; From fb773763d8cdcca0ba01ab7707d73231a88fcab1 Mon Sep 17 00:00:00 2001
&lt;br&gt;&amp;gt;&amp;gt; From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674963&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Date: Thu, 3 Dec 2009 18:02:55 +0300
&lt;br&gt;&amp;gt;&amp;gt; Subject: [PATCH] find_match: find out minimal size match in fuzzy logic algo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In case if several instruction templates match
&lt;br&gt;&amp;gt;&amp;gt; our instruction with difference in size of the
&lt;br&gt;&amp;gt;&amp;gt; operand (and as result it's unclear which template
&lt;br&gt;&amp;gt;&amp;gt; is &amp;quot;better&amp;quot; for us) we just choose one which is
&lt;br&gt;&amp;gt;&amp;gt; smaller.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; An user always may choose preferred by explicitly pointing
&lt;br&gt;&amp;gt;&amp;gt; out the operand size.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674963&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt;  assemble.c |   27 ++++++++++++++++++++++++---
&lt;br&gt;&amp;gt;&amp;gt;  1 files changed, 24 insertions(+), 3 deletions(-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Perhaps, initial idea with OPTYPE_MASK is not that bad,
&lt;br&gt;&amp;gt; the fact is one test is not enough, since parser code
&lt;br&gt;&amp;gt; may set MEMORY_ANY we may need something like the
&lt;br&gt;&amp;gt; change below which covers RM masks. Though we may need
&lt;br&gt;&amp;gt; eliminate MEMORY bit itself from MEMORY_ANY. The matching
&lt;br&gt;&amp;gt; code is a bit hard to read :) Thoughs?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; diff --git a/assemble.c b/assemble.c
&lt;br&gt;&amp;gt; index 81476db..f99aee4 100644
&lt;br&gt;&amp;gt; --- a/assemble.c
&lt;br&gt;&amp;gt; +++ b/assemble.c
&lt;br&gt;&amp;gt; @@ -1971,7 +1971,11 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;gt;             */
&lt;br&gt;&amp;gt;            for (i = 0; i &amp;lt; temp-&amp;gt;operands; i++) {
&lt;br&gt;&amp;gt;                if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0)
&lt;br&gt;&amp;gt; -                   xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;gt; +                    if (is_class(instruction-&amp;gt;oprs[i].type &amp; OPTYPE_MASK,
&lt;br&gt;&amp;gt; +                                 temp-&amp;gt;opd[i] &amp; OPTYPE_MASK) ||
&lt;br&gt;&amp;gt; +                        is_class(instruction-&amp;gt;oprs[i].type,
&lt;br&gt;&amp;gt; +                                 temp-&amp;gt;opd[i] &amp; MEMORY_ANY))
&lt;br&gt;&amp;gt; +                       xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;gt;            }
&lt;br&gt;&amp;gt;            opsizemissing = true;
&lt;br&gt;&amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I must admit this is not a good idea too. The key moment is that IF_Sx
&lt;br&gt;flags together with position in insns.dat file do work like a
&lt;br&gt;&amp;quot;by-default&amp;quot; option. So as only we switched to fuzzy logic we've broke
&lt;br&gt;this &amp;quot;by-default&amp;quot; feature (or, perhaps this is broken by design). So I
&lt;br&gt;think the best choice would be just add some &amp;quot;missing operand size by
&lt;br&gt;default&amp;quot; command line option and use it when needed. I'll cook the
&lt;br&gt;patch today evening and send for review.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674963&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26674963.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26666769</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-06T08:58:19Z</published>
	<updated>2009-12-06T08:58:19Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Thu, Dec 03, 2009 at 06:08:38PM +0300, Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 03, 2009 at 06:51:38AM -0800, H. Peter Anvin wrote:
&lt;br&gt;&amp;gt; &amp;gt; On 12/03/2009 06:46 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; As I see you didn't applied it to the master repo. And
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; please do NOT. It breaks some code. I'll post other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; propose/patch later (which fixed the problem but need
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; a deep review).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thanks for the warning!
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 	-hpa
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Peter, if only I don't miss something I guess we need
&lt;br&gt;&amp;gt; the patch below. The type of operands in template and
&lt;br&gt;&amp;gt; instruction (being compiled) is checked in matches() and
&lt;br&gt;&amp;gt; we've &amp;quot;missed operand size&amp;quot; only for those operands
&lt;br&gt;&amp;gt; which other characteristics do match with template and
&lt;br&gt;&amp;gt; only size is different. But sometime we have _several_ templates
&lt;br&gt;&amp;gt; which have only difference in BITSx mask. So as only
&lt;br&gt;&amp;gt; we get cumulative mask we take &amp;quot;minimal&amp;quot; BITSx from there
&lt;br&gt;&amp;gt; and start matches() again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; From fb773763d8cdcca0ba01ab7707d73231a88fcab1 Mon Sep 17 00:00:00 2001
&lt;br&gt;&amp;gt; From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666769&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Thu, 3 Dec 2009 18:02:55 +0300
&lt;br&gt;&amp;gt; Subject: [PATCH] find_match: find out minimal size match in fuzzy logic algo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In case if several instruction templates match
&lt;br&gt;&amp;gt; our instruction with difference in size of the
&lt;br&gt;&amp;gt; operand (and as result it's unclear which template
&lt;br&gt;&amp;gt; is &amp;quot;better&amp;quot; for us) we just choose one which is
&lt;br&gt;&amp;gt; smaller.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; An user always may choose preferred by explicitly pointing
&lt;br&gt;&amp;gt; out the operand size.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666769&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;assemble.c | &amp;nbsp; 27 ++++++++++++++++++++++++---
&lt;br&gt;&amp;gt; &amp;nbsp;1 files changed, 24 insertions(+), 3 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;/div&gt;...
&lt;br&gt;&lt;br&gt;Perhaps, initial idea with OPTYPE_MASK is not that bad,
&lt;br&gt;the fact is one test is not enough, since parser code
&lt;br&gt;may set MEMORY_ANY we may need something like the
&lt;br&gt;change below which covers RM masks. Though we may need
&lt;br&gt;eliminate MEMORY bit itself from MEMORY_ANY. The matching
&lt;br&gt;code is a bit hard to read :) Thoughs?
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;diff --git a/assemble.c b/assemble.c
&lt;br&gt;index 81476db..f99aee4 100644
&lt;br&gt;--- a/assemble.c
&lt;br&gt;+++ b/assemble.c
&lt;br&gt;@@ -1971,7 +1971,11 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; temp-&amp;gt;operands; i++) {
&lt;br&gt;&amp;nbsp;		if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0)
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_class(instruction-&amp;gt;oprs[i].type &amp; OPTYPE_MASK,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp-&amp;gt;opd[i] &amp; OPTYPE_MASK) ||
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;is_class(instruction-&amp;gt;oprs[i].type,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp-&amp;gt;opd[i] &amp; MEMORY_ANY))
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;opsizemissing = true;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666769&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26666769.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654779</id>
	<title>[ nasm-Bugs-2887108 ] imul reg,reg,imm32 defective</title>
	<published>2009-12-05T03:24:31Z</published>
	<updated>2009-12-05T03:24:31Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2887108, was opened at 2009-10-27 15:02
&lt;br&gt;Message generated for change (Settings changed) made by cyrillos
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2887108&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2887108&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Assembler
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: Fixed
&lt;br&gt;Priority: 7
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Jasper Neumann (jasper_neumann)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: imul reg,reg,imm32 defective
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Commands like
&lt;br&gt;&amp;nbsp; imul eax,eax,0x12340001
&lt;br&gt;produce wrong code (imul reg,reg,imm8). It seems that the upper 16 bits are not analyzed for op code selection.
&lt;br&gt;&lt;br&gt;Sample, all imul produce wrong code; b.asm:
&lt;br&gt;===
&lt;br&gt;bits 32
&lt;br&gt;global test
&lt;br&gt;test:
&lt;br&gt;&amp;nbsp; imul &amp;nbsp;eax,eax,65537
&lt;br&gt;&amp;nbsp; imul &amp;nbsp;eax,eax,0x00010001
&lt;br&gt;&amp;nbsp; imul &amp;nbsp;eax,eax,0x1234007f
&lt;br&gt;&amp;nbsp; imul &amp;nbsp;eax,eax,0xfedcff80
&lt;br&gt;&amp;nbsp; ret
&lt;br&gt;===
&lt;br&gt;&lt;br&gt;Command line: nasm -Ox -t -f rdf -o b.rdf b.asm
&lt;br&gt;&lt;br&gt;BTW: The variant &amp;quot;imul reg,mem,const&amp;quot; is OK.
&lt;br&gt;&lt;br&gt;This applies to at least the versions 2.08rc1 and 2.07.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Jasper Neumann (jasper_neumann)
&lt;br&gt;Date: 2009-11-12 16:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I think it might be sensible to add some new test cases to test\imul.asm in
&lt;br&gt;order to test for the kind of bug described above.
&lt;br&gt;Possibly similar tests for other commands should be added as well.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: H. Peter Anvin (hpa)
&lt;br&gt;Date: 2009-11-03 20:29
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This item has been resolved; the fix has been checked into git
&lt;br&gt;(&lt;a href=&quot;http://repo.or.cz/w/nasm.git&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.or.cz/w/nasm.git&lt;/a&gt;) and will be in the next release.
&lt;br&gt;You can usually also obtain a nightly snapshot at &lt;a href=&quot;http://www.nasm.us/;&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nasm.us/;&lt;/a&gt;&amp;nbsp;the
&lt;br&gt;snapshot robot usually runs some time between 07:00 and 09:00 UTC, but
&lt;br&gt;sometimes runs immediately if there was no previous snapshot for today.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Nobody/Anonymous (nobody)
&lt;br&gt;Date: 2009-11-01 10:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Unfortunately it was not correct. I've reverted the commit. Will inform as
&lt;br&gt;only issue get fixed.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-10-31 10:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Pushed out as commit 41208028ff52d190044ee7532bf14c5aca0f899a. The fix will
&lt;br&gt;be in 2.08 release.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Nobody/Anonymous (nobody)
&lt;br&gt;Date: 2009-10-31 10:26
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Will push patch into main repo soon
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-10-31 01:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Patch just has been sent for review. Thanks again for report!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-10-30 19:47
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Hmm, this is due to -Ox, investigating.... Thanks!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2887108&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2887108&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-bugs-f3599.html&quot; embed=&quot;fixTarget[3599]&quot; target=&quot;_top&quot; &gt;nasm-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--nasm-Bugs-2887108---imul-reg%2Creg%2Cimm32-defective-tp26654779p26654779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654731</id>
	<title>[ nasm-Bugs-2907058 ] minor handle leak in assemble.c</title>
	<published>2009-12-05T03:15:39Z</published>
	<updated>2009-12-05T03:15:39Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2907058, was opened at 2009-12-01 22:01
&lt;br&gt;Message generated for change (Settings changed) made by cyrillos
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Assembler
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Nobody/Anonymous (nobody)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: minor handle leak in assemble.c
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;In nasm 2.07, cppcheck notes the following leak
&lt;br&gt;&lt;br&gt;Checking assemble.c...
&lt;br&gt;[assemble.c:736]: (error) Resource leak: fp
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-12-05 14:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This item has been resolved; the fix has been checked into git
&lt;br&gt;(&lt;a href=&quot;http://repo.or.cz/w/nasm.git&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.or.cz/w/nasm.git&lt;/a&gt;) and will be in the next release.
&lt;br&gt;You can usually also obtain a nightly snapshot at &lt;a href=&quot;http://www.nasm.us/;&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nasm.us/;&lt;/a&gt;&amp;nbsp;the
&lt;br&gt;snapshot robot usually runs some time between 07:00 and 09:00 UTC, but
&lt;br&gt;sometimes runs immediately if there was no previous snapshot for today.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-bugs-f3599.html&quot; embed=&quot;fixTarget[3599]&quot; target=&quot;_top&quot; &gt;nasm-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--nasm-Bugs-2907058---minor-handle-leak-in-assemble.c-tp26654731p26654731.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654725</id>
	<title>[ nasm-Bugs-2907058 ] minor handle leak in assemble.c</title>
	<published>2009-12-05T03:15:11Z</published>
	<updated>2009-12-05T03:15:11Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2907058, was opened at 2009-12-01 22:01
&lt;br&gt;Message generated for change (Comment added) made by cyrillos
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Assembler
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Nobody/Anonymous (nobody)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: minor handle leak in assemble.c
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;In nasm 2.07, cppcheck notes the following leak
&lt;br&gt;&lt;br&gt;Checking assemble.c...
&lt;br&gt;[assemble.c:736]: (error) Resource leak: fp
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-12-05 14:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This item has been resolved; the fix has been checked into git
&lt;br&gt;(&lt;a href=&quot;http://repo.or.cz/w/nasm.git&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.or.cz/w/nasm.git&lt;/a&gt;) and will be in the next release.
&lt;br&gt;You can usually also obtain a nightly snapshot at &lt;a href=&quot;http://www.nasm.us/;&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nasm.us/;&lt;/a&gt;&amp;nbsp;the
&lt;br&gt;snapshot robot usually runs some time between 07:00 and 09:00 UTC, but
&lt;br&gt;sometimes runs immediately if there was no previous snapshot for today.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26654725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-bugs-f3599.html&quot; embed=&quot;fixTarget[3599]&quot; target=&quot;_top&quot; &gt;nasm-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--nasm-Bugs-2907058---minor-handle-leak-in-assemble.c-tp26654725p26654725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26637602</id>
	<title>Re: [PATCH] tests: remove golden directory at cleaning</title>
	<published>2009-12-03T20:04:38Z</published>
	<updated>2009-12-03T20:04:38Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On 12/4/09, H. Peter Anvin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26637602&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hpa@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/03/2009 12:58 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; Don't forget to delete test/golden directory
&lt;br&gt;&amp;gt;&amp;gt; if &amp;quot;clean&amp;quot; passed.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26637602&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;test/Makefile | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;1 files changed, 1 insertions(+), 0 deletions(-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; diff --git a/test/Makefile b/test/Makefile
&lt;br&gt;&amp;gt;&amp;gt; index 8b51359..100f1cc 100644
&lt;br&gt;&amp;gt;&amp;gt; --- a/test/Makefile
&lt;br&gt;&amp;gt;&amp;gt; +++ b/test/Makefile
&lt;br&gt;&amp;gt;&amp;gt; @@ -59,6 +59,7 @@ clean:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	rm -f *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	rm -rf testresults
&lt;br&gt;&amp;gt;&amp;gt; +	rm -rf golden
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	rm -f elftest elftest64
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;spotless: clean
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We should absolutely not do this! &amp;nbsp;Typically golden comes from a
&lt;br&gt;&amp;gt; previous build that we are trying to compare with.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Ah, i see. Thanks for explanation!
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26637602&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--tests%3A-remove-golden-directory-at-cleaning-tp26633109p26637602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634749</id>
	<title>Re: [PATCH] tests: remove golden directory at cleaning</title>
	<published>2009-12-03T14:53:05Z</published>
	<updated>2009-12-03T14:53:05Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 12/03/2009 12:58 PM, Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Don't forget to delete test/golden directory
&lt;br&gt;&amp;gt; if &amp;quot;clean&amp;quot; passed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;test/Makefile | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;gt; &amp;nbsp;1 files changed, 1 insertions(+), 0 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/test/Makefile b/test/Makefile
&lt;br&gt;&amp;gt; index 8b51359..100f1cc 100644
&lt;br&gt;&amp;gt; --- a/test/Makefile
&lt;br&gt;&amp;gt; +++ b/test/Makefile
&lt;br&gt;&amp;gt; @@ -59,6 +59,7 @@ clean:
&lt;br&gt;&amp;gt; &amp;nbsp;	rm -f *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin
&lt;br&gt;&amp;gt; &amp;nbsp;	rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64
&lt;br&gt;&amp;gt; &amp;nbsp;	rm -rf testresults
&lt;br&gt;&amp;gt; +	rm -rf golden
&lt;br&gt;&amp;gt; &amp;nbsp;	rm -f elftest elftest64
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;spotless: clean
&lt;/div&gt;&lt;br&gt;We should absolutely not do this! &amp;nbsp;Typically golden comes from a
&lt;br&gt;previous build that we are trying to compare with.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634749&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--tests%3A-remove-golden-directory-at-cleaning-tp26633109p26634749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26633109</id>
	<title>[PATCH] tests: remove golden directory at cleaning</title>
	<published>2009-12-03T12:58:56Z</published>
	<updated>2009-12-03T12:58:56Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">Don't forget to delete test/golden directory
&lt;br&gt;if &amp;quot;clean&amp;quot; passed.
&lt;br&gt;&lt;br&gt;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26633109&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;test/Makefile | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;1 files changed, 1 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/test/Makefile b/test/Makefile
&lt;br&gt;index 8b51359..100f1cc 100644
&lt;br&gt;--- a/test/Makefile
&lt;br&gt;+++ b/test/Makefile
&lt;br&gt;@@ -59,6 +59,7 @@ clean:
&lt;br&gt;&amp;nbsp;	rm -f *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin
&lt;br&gt;&amp;nbsp;	rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64
&lt;br&gt;&amp;nbsp;	rm -rf testresults
&lt;br&gt;+	rm -rf golden
&lt;br&gt;&amp;nbsp;	rm -f elftest elftest64
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;spotless: clean
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26633109&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--tests%3A-remove-golden-directory-at-cleaning-tp26633109p26633109.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26627507</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-03T07:08:38Z</published>
	<updated>2009-12-03T07:08:38Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Thu, Dec 03, 2009 at 06:51:38AM -0800, H. Peter Anvin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/03/2009 06:46 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; As I see you didn't applied it to the master repo. And
&lt;br&gt;&amp;gt; &amp;gt; please do NOT. It breaks some code. I'll post other
&lt;br&gt;&amp;gt; &amp;gt; propose/patch later (which fixed the problem but need
&lt;br&gt;&amp;gt; &amp;gt; a deep review).
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the warning!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Peter, if only I don't miss something I guess we need
&lt;br&gt;the patch below. The type of operands in template and
&lt;br&gt;instruction (being compiled) is checked in matches() and
&lt;br&gt;we've &amp;quot;missed operand size&amp;quot; only for those operands
&lt;br&gt;which other characteristics do match with template and
&lt;br&gt;only size is different. But sometime we have _several_ templates
&lt;br&gt;which have only difference in BITSx mask. So as only
&lt;br&gt;we get cumulative mask we take &amp;quot;minimal&amp;quot; BITSx from there
&lt;br&gt;and start matches() again.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;---
&lt;br&gt;&amp;gt;From fb773763d8cdcca0ba01ab7707d73231a88fcab1 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627507&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Thu, 3 Dec 2009 18:02:55 +0300
&lt;br&gt;Subject: [PATCH] find_match: find out minimal size match in fuzzy logic algo
&lt;br&gt;&lt;br&gt;In case if several instruction templates match
&lt;br&gt;our instruction with difference in size of the
&lt;br&gt;operand (and as result it's unclear which template
&lt;br&gt;is &amp;quot;better&amp;quot; for us) we just choose one which is
&lt;br&gt;smaller.
&lt;br&gt;&lt;br&gt;An user always may choose preferred by explicitly pointing
&lt;br&gt;out the operand size.
&lt;br&gt;&lt;br&gt;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627507&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;assemble.c | &amp;nbsp; 27 ++++++++++++++++++++++++---
&lt;br&gt;&amp;nbsp;1 files changed, 24 insertions(+), 3 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/assemble.c b/assemble.c
&lt;br&gt;index 4af059b..7372cbf 100644
&lt;br&gt;--- a/assemble.c
&lt;br&gt;+++ b/assemble.c
&lt;br&gt;@@ -1992,9 +1992,30 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;nbsp;	if (is_class(REGISTER, instruction-&amp;gt;oprs[i].type))
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* This tests if xsizeflags[i] has more than one bit set */
&lt;br&gt;-	if ((xsizeflags[i] &amp; (xsizeflags[i]-1)))
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;goto done;		/* No luck */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * This tests if xsizeflags[i] has more than one bit set
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * which means there is are few templates match our instruction
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * with difference in size of operand, so we choose a
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;quot;minimal&amp;quot; one
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((xsizeflags[i] &amp; (xsizeflags[i] - 1))) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (xsizeflags[i] &amp; BITS8)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS8;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS16)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS16;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS32)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS32;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS64)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS64;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS80)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS80;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS128)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS128;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (xsizeflags[i] &amp; BITS256)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] = BITS256;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;goto done; /* No luck */
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	instruction-&amp;gt;oprs[i].type |= xsizeflags[i]; /* Set the size */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627507&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26627507.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26627185</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-03T06:51:38Z</published>
	<updated>2009-12-03T06:51:38Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 12/03/2009 06:46 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As I see you didn't applied it to the master repo. And
&lt;br&gt;&amp;gt; please do NOT. It breaks some code. I'll post other
&lt;br&gt;&amp;gt; propose/patch later (which fixed the problem but need
&lt;br&gt;&amp;gt; a deep review).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Thanks for the warning!
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627185&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26627185.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26627115</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit	operand size</title>
	<published>2009-12-03T06:46:53Z</published>
	<updated>2009-12-03T06:46:53Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Wed, Dec 02, 2009 at 04:47:24PM -0800, H. Peter Anvin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/02/2009 01:34 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Ok, Peter, here is a final version of what I've done. Please review.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have applied it, even though I don't think it's technically 100%
&lt;br&gt;&amp;gt; correct. &amp;nbsp;However, it shouldn't introduce any new failures, and so it is
&lt;br&gt;&amp;gt; better than what we have now.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The real criterion should be &amp;quot;would this have worked if we had had a
&lt;br&gt;&amp;gt; size argument.&amp;quot; &amp;nbsp;This is a hard one to answer without further
&lt;br&gt;&amp;gt; restructuring the code, though.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;As I see you didn't applied it to the master repo. And
&lt;br&gt;please do NOT. It breaks some code. I'll post other
&lt;br&gt;propose/patch later (which fixed the problem but need
&lt;br&gt;a deep review).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26627115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26621560</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit operand size</title>
	<published>2009-12-02T22:21:20Z</published>
	<updated>2009-12-02T22:21:20Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On 12/3/09, H. Peter Anvin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26621560&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hpa@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/02/2009 01:34 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Ok, Peter, here is a final version of what I've done. Please review.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have applied it, even though I don't think it's technically 100%
&lt;br&gt;&amp;gt; correct. &amp;nbsp;However, it shouldn't introduce any new failures, and so it is
&lt;br&gt;&amp;gt; better than what we have now.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The real criterion should be &amp;quot;would this have worked if we had had a
&lt;br&gt;&amp;gt; size argument.&amp;quot; &amp;nbsp;This is a hard one to answer without further
&lt;br&gt;&amp;gt; restructuring the code, though.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;/div&gt;&lt;br&gt;Doh, now it breaks if RM_XMM in template and MEMORY in instruction :(
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26621560&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26621560.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26619305</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit operand size</title>
	<published>2009-12-02T16:47:24Z</published>
	<updated>2009-12-02T16:47:24Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 12/02/2009 01:34 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ok, Peter, here is a final version of what I've done. Please review.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;I have applied it, even though I don't think it's technically 100%
&lt;br&gt;correct. &amp;nbsp;However, it shouldn't introduce any new failures, and so it is
&lt;br&gt;better than what we have now.
&lt;br&gt;&lt;br&gt;The real criterion should be &amp;quot;would this have worked if we had had a
&lt;br&gt;size argument.&amp;quot; &amp;nbsp;This is a hard one to answer without further
&lt;br&gt;restructuring the code, though.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26619305&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26619305.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26616865</id>
	<title>Re: vcvtsi2sd broken in conversion to explicit operand size</title>
	<published>2009-12-02T13:34:28Z</published>
	<updated>2009-12-02T13:34:28Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Wed, Dec 02, 2009 at 12:56:57PM -0800, H. Peter Anvin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/02/2009 12:36 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Peter, I suppose we need something like
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp; * Missing operand size and a candidate for fuzzy matching...
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; temp-&amp;gt;operands; i++) {
&lt;br&gt;&amp;gt; &amp;gt; 		if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0)
&lt;br&gt;&amp;gt; &amp;gt; 		 &amp;nbsp; &amp;nbsp;if (is_class(instruction-&amp;gt;oprs[i].type &amp; OPTYPE_MASK, temp-&amp;gt;opd[i]))
&lt;br&gt;&amp;gt; &amp;gt; 		 &amp;nbsp; &amp;nbsp;	xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt; 	 &amp;nbsp; &amp;nbsp;opsizemissing = true;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Ie set size _only_ if it was same class operand in template and instruction. No?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, something like that... although it probably should be &amp; ~SIZE_MASK
&lt;br&gt;&amp;gt; instead of OPTYPE_MASK -- &amp;quot;would these actually match if it wasn't for
&lt;br&gt;&amp;gt; the size&amp;quot;?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Ok, Peter, here is a final version of what I've done. Please review.
&lt;br&gt;&lt;br&gt;Preamble for nasm-devel:
&lt;br&gt;&lt;br&gt;Viktor reported that after commit
&lt;br&gt;&lt;br&gt;| commit b2cad279d9af14fd054602fe067bf20488199ec4
&lt;br&gt;| Author: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;| Date: &amp;nbsp; Fri Aug 7 00:26:54 2009 +0400
&lt;br&gt;|
&lt;br&gt;| &amp;nbsp; &amp;nbsp;insns.dat -- convert AVX instructions part1
&lt;br&gt;|
&lt;br&gt;| &amp;nbsp; &amp;nbsp;Convert Intel AVX instructions to explisit size
&lt;br&gt;| &amp;nbsp; &amp;nbsp;format. Part 1.
&lt;br&gt;|
&lt;br&gt;| &amp;nbsp; &amp;nbsp;Also SAR instruction is touched as well.
&lt;br&gt;|
&lt;br&gt;| &amp;nbsp; &amp;nbsp;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;nasm stop compiling compatibility instructions like
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vcvtsi2sd xmm0, xmm1, [rdi] &amp;nbsp; &amp;nbsp; &amp;nbsp;; Compatibility
&lt;br&gt;&lt;br&gt;this is due to some obscure moments of fuzzy logic technique
&lt;br&gt;used to find out which size of operand we may use. In this
&lt;br&gt;example it should be DWORD in memory -- ie MEMORY|BITS32 in
&lt;br&gt;template.
&lt;br&gt;&lt;br&gt;So the patch for review is here. It seems we should use SIZE_MASK
&lt;br&gt;instead. But I didn't find proper combinaion.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;---
&lt;br&gt;&amp;gt;From 24340509a8cd862aa8379ec35e30b570c8e83a03 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Thu, 3 Dec 2009 00:20:33 +0300
&lt;br&gt;Subject: [PATCH 2/2] find_match: set argument size only for same class operands
&lt;br&gt;&lt;br&gt;We should check if operand in template has the same
&lt;br&gt;class as operand in instruction to eliminate an ability
&lt;br&gt;to set cumulative mask from different classes of operands.
&lt;br&gt;&lt;br&gt;Reported-by: Victor van den Elzen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;victor.vde@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;assemble.c | &amp;nbsp; &amp;nbsp;6 ++++--
&lt;br&gt;&amp;nbsp;1 files changed, 4 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/assemble.c b/assemble.c
&lt;br&gt;index 4af059b..220ff08 100644
&lt;br&gt;--- a/assemble.c
&lt;br&gt;+++ b/assemble.c
&lt;br&gt;@@ -1968,8 +1968,10 @@ static enum match_result find_match(const struct itemplate **tempp,
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; * Missing operand size and a candidate for fuzzy matching...
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; temp-&amp;gt;operands; i++) {
&lt;br&gt;-		if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0)
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;+		if ((temp-&amp;gt;opd[i] &amp; SAME_AS) == 0 &amp;&amp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(is_class(instruction-&amp;gt;oprs[i].type &amp; OPTYPE_MASK,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp-&amp;gt;opd[i] &amp; OPTYPE_MASK)))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsizeflags[i] |= temp-&amp;gt;opd[i] &amp; SIZE_MASK;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;opsizemissing = true;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616865&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-vcvtsi2sd-broken-in-conversion-to-explicit-operand-size-tp26616865p26616865.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26597221</id>
	<title>[ nasm-Bugs-2907058 ] minor handle leak in assemble.c</title>
	<published>2009-12-01T11:01:40Z</published>
	<updated>2009-12-01T11:01:40Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2907058, was opened at 2009-12-01 19:01
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by nobody
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Assembler
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Nobody/Anonymous (nobody)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: minor handle leak in assemble.c
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;In nasm 2.07, cppcheck notes the following leak
&lt;br&gt;&lt;br&gt;Checking assemble.c...
&lt;br&gt;[assemble.c:736]: (error) Resource leak: fp
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2907058&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26597221&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-bugs-f3599.html&quot; embed=&quot;fixTarget[3599]&quot; target=&quot;_top&quot; &gt;nasm-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--nasm-Bugs-2907058---minor-handle-leak-in-assemble.c-tp26597221p26597221.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581654</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T12:52:20Z</published>
	<updated>2009-11-30T12:52:20Z</updated>
	<author>
		<name>Frank Kotler-3</name>
	</author>
	<content type="html">H. Peter Anvin wrote:
&lt;br&gt;&amp;gt; On 11/30/2009 12:02 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; If I recall correctly someone on forum was asking for RDF standart.
&lt;br&gt;&amp;gt;&amp;gt; Perhaps it's still used.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well, outrdf.c as opposed to outrdf2.c...
&lt;br&gt;&lt;br&gt;Yeah. As I recall, we evicted the old outrdf.c from the tree, and it 
&lt;br&gt;slipped back in somehow. Deb Wiles was concerned about &amp;quot;dropping&amp;quot; a 
&lt;br&gt;format, but I think we convinced her that the guys who were using rdf 
&lt;br&gt;v.1 were the ones who abandoned it and went to rdf v.2. I agree that it 
&lt;br&gt;should be removed.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Frank
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26581654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581130</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T12:15:38Z</published>
	<updated>2009-11-30T12:15:38Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/30/2009 12:02 PM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I recall correctly someone on forum was asking for RDF standart.
&lt;br&gt;&amp;gt; Perhaps it's still used.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Well, outrdf.c as opposed to outrdf2.c...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26581130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580935</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T12:02:19Z</published>
	<updated>2009-11-30T12:02:19Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 11:50:56AM -0800, H. Peter Anvin wrote:
&lt;br&gt;&amp;gt; On 11/30/2009 11:40 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Just noted you've already made so.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes... I'm still confused how it manage to escape.
&lt;br&gt;&lt;br&gt;Have no idea, just hit it while was fixing the bug
&lt;br&gt;with binding symbols to .text section (other patch
&lt;br&gt;was posted). And then I found a limit of section
&lt;br&gt;name (up to 8 symbols) in MachO, so I decided to try
&lt;br&gt;to compile horrible asm file -- and eventually got
&lt;br&gt;Segmentation Fault. This was a surprise since all
&lt;br&gt;code looks pretty fine.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; outrdf.c still seems to use the old interfaces; I'm not sure if there is
&lt;br&gt;&amp;gt; any reason to keep outrdf.c alive since I doubt it has even compiled any
&lt;br&gt;&amp;gt; time recently...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;If I recall correctly someone on forum was asking for RDF standart.
&lt;br&gt;Perhaps it's still used.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580935&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26580935.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580778</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T11:50:56Z</published>
	<updated>2009-11-30T11:50:56Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/30/2009 11:40 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just noted you've already made so.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes... I'm still confused how it manage to escape.
&lt;br&gt;&lt;br&gt;outrdf.c still seems to use the old interfaces; I'm not sure if there is
&lt;br&gt;any reason to keep outrdf.c alive since I doubt it has even compiled any
&lt;br&gt;time recently...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580778&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26580778.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580644</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T11:40:34Z</published>
	<updated>2009-11-30T11:40:34Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 10:39:28PM +0300, Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 30, 2009 at 11:26:43AM -0800, H. Peter Anvin wrote:
&lt;br&gt;&amp;gt; &amp;gt; On 11/29/2009 11:55 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Sun, Nov 29, 2009 at 10:35:50PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; Please review, I've just got NULL dereference.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; I dunno perhaps it's just Linux environment
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; specifics but error here is static variable never
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; being explicitly set other then 0.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; MachO-64 uses nasm_error by default so it handles
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; error messages without problems.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; Patch looks good?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sorry for previous message Subject: line :(
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Humm... it looks like several files escaped the global replacement of
&lt;br&gt;&amp;gt; &amp;gt; functions... this is probably a source of bugs so I'd rather fix it
&lt;br&gt;&amp;gt; &amp;gt; properly. &amp;nbsp;In the case of outmacho32.c it means changing error() to
&lt;br&gt;&amp;gt; &amp;gt; nasm_error().
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 	-hpa
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, initially I would like to make it so, but then though to not
&lt;br&gt;&amp;gt; bring a number of line changed in late -rc. If this is acceptible,
&lt;br&gt;&amp;gt; I may change them and commit. WHat is preferred?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 	-- Cyrill
&lt;/div&gt;&lt;br&gt;Just noted you've already made so.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580644&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26580644.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580627</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T11:39:28Z</published>
	<updated>2009-11-30T11:39:28Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 11:26:43AM -0800, H. Peter Anvin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 11/29/2009 11:55 AM, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Sun, Nov 29, 2009 at 10:35:50PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Please review, I've just got NULL dereference.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I dunno perhaps it's just Linux environment
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; specifics but error here is static variable never
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; being explicitly set other then 0.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; MachO-64 uses nasm_error by default so it handles
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; error messages without problems.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Patch looks good?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Sorry for previous message Subject: line :(
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Humm... it looks like several files escaped the global replacement of
&lt;br&gt;&amp;gt; functions... this is probably a source of bugs so I'd rather fix it
&lt;br&gt;&amp;gt; properly. &amp;nbsp;In the case of outmacho32.c it means changing error() to
&lt;br&gt;&amp;gt; nasm_error().
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Yes, initially I would like to make it so, but then though to not
&lt;br&gt;bring a number of line changed in late -rc. If this is acceptible,
&lt;br&gt;I may change them and commit. WHat is preferred?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26580627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580450</id>
	<title>Re: MachO: Use nasm_error by default</title>
	<published>2009-11-30T11:26:43Z</published>
	<updated>2009-11-30T11:26:43Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/29/2009 11:55 AM, Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 29, 2009 at 10:35:50PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; Please review, I've just got NULL dereference.
&lt;br&gt;&amp;gt;&amp;gt; I dunno perhaps it's just Linux environment
&lt;br&gt;&amp;gt;&amp;gt; specifics but error here is static variable never
&lt;br&gt;&amp;gt;&amp;gt; being explicitly set other then 0.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; MachO-64 uses nasm_error by default so it handles
&lt;br&gt;&amp;gt;&amp;gt; error messages without problems.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Patch looks good?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry for previous message Subject: line :(
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Humm... it looks like several files escaped the global replacement of
&lt;br&gt;functions... this is probably a source of bugs so I'd rather fix it
&lt;br&gt;properly. &amp;nbsp;In the case of outmacho32.c it means changing error() to
&lt;br&gt;nasm_error().
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580450&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26580450.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26566642</id>
	<title>[ nasm-Bugs-2835192 ] Not defaulting to .text</title>
	<published>2009-11-29T13:57:22Z</published>
	<updated>2009-11-29T13:57:22Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2835192, was opened at 2009-08-11 02:00
&lt;br&gt;Message generated for change (Comment added) made by cyrillos
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2835192&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2835192&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Assembler
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Armence (armence)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Not defaulting to .text
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When this file is assembled with the following options: -felf32 the start symbol is undefined as illustrated in the following obdump of the resulting output:
&lt;br&gt;00000000 l &amp;nbsp; &amp;nbsp;df *ABS*	00000000 start.s
&lt;br&gt;00000000 l &amp;nbsp; &amp;nbsp;d &amp;nbsp;.bss	00000000 .bss
&lt;br&gt;00000000 l &amp;nbsp; &amp;nbsp;d &amp;nbsp;.text	00000000 .text
&lt;br&gt;00000001 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_PAGE_ALIGN
&lt;br&gt;00000002 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_MEMORY_INFO
&lt;br&gt;00010000 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_AOUT_KLUDGE
&lt;br&gt;1badb002 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_HEADER_MAGIC
&lt;br&gt;00010003 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_HEADER_FLAGS
&lt;br&gt;e4514ffb l &amp;nbsp; &amp;nbsp; &amp;nbsp; *ABS*	00000000 MULTIBOOT_CHECKSUM
&lt;br&gt;00000000 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 mboot
&lt;br&gt;00000000 l &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 stublet
&lt;br&gt;00002000 l &amp;nbsp; &amp;nbsp; &amp;nbsp; .bss	00000000 _sys_stack
&lt;br&gt;00000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 code
&lt;br&gt;00000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 bss
&lt;br&gt;00000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 end
&lt;br&gt;00000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *UND*	00000000 start
&lt;br&gt;&lt;br&gt;Uncommenting SECTION .text solves the problem
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Cyrill Gorcunov (cyrillos)
&lt;br&gt;Date: 2009-11-30 00:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Thanks for report. I've just posted a patch for review.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Armence (armence)
&lt;br&gt;Date: 2009-08-11 02:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I forgot to put version info. Here it is:
&lt;br&gt;NASM version 2.05.01 compiled on Nov &amp;nbsp;5 2008
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2835192&amp;group_id=6208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=106208&amp;aid=2835192&amp;group_id=6208&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566642&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-bugs-f3599.html&quot; embed=&quot;fixTarget[3599]&quot; target=&quot;_top&quot; &gt;nasm-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--nasm-Bugs-2835192---Not-defaulting-to-.text-tp26566642p26566642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565662</id>
	<title>[PATCH] Elf: bind labels to text section by default</title>
	<published>2009-11-29T12:24:08Z</published>
	<updated>2009-11-29T12:24:08Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">Please review. The former request is there
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2835192&amp;group_id=6208&amp;atid=106208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;aid=2835192&amp;group_id=6208&amp;atid=106208&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;---
&lt;br&gt;From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565662&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 29 Nov 2009 23:21:16 +0300
&lt;br&gt;Subject: [PATCH] Elf: bind labels to text section by default
&lt;br&gt;&lt;br&gt;In case if SECTION is omitted for pure code we form
&lt;br&gt;it by default and put it there. In turn labels are
&lt;br&gt;not handled the same manner.
&lt;br&gt;&lt;br&gt;So lets bind them to text section by default as well.
&lt;br&gt;&lt;br&gt;[ BR: 2835192 ]
&lt;br&gt;&lt;br&gt;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565662&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;output/outelf32.c | &amp;nbsp; 23 ++++++++++++-----------
&lt;br&gt;&amp;nbsp;output/outelf64.c | &amp;nbsp; 23 ++++++++++++-----------
&lt;br&gt;&amp;nbsp;2 files changed, 24 insertions(+), 22 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/output/outelf32.c b/output/outelf32.c
&lt;br&gt;index de31805..1625fb7 100644
&lt;br&gt;--- a/output/outelf32.c
&lt;br&gt;+++ b/output/outelf32.c
&lt;br&gt;@@ -523,19 +523,20 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int i;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = SHN_UNDEF;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nsects == 0 &amp;&amp; segment == def_seg) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == def_seg) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* we have to be sure at least text section is there */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int tempint;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment != elf_section_names(&amp;quot;.text&amp;quot;, 2, &amp;tempint))
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nasm_error(ERR_PANIC,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;strange segment conditions in ELF driver&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = nsects;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; nsects; i++)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == sects[i]-&amp;gt;index) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = i + 1;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;elf_section_names(&amp;quot;.text&amp;quot;, 2, &amp;tempint);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = nsects;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; nsects; i++) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == sects[i]-&amp;gt;index) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = i + 1;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nsects &amp;&amp; i == nsects)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nasm_error(ERR_PANIC, &amp;quot;strange segment conditions in ELF driver&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_global == 2) {
&lt;br&gt;diff --git a/output/outelf64.c b/output/outelf64.c
&lt;br&gt;index ba049b1..18508fb 100644
&lt;br&gt;--- a/output/outelf64.c
&lt;br&gt;+++ b/output/outelf64.c
&lt;br&gt;@@ -527,19 +527,20 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int i;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = SHN_UNDEF;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nsects == 0 &amp;&amp; segment == def_seg) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == def_seg) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* we have to be sure at least text section is there */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int tempint;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment != elf_section_names(&amp;quot;.text&amp;quot;, 2, &amp;tempint))
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nasm_error(ERR_PANIC,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;strange segment conditions in ELF driver&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = nsects;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; nsects; i++)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == sects[i]-&amp;gt;index) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = i + 1;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;elf_section_names(&amp;quot;.text&amp;quot;, 2, &amp;tempint);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = nsects;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; nsects; i++) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (segment == sects[i]-&amp;gt;index) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sym-&amp;gt;section = i + 1;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nsects &amp;&amp; i == nsects)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nasm_error(ERR_PANIC, &amp;quot;strange segment conditions in ELF driver&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_global == 2) {
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565662&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Elf%3A-bind-labels-to-text-section-by-default-tp26565662p26565662.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565397</id>
	<title>MachO: Use nasm_error by default</title>
	<published>2009-11-29T11:55:28Z</published>
	<updated>2009-11-29T11:55:28Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 10:35:50PM +0300, Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; Please review, I've just got NULL dereference.
&lt;br&gt;&amp;gt; I dunno perhaps it's just Linux environment
&lt;br&gt;&amp;gt; specifics but error here is static variable never
&lt;br&gt;&amp;gt; being explicitly set other then 0.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; MachO-64 uses nasm_error by default so it handles
&lt;br&gt;&amp;gt; error messages without problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Patch looks good?
&lt;br&gt;&lt;br&gt;Sorry for previous message Subject: line :(
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565397&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Sun, 29 Nov 2009 22:27:06 +0300
&lt;br&gt;&amp;gt; Subject: [PATCH] MachO: Use nasm_error by default
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We may reach strange errors like NULL dereference
&lt;br&gt;&amp;gt; while reporting error. So make explicit assignment
&lt;br&gt;&amp;gt; the error function to nasm_error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565397&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;output/outmacho32.c | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;gt; &amp;nbsp;1 files changed, 1 insertions(+), 1 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/output/outmacho32.c b/output/outmacho32.c
&lt;br&gt;&amp;gt; index 4ce9eea..99e0e94 100644
&lt;br&gt;&amp;gt; --- a/output/outmacho32.c
&lt;br&gt;&amp;gt; +++ b/output/outmacho32.c
&lt;br&gt;&amp;gt; @@ -208,7 +208,7 @@ static struct RAA *extsyms;
&lt;br&gt;&amp;gt; &amp;nbsp;static struct SAA *strs;
&lt;br&gt;&amp;gt; &amp;nbsp;static uint32_t strslen;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -static efunc error;
&lt;br&gt;&amp;gt; +static efunc error = nasm_error;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;extern struct ofmt of_macho;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; 1.6.5
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565397&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26565397.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565196</id>
	<title>asd</title>
	<published>2009-11-29T11:35:50Z</published>
	<updated>2009-11-29T11:35:50Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">Please review, I've just got NULL dereference.
&lt;br&gt;I dunno perhaps it's just Linux environment
&lt;br&gt;specifics but error here is static variable never
&lt;br&gt;being explicitly set other then 0.
&lt;br&gt;&lt;br&gt;MachO-64 uses nasm_error by default so it handles
&lt;br&gt;error messages without problems.
&lt;br&gt;&lt;br&gt;Patch looks good?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;---
&lt;br&gt;From: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565196&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 29 Nov 2009 22:27:06 +0300
&lt;br&gt;Subject: [PATCH] MachO: Use nasm_error by default
&lt;br&gt;&lt;br&gt;We may reach strange errors like NULL dereference
&lt;br&gt;while reporting error. So make explicit assignment
&lt;br&gt;the error function to nasm_error.
&lt;br&gt;&lt;br&gt;Signed-off-by: Cyrill Gorcunov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565196&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gorcunov@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;output/outmacho32.c | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;1 files changed, 1 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/output/outmacho32.c b/output/outmacho32.c
&lt;br&gt;index 4ce9eea..99e0e94 100644
&lt;br&gt;--- a/output/outmacho32.c
&lt;br&gt;+++ b/output/outmacho32.c
&lt;br&gt;@@ -208,7 +208,7 @@ static struct RAA *extsyms;
&lt;br&gt;&amp;nbsp;static struct SAA *strs;
&lt;br&gt;&amp;nbsp;static uint32_t strslen;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-static efunc error;
&lt;br&gt;+static efunc error = nasm_error;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;extern struct ofmt of_macho;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565196&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/asd-tp26565196p26565196.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565141</id>
	<title>Re: 2.08rc5; final release?</title>
	<published>2009-11-29T10:31:09Z</published>
	<updated>2009-11-29T10:31:09Z</updated>
	<author>
		<name>Keith Kanios-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Cyrill Gorcunov wrote:
&lt;blockquote cite=&quot;mid:20091129095830.GA4927@lenovo&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;On Sat, Nov 28, 2009 at 03:36:48PM -0800, H. Peter Anvin wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;I just tagged 2.08rc5; does anyone see anything (other than the release
notes) that still need to happen before 2.08, or should we say it's good
enough?
	
	-hpa

    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
Looks good enough for me. Though we still have a few pending
issues

1) context-local macros still defined in new context - ID: 2899470
   &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2899470&amp;group_id=6208&amp;atid=106208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;amp;aid=2899470&amp;amp;group_id=6208&amp;amp;atid=106208&lt;/a&gt;
   Keith, could you take a look?

2) Not defaulting to .text - ID: 2835192
   &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2835192&amp;group_id=6208&amp;atid=106208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;amp;aid=2835192&amp;amp;group_id=6208&amp;amp;atid=106208&lt;/a&gt;
   Will take a look.

  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
To be honest, I won't have the time to look at it for at least the next
two weeks.&lt;br&gt;
&lt;br&gt;
-Keith
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565141&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.08rc5--final-release--tp26558054p26565141.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26560578</id>
	<title>Re: 2.08rc5; final release?</title>
	<published>2009-11-29T01:58:30Z</published>
	<updated>2009-11-29T01:58:30Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 03:36:48PM -0800, H. Peter Anvin wrote:
&lt;br&gt;&amp;gt; I just tagged 2.08rc5; does anyone see anything (other than the release
&lt;br&gt;&amp;gt; notes) that still need to happen before 2.08, or should we say it's good
&lt;br&gt;&amp;gt; enough?
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	-hpa
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Looks good enough for me. Though we still have a few pending
&lt;br&gt;issues
&lt;br&gt;&lt;br&gt;1) context-local macros still defined in new context - ID: 2899470
&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2899470&amp;group_id=6208&amp;atid=106208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;aid=2899470&amp;group_id=6208&amp;atid=106208&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Keith, could you take a look?
&lt;br&gt;&lt;br&gt;2) Not defaulting to .text - ID: 2835192
&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2835192&amp;group_id=6208&amp;atid=106208&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;aid=2835192&amp;group_id=6208&amp;atid=106208&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Will take a look.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26560578&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.08rc5--final-release--tp26558054p26560578.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26558054</id>
	<title>2.08rc5; final release?</title>
	<published>2009-11-28T15:36:48Z</published>
	<updated>2009-11-28T15:36:48Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">I just tagged 2.08rc5; does anyone see anything (other than the release
&lt;br&gt;notes) that still need to happen before 2.08, or should we say it's good
&lt;br&gt;enough?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558054&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.08rc5--final-release--tp26558054p26558054.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454508</id>
	<title>Re: preprocessor hang?</title>
	<published>2009-11-21T00:12:04Z</published>
	<updated>2009-11-21T00:12:04Z</updated>
	<author>
		<name>Cyrill Gorcunov</name>
	</author>
	<content type="html">On Fri, Nov 20, 2009 at 11:52:23PM -0600, Keith Kanios wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Keith Kanios wrote:
&lt;br&gt;&amp;gt;&amp;gt; Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Nov 18, 2009 at 12:48:46PM -0800, anonymous coward wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I suppose we may need Keith to take a look on. CC'ed.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Keith, it seems [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Btw, after you manage to fix this recursion problem, the code
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; in question still faces the same fundamental issue -- the arg
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to the my_undef invocations (i.e. x) gets expanded first; thus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the %undef inside the macro sees esp+4 and esp+8 instead
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; of x, and fails. What you'd need is a means to prevent the ex-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; pansion -- look for e.g. %# in 4.1.4 of the manual.txt which is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; attached to SF #1842438; it implements exactly that -- I once
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; filed SF #829879 for this feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yeah, I know that it gets expanded. I'm just completely out of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; time to get closer look at. And perhaps Keith has some idea of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fixing endless loop by other way. So I would better wait for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; his opinion.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'll take a look. -Keith
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your proposal seems fine, tests out fine as well. I can't vouch for any &amp;nbsp;
&lt;br&gt;&amp;gt; deep implications, but considering the run-away impact an interminable &amp;nbsp;
&lt;br&gt;&amp;gt; macro recursion may have, giving NASM a solid means to &amp;quot;recover&amp;quot; so the &amp;nbsp;
&lt;br&gt;&amp;gt; dev can address such an error is good enough for now.
&lt;/div&gt;&lt;br&gt;Thanks for review Keith! I'll push the commit then.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anon is also correct in that we would need a special directive to &amp;nbsp;
&lt;br&gt;&amp;gt; instruct the delay of macro expansion, although I don't see this as &amp;nbsp;
&lt;br&gt;&amp;gt; critical or even high priority at the moment. The intermediate solution &amp;nbsp;
&lt;br&gt;&amp;gt; for this is, don't use indirection if it is not needed... an inline &amp;nbsp;
&lt;br&gt;&amp;gt; %undef should be sufficient.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;ok
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Cyrill
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/preprocessor-hang--tp26403153p26454508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454036</id>
	<title>Re: preprocessor hang?</title>
	<published>2009-11-20T21:52:23Z</published>
	<updated>2009-11-20T21:52:23Z</updated>
	<author>
		<name>Keith Kanios-2</name>
	</author>
	<content type="html">Keith Kanios wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Cyrill Gorcunov wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Nov 18, 2009 at 12:48:46PM -0800, anonymous coward wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I suppose we may need Keith to take a look on. CC'ed.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Keith, it seems [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Btw, after you manage to fix this recursion problem, the code
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; in question still faces the same fundamental issue -- the arg
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to the my_undef invocations (i.e. x) gets expanded first; thus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the %undef inside the macro sees esp+4 and esp+8 instead
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of x, and fails. What you'd need is a means to prevent the ex-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; pansion -- look for e.g. %# in 4.1.4 of the manual.txt which is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; attached to SF #1842438; it implements exactly that -- I once
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; filed SF #829879 for this feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Yeah, I know that it gets expanded. I'm just completely out of
&lt;br&gt;&amp;gt;&amp;gt; time to get closer look at. And perhaps Keith has some idea of
&lt;br&gt;&amp;gt;&amp;gt; fixing endless loop by other way. So I would better wait for
&lt;br&gt;&amp;gt;&amp;gt; his opinion.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'll take a look. -Keith
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Your proposal seems fine, tests out fine as well. I can't vouch for any 
&lt;br&gt;deep implications, but considering the run-away impact an interminable 
&lt;br&gt;macro recursion may have, giving NASM a solid means to &amp;quot;recover&amp;quot; so the 
&lt;br&gt;dev can address such an error is good enough for now.
&lt;br&gt;&lt;br&gt;Anon is also correct in that we would need a special directive to 
&lt;br&gt;instruct the delay of macro expansion, although I don't see this as 
&lt;br&gt;critical or even high priority at the moment. The intermediate solution 
&lt;br&gt;for this is, don't use indirection if it is not needed... an inline 
&lt;br&gt;%undef should be sufficient.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454036&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/preprocessor-hang--tp26403153p26454036.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26453812</id>
	<title>Re: preprocessor hang?</title>
	<published>2009-11-20T20:54:01Z</published>
	<updated>2009-11-20T20:54:01Z</updated>
	<author>
		<name>Keith Kanios-2</name>
	</author>
	<content type="html">Cyrill Gorcunov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 18, 2009 at 12:48:46PM -0800, anonymous coward wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I suppose we may need Keith to take a look on. CC'ed.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Keith, it seems [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Btw, after you manage to fix this recursion problem, the code
&lt;br&gt;&amp;gt;&amp;gt; in question still faces the same fundamental issue -- the arg
&lt;br&gt;&amp;gt;&amp;gt; to the my_undef invocations (i.e. x) gets expanded first; thus
&lt;br&gt;&amp;gt;&amp;gt; the %undef inside the macro sees esp+4 and esp+8 instead
&lt;br&gt;&amp;gt;&amp;gt; of x, and fails. What you'd need is a means to prevent the ex-
&lt;br&gt;&amp;gt;&amp;gt; pansion -- look for e.g. %# in 4.1.4 of the manual.txt which is
&lt;br&gt;&amp;gt;&amp;gt; attached to SF #1842438; it implements exactly that -- I once
&lt;br&gt;&amp;gt;&amp;gt; filed SF #829879 for this feature.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yeah, I know that it gets expanded. I'm just completely out of
&lt;br&gt;&amp;gt; time to get closer look at. And perhaps Keith has some idea of
&lt;br&gt;&amp;gt; fixing endless loop by other way. So I would better wait for
&lt;br&gt;&amp;gt; his opinion.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	-- Cyrill
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;I'll take a look. -Keith
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Nasm-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nasm-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/nasm-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/nasm-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/nasm-devel-f3600.html&quot; embed=&quot;fixTarget[3600]&quot; target=&quot;_top&quot; &gt;nasm-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/preprocessor-hang--tp26403153p26453812.html" />
</entry>

</feed>
