This is the mail archive of the binutils@sources.redhat.com 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]

Re: ssnop for mips


mrs@windriver.com ("mike stump") writes:
> 2001-07-18  Mike Stump  <mrs@wrs.com>
> 
> 	* mips-opc.c (ssnop): While the documentation makes it seem
> 	like this instruction is new for MIPS32, it is not, it is needed
> 	on all ISA levels.

for some value of 'needed'.  it may have some absolutely different
'no-op' meaning on non-MIPS32/MIPS64 processors.

if i recall correctly, that instruction doesn't inhibit multi-issue.


Personally, I don't think it should be enabled if not MIPS32/MIPS64:

* the behaviour may not be what's expected, and

* if you need to use it, you can quite easily do:

	.set push
	.set mips32
	... whatever ...
	ssnop
	... whatever ...
	.set pop


"not my decision," though, and it sounds like you've already got your
approval.


cgd


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