https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66701
Jason McG changed:
What|Removed |Added
Status|CLOSED |UNCONFIRMED
Resolution|WONTFIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66701
Jason McG changed:
What|Removed |Added
Status|RESOLVED|CLOSED
Resolution|INVALID
: 4.8.4
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jmcguiness at liquidcapital dot com
Target Milestone: ---
I am aware of the ability to modify the handler for the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584
--- Comment #8 from Jason McG ---
(In reply to Andrew Pinski from comment #6)
...
> compiler developer. This is the first time I have seen a non-compiler
> developer care about documenting gcc heuristics. Note there is no one paper.
...
See comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584
--- Comment #7 from Jason McG ---
(In reply to Andrew Pinski from comment #6)
> If someone cares so much about the static branch predictor, they would be a
...
I am not a compiler developer and I do care about this in the code I work upon.
I oc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584
Jason McG changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584
--- Comment #4 from Jason McG ---
(In reply to Eric Botcazou from comment #2)
> What would you like us to document exactly? How are we supposed to track
...
Perhaps I was unclear. I am asking that you point out to me in the gcc
documentation wh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584
--- Comment #1 from Jason McG ---
(In reply to Jason McG from comment #0)
I got my static bp summaries wrong, corrected:
> void foo(int i) {
> switch(i) {
> case 1:
bar1(); // gcc: less likely (same as default) | icc: most likely
>
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jmcguiness at liquidcapital dot com
Target Milestone: ---
This means that code optimised for icc is sub-optimal for icc and the reverse
is true. I feel that this feature should be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573
--- Comment #2 from Jason McG ---
If I try with this code:
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
extern void bar1();
extern void bar2();
void foo(bool i) {
// if (i)
if (likely(i))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573
--- Comment #1 from Jason McG ---
Note that clang++ for all tested versions (3.0, 3.2, 3.3, 3.4.1, 3.5, 3.5.1,
3.6 (rc2), 3.7 (experimental)) produce the same assembler output for -O1, -O2 &
-O3:
foo(bool):# @foo(
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jmcguiness at liquidcapital dot com
Target Milestone: ---
For the following versions of gcc: 4.8.2, 4.9.0 and 5.10 with the following
code sequence:
extern void bar1();
extern void
12 matches
Mail list logo