>>>>> "greg" == Greg Lindahl <lindahl@keyresearch.com> writes: >> > Sometimes you don't care whether you do only "half" a macro instruction >> > if the branch is taken. Usually though, the warning is a good thing - I >> > remember having spent many hours finding bugs like this with assemblers >> > that don't issue warnings. >> >> This is exactly what ".set nomacro" is for -- I can't see any reason for >> such warnings when ".set macro" is active. greg> While in general I like playing with sharp knives (you should see my greg> cluster admin toolkit), and I like my kernel to run fast, and the only greg> thing that gets trashed is usually at, I still think I'd prefer to greg> have nops in those delay slots in the kernel. Hand-written assembly is greg> unlikely to use ".set nomacro" properly. In the kernel for IP22 (I suppose the same for other architectures), it has only two Assembler warnings. And they are all in the fast path :( one is in entry.S:excetp_vec3_r4000 and the other is in head.S:ejtag_debug_handler I am not sure about the first one, but the second one shouldn't be performance critical :( Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy