From: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!lee%usc-cse@USC-ECL Newsgroups: net.unix-wizards Title: Re: /lib/c2 optimizer for Berkeley 4.1 Article-I.D.: sri-arpa.830 Posted: Wed Mar 23 15:12:00 1983 Received: Thu Apr 7 03:57:27 1983 There is not reason not to replace cvtl[bw] with mov[bw] in the cases where the source operand is a constant that is negative or larger than 64. Zero of course can be moved with clr[bw]. There is no advantage (or disadvantage) to the replacement if the constant is in the range 1-63 (or 64, I forget which) since the constant is stored in literal form in a single byte operand descriptor in either instruction. -- Lee