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 target/82150] Produces a branch prefetch which causes a hang


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82150

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ramana at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #6 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
To answer the question open, no options have been added to "avoid" this
behaviour.

The code generated by the compiler is as per the architecture specification,
there's nothing wrong here and thus this is not a valid report. In order to
prevent such speculation by the ARM11 MPCore, one needs to set the XN bit as
Matt referred to above.

Look also at the execute-never bit in the ARM-ARM - ARMv7-AR Section B3.7.2
(Issue C - DDI0406C, page B3-1351) where it covers what happens with
Speculation and no-execute, and thus given that's in the architecture
implementations have to follow that.


regards
Ramana

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