Messages in this thread | | | Date | Tue, 15 Jun 2010 10:28:03 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 00/13] jump label v9 |
| |
On 06/15/2010 10:13 AM, David Miller wrote: > From: Jason Baron <jbaron@redhat.com> > Date: Tue, 15 Jun 2010 10:28:11 -0400 > >> For example, the reason I have it in the code is b/c x86 determines >> the best no-op at run-time. Are other architectures going to have to >> require this kind of functionality. Or like sparc, are we going to >> be able to generally hard-code the nops on non-x86 at compile-time? > > I think most architectures will use a constant nop sequence, in fact > x86 is the only one I can think of that needs variable nop sequences. >
One could potentially see that for other variable-length-instructions architectures, e.g. S390, m68k or ARM/Thumb2 as well.
For fixed-length-instructions architectures, well, it shouldn't be an issue.
-hpa
| |