aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBill Wendling <[email protected]>2020-11-20 14:40:34 -0800
committerMichael Ellerman <[email protected]>2020-11-26 22:05:43 +1100
commitf47462c9d8af437ae7d3ef410cf11513f5e3714c (patch)
tree09670d0116c292a3a12327f7d469c8697a59324b /tools/perf/scripts/python
parent215fadfe87259f38418ec78744796f099092fff1 (diff)
powerpc: Work around inline asm issues in alternate feature sections
The clang toolchain treats inline assembly a bit differently than straight assembly code. In particular, inline assembly doesn't have the complete context available to resolve expressions. This is intentional to avoid divergence in the resulting assembly code. We can work around this issue by borrowing a workaround done for ARM, i.e. not directly testing the labels themselves, but by moving the current output pointer by a value that should always be zero. If this value is not null, then we will trigger a backward move, which is explicitly forbidden. Signed-off-by: Bill Wendling <[email protected]> [mpe: Put it in a macro and only do the workaround for clang] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions