List Info

Thread: Re: Immediate arguments optimizer fails




Re: Immediate arguments optimizer fails
user name
2008-03-20 00:01:13
H. Peter Anvin wrote:
> Charles Crayne wrote:
>> On Wed, 19 Mar 2008 21:24:34 -0700
>> "H. Peter Anvin" <hpazytor.com> wrote:
>>
>>> That doesn't change the fact that, with the
optimizer on:
>>>
>>> 	bits 32
>>> 	push 0FFFFFFFFh
>>>
>>> ... should produce a 2-byte sequence, not a
5-byte sequence.  Period. 
>> What should:
>>
>>      bits 32
>>      push 4294967295
>>
>> ... produce?
>>
> 
> The same thing.
> 

To be utterly specific:

The optimizer should always produce the shortest sequence
that:

- is fully semantically equivalent;
- is as fast or faster than the original sequence.

	-hpa

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nasm-devel mailing list
Nasm-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nasm-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )