Article View: gnu.gcc.help
Article #51213Multiply by 2**n with multiplication
From: Jose Alves (MH)
Date: Wed, 16 Jun 1993 13:20
Date: Wed, 16 Jun 1993 13:20
28 lines
1594 bytes
1594 bytes
Hi,
How can I make gcc to generate multiplications by integer
powers of 2, instead of converting them to shifts ?
I'v modified the RTX_COSTS macro, to give a higher cost
to shifts than to multiplications, but it does not work.
Is there any place where I can look at the main differences
between gcc 2.3.3 and 2.4.x ? Are the config files the same ?
(I'm using gcc-2.3.3, on a sparc station 2)
Thanks in advance
Jose'
----------------------------------------------------------------
Jose Carlos Alves (Guest Researcher) | PHONE : (49) 6151 165136
FG Mikroelectronische Systeme | FAX : (49) 6151 164936
Institut fur Datentechnik
Karl Strasse 15,
64283 Darmstadt
(GERMANY)
----------------------------------------------------------------
EMAIL jose@microelectronic.e-technik.th-darmstadt.de
jca@inescn.pt (after July 17th, 1993)
----------------------------------------------------------------
Technical Details
Message-ID:
<9306161311.AA10695@microelectronic.e-technik.th-darmstadt.de>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,beea5f7f3373fe49,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-16 06:22:11 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!not-for-mail From: jose@microelectronic.e-technik.th-darmstadt.de (Jose Alves (MH)) Newsgroups: gnu.gcc.help Subject: Multiply by 2**n with multiplication Date: 16 Jun 1993 08:20:18 -0500 Organization: UTexas Mail-to-News Gateway Lines: 28 Sender: daemon@cs.utexas.edu Message-ID: <9306161311.AA10695@microelectronic.e-technik.th-darmstadt.de> NNTP-Posting-Host: cs.utexas.edu