[Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk

2019-03-01 Thread daniel at iogearbox dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952 Daniel Borkmann changed: What|Removed |Added CC||daniel at iogearbox dot net

[Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk

2019-03-01 Thread daniel at iogearbox dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952 --- Comment #16 from Daniel Borkmann --- (In reply to Martin Liška from comment #15) > (In reply to Daniel Borkmann from comment #12) > > I've been looking into this issue quite recently and improved the benchmark > > tool a bit along the way. Th

[Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk

2019-03-06 Thread daniel at iogearbox dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952 --- Comment #20 from Daniel Borkmann --- (In reply to Martin Liška from comment #19) > Ok, I updated the benchmark and push it here: > https://github.com/marxin/microbenchmark-1 > > And I see following on my Haswell machine: Thanks for working