Re: jak to jest z tym 800 Mhz (bus speed)

Autor: Marcin Wojtczuk (we-steal-from-artists_at_riaa.com)
Data: Mon 03 Nov 2003 - 17:15:16 MET


MiW claimed:
> <cyt>
> To clear an integer register to all 0s use 'xor reg, reg'. AMD Athlon
> processor is able to avoid the false read dependency on the XOR instruction.
>
> Acceptable: MOV reg, 0
> Preferred: XOR reg, reg
> </cyt>
>
> Czyli jednak ten podwojny odczyt jest, ale procesor potrafi to sprzetowo
> zoptymalizowac.

No i xor jest jeszcze dobry dlatego że w shellcode nie może być zera ;-))

-- 
             Marcin  Wojtczuk
     [ http://www.stringi.com/viper/ ]
         Irc nicks: fv, FastViper


To archiwum zostało wygenerowane przez hypermail 2.1.7 : Wed 19 May 2004 - 11:37:21 MET DST