i386 assembler issue?

Jeffrey A Law law@cygnus.com
Fri Apr 28 09:56:00 GMT 2000


  In message < 39090C07.61A7ACBA@BitWagon.com >you write:
  > OK, I understand the concern about i486 being slower with an implicit shift
  >  count of 1.
  > But when the -Os (optimize for space) flag is specified, then please use th
  > e implicit
  > form for shifts by 1, because it is one byte shorter.  Every byte counts in
  >  an embedded
  > system, or in ROM, etc.
The question is do all ia32 assemblers accept the instruction without an
explicit shift count.  If they do, then we can obviously fix this in the
compiler where we have information about what optimizations were requested
(like size optimizations).

jeff



More information about the Gcc-bugs mailing list