public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59718] New: Behaviour of -mcpu documented incorrectly for ARM targets
@ 2014-01-08 11:34 bogden at arm dot com
  2014-01-08 11:59 ` [Bug target/59718] " rearnsha at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bogden at arm dot com @ 2014-01-08 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59718
           Summary: Behaviour of -mcpu documented incorrectly for ARM
                    targets
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bogden at arm dot com

I am given to understand that the behaviour of the -mcpu option for both the
ARM and AArch64 targets is that it is a shorthand for specifying -march=foo
-mtune=bar, where bar is a CPU that implements foo.

However, the documentation for AArch64
(gcc-4.8.2/gcc/AArch64-Options.html#AArch64-Options) says that -mcpu is the
same as -march, except that it takes CPU names rather than architecture
versions.

http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/ARM-Options.html#ARM-Options is
similar except that it seems to describe the correct behaviour in one specific
case.

These sections should be rewritten to correctly describe the behaviour of
-mcpu.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-05 15:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 11:34 [Bug target/59718] New: Behaviour of -mcpu documented incorrectly for ARM targets bogden at arm dot com
2014-01-08 11:59 ` [Bug target/59718] " rearnsha at gcc dot gnu.org
2014-02-05 11:43 ` jgreenhalgh at gcc dot gnu.org
2014-02-05 14:41 ` jgreenhalgh at gcc dot gnu.org
2014-02-05 14:55 ` jgreenhalgh at gcc dot gnu.org
2014-02-05 15:03 ` jgreenhalgh 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).