* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
@ 2015-07-09 11:21 ` hjl.tools at gmail dot com
2015-07-09 12:08 ` julia.koval at intel dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 11:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Which code is better?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
2015-07-09 11:21 ` [Bug target/66821] " hjl.tools at gmail dot com
@ 2015-07-09 12:08 ` julia.koval at intel dot com
2015-07-09 12:15 ` hjl.tools at gmail dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: julia.koval at intel dot com @ 2015-07-09 12:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #2 from Yulia Koval <julia.koval at intel dot com> ---
Well, second one looks better, but first one generates 9b smaller code.
Can we disable this test for this target if it is not an issue?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
2015-07-09 11:21 ` [Bug target/66821] " hjl.tools at gmail dot com
2015-07-09 12:08 ` julia.koval at intel dot com
@ 2015-07-09 12:15 ` hjl.tools at gmail dot com
2015-07-09 13:52 ` julia.koval at intel dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 12:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Yulia Koval from comment #2)
> Well, second one looks better, but first one generates 9b smaller code.
> Can we disable this test for this target if it is not an issue?
This is a tuning issue. We want smaller codes for IA MCU. Please check
-march=iamcu, not -march=pentium. We can't change Pentium tuning. But
we can change IA MCU tuning.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (2 preceding siblings ...)
2015-07-09 12:15 ` hjl.tools at gmail dot com
@ 2015-07-09 13:52 ` julia.koval at intel dot com
2015-07-09 13:54 ` hjl.tools at gmail dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: julia.koval at intel dot com @ 2015-07-09 13:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #4 from Yulia Koval <julia.koval at intel dot com> ---
The issue remains for -march=iamcu but not for -miamcu.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (3 preceding siblings ...)
2015-07-09 13:52 ` julia.koval at intel dot com
@ 2015-07-09 13:54 ` hjl.tools at gmail dot com
2015-07-09 13:58 ` julia.koval at intel dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 13:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Yulia Koval from comment #4)
> The issue remains for -march=iamcu but not for -miamcu.
Let's fix -march=iamcu.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (4 preceding siblings ...)
2015-07-09 13:54 ` hjl.tools at gmail dot com
@ 2015-07-09 13:58 ` julia.koval at intel dot com
2015-07-09 14:01 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: julia.koval at intel dot com @ 2015-07-09 13:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #6 from Yulia Koval <julia.koval at intel dot com> ---
msticlxl58$ size miam
text data bss dec hex filename
72 0 0 72 48 miam
msticlxl58$ size march
text data bss dec hex filename
81 0 0 81 51 march
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (5 preceding siblings ...)
2015-07-09 13:58 ` julia.koval at intel dot com
@ 2015-07-09 14:01 ` hjl.tools at gmail dot com
2015-07-09 14:05 ` julia.koval at intel dot com
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 14:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Yulia Koval from comment #6)
> msticlxl58$ size miam
> text data bss dec hex filename
> 72 0 0 72 48 miam
> msticlxl58$ size march
> text data bss dec hex filename
> 81 0 0 81 51 march
Which one is -march=iamcu?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=pentium
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (6 preceding siblings ...)
2015-07-09 14:01 ` hjl.tools at gmail dot com
@ 2015-07-09 14:05 ` julia.koval at intel dot com
2015-07-09 18:06 ` [Bug target/66821] reassoc-37.c fails on -march=iamcu hjl.tools at gmail dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: julia.koval at intel dot com @ 2015-07-09 14:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #8 from Yulia Koval <julia.koval at intel dot com> ---
(In reply to H.J. Lu from comment #7)
> (In reply to Yulia Koval from comment #6)
> > msticlxl58$ size miam
> > text data bss dec hex filename
> > 72 0 0 72 48 miam
> > msticlxl58$ size march
> > text data bss dec hex filename
> > 81 0 0 81 51 march
>
> Which one is -march=iamcu?
miam is -miamcu, the same as just "-m32"
march is -march=iamcu
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=iamcu
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (7 preceding siblings ...)
2015-07-09 14:05 ` julia.koval at intel dot com
@ 2015-07-09 18:06 ` hjl.tools at gmail dot com
2015-07-09 20:37 ` hjl.tools at gmail dot com
2015-08-24 15:31 ` hjl at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 18:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-09
Ever confirmed|0 |1
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00806.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=iamcu
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (8 preceding siblings ...)
2015-07-09 18:06 ` [Bug target/66821] reassoc-37.c fails on -march=iamcu hjl.tools at gmail dot com
@ 2015-07-09 20:37 ` hjl.tools at gmail dot com
2015-08-24 15:31 ` hjl at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 20:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |6.0
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/66821] reassoc-37.c fails on -march=iamcu
2015-07-09 9:51 [Bug target/66821] New: reassoc-37.c fails on -march=pentium julia.koval at intel dot com
` (9 preceding siblings ...)
2015-07-09 20:37 ` hjl.tools at gmail dot com
@ 2015-08-24 15:31 ` hjl at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu.org @ 2015-08-24 15:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
--- Comment #12 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Mon Aug 24 15:31:02 2015
New Revision: 227133
URL: https://gcc.gnu.org/viewcvs?rev=227133&root=gcc&view=rev
Log:
Add a testcase for PR target/66821
PR target/66821
* gcc.target/i386/pr66821.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr66821.c
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 12+ messages in thread