delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/18/17:16:39

Date: Tue, 18 Jan 94 16:55:15 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: joconnors AT cix DOT compulink DOT co DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: GAS support for intel movs & c.

> Does GAS support the ix86 string move / compare instructions? Does the
> compiler make any use of them in optimization? What are the GAS assembly
> language instructions that generate them? Where can I get an account
> of the GAS assembly language instructions (yes, I know I could examine the
> source, but space on my Hard Disk is getting >smalller< all the time...
> is there an alternative?

GAS supports all i386 opcodes.  Gcc uses string moves to do structure
copies in some cases.  Relevent code looks like this:

	rep
	movsb

The GAS docs have some information about the GAS syntax, but I use
"gcc -S" or the sources most of the time.


- Raw text -


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