Mail Archives: djgpp/1997/10/20/15:10:00
good AT soback DOT kornet DOT nm DOT kr wrote:
> I have a question in DJGPP inline assembly.
> Among MOVW %AX, %BX, MOVL %EAX, %EBX
>
> This is just about speed, not others.
The 32 bits version is faster under DJGPP because even when 386/486 times sheet
states that takes the same time the MOVW uses more memory reducing the cache
effectivity. It takes more memory because the MOVW have the same opcode as
MOVL, but with a prefix to indicate that the next operation is a 16 bits one.
Of course P5 and specially P6 are slower in 16 bits.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -