Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- From: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx>
- Date: Mon, 23 Jul 2007 23:44:52 +0530 (IST)
On Mon, 23 Jul 2007, Linus Torvalds wrote:
On Mon, 23 Jul 2007, Satyam Sharma wrote:
* The "I" constraint modifier is applicable only to immediate-value operands,
and combining it with "r" is bogus.
This is wrong too.
The whole point of a "Ir" modifier is to say that the instruction takes
*either* an "I" or an "r".
Yup, sorry about this one, Andi pointed this out earlier. But the "I"
must still go I think, for the third reason in that changelog -- it
unnecessarily limits the bit offset to 0..31, but (at least from the
comment up front in that file) we do allow arbitrarily large @nr (upto
255, of course, these instructions won't take anything greater than that).
Andrew - the ones I've looked at were all wrong. Please don't take this
series.
I think I'll rescind the series anyway, a lot of patches turned out to
be wrong -- some due to mis-reading / incorrect gcc docs, others due to
other reasons ... this was just something I did thinking of as a cleanup
anyway, so I don't intend to push or correct this or anything.
Satyam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- From: Andi Kleen
- Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- References:
- [PATCH 0/8] i386: bitops: Cleanup, sanitize, optimize
- From: Satyam Sharma
- [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- From: Satyam Sharma
- Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- From: Linus Torvalds
- [PATCH 0/8] i386: bitops: Cleanup, sanitize, optimize
- Prev by Date: [PATCH respin, was PATCH for review] During VM oom condition, kill all threads in process group
- Next by Date: Re: [linux-pm] Power Management framework proposal
- Previous by thread: Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- Next by thread: Re: [PATCH 2/8] i386: bitops: Rectify bogus "Ir" constraints
- Index(es):
Relevant Pages
|