[ Charset UTF-8 unsupported, converting... ]
> On Fri, Jan 19, 2018 at 9:51 AM, John Baldwin <[email protected]> wrote:
> > On Friday, January 19, 2018 04:34:06 AM Conrad Meyer wrote:
> >>   The logical result of a right shift >= the width of a type is zero, but 
> >> our
> >>   compiler decides this is a warning (and thus, error).  Just remove ccp(4)
> >>   from i386.
> >
> > You would think that.  The shift instructions on x86 effectively ignore the
> > upper bits of the count, so a 33-bit shift on i386 ends up being a 1-bit 
> > shift,
> > etc. IIRC.
> 
> This never becomes a shift instruction on x86 or any other arch ? it's
> a constant before it reaches machine code.

A constant that is produce by a?  Shift insturction perhaps?
Ok, that was pedantically over kill, but is what most likely happens.


-- 
Rod Grimes                                                 [email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to