[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What architecture are we?



Brian C. White writes:
> I agree with your reasoning, but I don't put that much faith in the
> compiler.  I figure that if I say to gcc, "optimize for the Pentium"
> then gcc is free to use all instructions available on a Pentium.  We
> assume that later generation chips will not remove instructions (or at
> least seamlessly emulate removed instructions), but some instructions
> may not exist on older generation chips.
> 
> Thus, barring a guarantee from the compiler guys, if Debian supports
> the i386 then everything should be optimized for "i386".

Gcc does not currently use any non-i386 instructions when compiling
for i[345]86 targets.  It does, however, apply different optimizations
depending on which specific cpu is being targeted.

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: