This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SPARCv9 as : flush instruction


From: Vincent Pelletier <subdino2004@yahoo.fr>
Date: Sat, 27 Aug 2005 22:37:04 +0200

> Gives (quote form OB output) :
> 	iflush  %l0, %g0, %g0

OB is printing out the v8 mnemonic, and trying to print out the unused
destination register field (bits 25-29) in the instruction, which are
reserved and always must be zero, which matches up to register %g0.

I just tested binutils and it does accept reg + reg and reg + imm
just fine:

	flush	%g1 + 4
	flush	%g1 + %o4

davem@sunset:~/src/GIT/sparc-2.6$ as -o foo.o foo.s
davem@sunset:~/src/GIT/sparc-2.6$ 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]