www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/12/09:28:30

Message-Id: <3.0.6.32.19990212092623.00840750@pop.netaddress.com>
X-Sender: pderbysh AT pop DOT netaddress DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Fri, 12 Feb 1999 09:26:23 -0500
To: djgpp AT delorie DOT com
From: Paul Derbyshire <pderbysh AT usa DOT net>
Subject: Asm question
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I notice gcc zeroes eax using


xorl  %eax, %eax

rather than

movl  $0, %eax

Is the xorl faster or more pipelinable or something? Seems
counterintuitive. :-)

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019