public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64782] New: -mcpu=native should be supported on aarch64
@ 2015-01-25 4:57 pinskia at gcc dot gnu.org
2015-01-25 5:04 ` [Bug target/64782] " pinskia at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-01-25 4:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
Bug ID: 64782
Summary: -mcpu=native should be supported on aarch64
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Now we have some different CPU supported on AARCH64. We should support
-mcpu=native. We might need some information from the kernel which is not
supplied yet.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
@ 2015-01-25 5:04 ` pinskia at gcc dot gnu.org
2015-01-25 10:55 ` ktkachov at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-01-25 5:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |64784
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-mcpu=native should select the native arch also.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
2015-01-25 5:04 ` [Bug target/64782] " pinskia at gcc dot gnu.org
@ 2015-01-25 10:55 ` ktkachov at gcc dot gnu.org
2015-01-26 9:31 ` jgreenhalgh at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-25 10:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-01-25
CC| |ktkachov at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from ktkachov at gcc dot gnu.org ---
I had some work on this for GCC 6
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
2015-01-25 5:04 ` [Bug target/64782] " pinskia at gcc dot gnu.org
2015-01-25 10:55 ` ktkachov at gcc dot gnu.org
@ 2015-01-26 9:31 ` jgreenhalgh at gcc dot gnu.org
2015-01-26 10:35 ` ktkachov at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2015-01-26 9:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
James Greenhalgh <jgreenhalgh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jgreenhalgh at gcc dot gnu.org
--- Comment #3 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Did the Linux kernel format for /proc/cpuinfo settle down enough that we can
sensibly parse it [1]?
When implementing this support I guess we will want to look at which kernels
are going to be out there in use, and possibly even try to detect the
/proc/cpuinfo format dynamically (Ugh!). Perhaps you just want to mandate a
minimum kernel version, and bail out if you see something older?
[1]: https://lkml.org/lkml/2014/10/24/391
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
` (2 preceding siblings ...)
2015-01-26 9:31 ` jgreenhalgh at gcc dot gnu.org
@ 2015-01-26 10:35 ` ktkachov at gcc dot gnu.org
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-26 10:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
--- Comment #4 from ktkachov at gcc dot gnu.org ---
(In reply to James Greenhalgh from comment #3)
> Did the Linux kernel format for /proc/cpuinfo settle down enough that we can
> sensibly parse it [1]?
>
> When implementing this support I guess we will want to look at which kernels
> are going to be out there in use, and possibly even try to detect the
> /proc/cpuinfo format dynamically (Ugh!). Perhaps you just want to mandate a
> minimum kernel version, and bail out if you see something older?
>
> [1]: https://lkml.org/lkml/2014/10/24/391
That's the format in the link that I was thinking of supporting.
The format before the one proposed in the link would work as well, but only for
detecting the native -march or non-big.LITTLE systems.
But since we would want consistent behaviour regardless of kernel version, we
should probably mandate a minimum kernel version for this feature.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
` (4 preceding siblings ...)
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
@ 2015-04-26 5:22 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-04-26 5:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed:
http://cagit1.caveonetworks.com/git/?p=toolchain/gcc.git;a=commit;h=8b81ce60cb7975ad457d58d237d1b533f81ecd7c
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8b81ce60cb7975ad457d58d237d1b533f81ecd7c
Aka revision 222415 .
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/64782] -mcpu=native should be supported on aarch64
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
` (3 preceding siblings ...)
2015-01-26 10:35 ` ktkachov at gcc dot gnu.org
@ 2015-04-26 5:22 ` pinskia at gcc dot gnu.org
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-04-26 5:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed:
http://cagit1.caveonetworks.com/git/?p=toolchain/gcc.git;a=commit;h=8b81ce60cb7975ad457d58d237d1b533f81ecd7c
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8b81ce60cb7975ad457d58d237d1b533f81ecd7c
Aka revision 222415 .
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-26 5:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 4:57 [Bug target/64782] New: -mcpu=native should be supported on aarch64 pinskia at gcc dot gnu.org
2015-01-25 5:04 ` [Bug target/64782] " pinskia at gcc dot gnu.org
2015-01-25 10:55 ` ktkachov at gcc dot gnu.org
2015-01-26 9:31 ` jgreenhalgh at gcc dot gnu.org
2015-01-26 10:35 ` ktkachov at gcc dot gnu.org
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
2015-04-26 5:22 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).