From owner-freebsd-current Sat Jun 23 13:34:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id 12DA437B405; Sat, 23 Jun 2001 13:34:36 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.140.184.Dial1.SanJose1.Level3.net [209.247.140.184]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA21612; Sat, 23 Jun 2001 13:34:27 -0700 (PDT) Message-ID: <3B34FD74.A947641A@mindspring.com> Date: Sat, 23 Jun 2001 13:35:00 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Karsten W. Rohrbach" Cc: Dag-Erling Smorgrav , current@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: CPUTYPE warning References: <20010622192232.U64624@mail.webmonster.de> <3B340F45.863D00A0@mindspring.com> <20010623165930.A14624@mail.webmonster.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Karsten W. Rohrbach" wrote: > refer to http://www.gnu.org/software/gcc/gcc-3.0/features.html > > --- > General Optimizer Improvements: > - Basic block reordering pass. > - New if-conversion pass with support for conditional (predicated) > execution. > - New tail call and sibling call elimination optimizations. This alone is enough to sell me on moving to the new version of the compiler. > - New register renaming pass. > - New (experimental) static single assignment (SSA) representation > support. > - New dead-code elimination pass implemented using the SSA representation. > - Global null pointer test elimination. > - Global code hoisting/unification. > - More builtins and optimizations for stdio.h, string.h and old BSD > functions, as well as for ISO C99 functions. > - New builtin __builtin_expect for giving hints to the branch predictor. FWIW: tail-call optimization is when I have a function that, as it's last thing (perhaps after reordering by the compiler, as well) calls another function, such that the return value of the other function is its return value. This permits you to replace: push args on stack call function push args on stack call function ret restore stack ret restore stack With: push args on stack call function do minor stack stuff jmp function ret restore stack -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message