This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/45966] Incorrect combiner transformation.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45966

--- Comment #2 from Marcus Shawcroft <marcus.shawcroft at arm dot com> 2010-10-11 14:15:05 UTC ---
Hi,

./install/bin/arm-none-eabi-gcc -S -O2 mark.i -da

Configured:

Target: arm-none-eabi
Configured with: /work/home/marcus/arm-work/gcc/configure
--target=arm-none-eabi --with-cpu=cortex-a9 --with-float-abi=softfp
--with-fpu=neon --prefix=/work/home/marcus/arm-work/install
--with-gmp=/work/home/marcus/arm-work/build-arm-none-eabi/host-tools
--with-mpfr=/work/home/marcus/arm-work/build-arm-none-eabi/host-tools
--with-mpc=/work/home/marcus/arm-work/build-arm-none-eabi/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls --disable-lto
--enable-checking=yes --enable-languages=c,c++ --with-newlib

/Marcus

________________________________________
From: bernds at gcc dot gnu.org [gcc-bugzilla@gcc.gnu.org]
Sent: 11 October 2010 14:55
To: Marcus Shawcroft
Subject: [Bug rtl-optimization/45966] Incorrect combiner transformation.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45966

--- Comment #1 from Bernd Schmidt <bernds at gcc dot gnu.org> 2010-10-11
13:55:03 UTC ---
Over here the replacement isn't happening due to costs:

Successfully matched this instruction:
(set (reg:SI 155)
    (and:SI (reg:SI 0 r0 [ p ])
        (const_int 4095 [0xfff])))
rejecting combination of insns 2, 6, 7 and 8
original costs 4 + 4 + 4 + 8 = 20
replacement costs 12 + 12 = 24

What's your exact cc1 command line?

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]