[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] APM support doesn't compile with binutils

On Thu, 26 Mar 1998, Alan Modra wrote:
> I have another patch which I think has the correct behaviour. Here is
> an example of what my latest gas produces, assuming a default data
> size of 32 bits.

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 ;)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:41    [W:0.072 / U:0.724 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site