This looks fine except for one case that looks rather fishy (and may be a
transcription bug rather than a real bug).
> instruction prefix effect
> movw %ds,%eax yes As above, %eax is an alias for %ax as far as
> gas is concerned.
The above would be even better if it warned, but is consistent with other
gas usage (ie a size letter on the instruction - "w" - overrides the size
of the register used - %eax)
> movl %ds,%ax yes As above, %ax is an alias for %eax as far as
> gas is concerned.
But the above looks like a bug according to the same rule: I'd prefer to
get a warning, but lacking a warning gas in all other cases seems to have
the override letter be "more important" than the register designator.
Whatever the case, the above two cases don't make sense: one one of the
cases the letter takes precedence, in the other case the register name
takes precedence. A warning would be good, but consistency would be
sufficient ;)
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu