aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2019-10-01 21:53:32 +0000
committerPaul Burton <[email protected]>2019-10-07 09:42:52 -0700
commitaad028cadb17867d257e8b90078f6a19614775ff (patch)
treeebc5bbb543dc184474688797f4de13303496b911 /tools/perf/scripts/python
parentd6103510e7ccdc992e4eca7031eae366117ae6d4 (diff)
MIPS: bitops: Avoid redundant zero-comparison for non-LLSC
The IRQ-disabling non-LLSC fallbacks for bitops on UP systems already return a zero or one, so there's no need to perform another comparison against zero. Move these comparisons into the LLSC paths to avoid the redundant work. Signed-off-by: Paul Burton <[email protected]> Cc: [email protected] Cc: Huacai Chen <[email protected]> Cc: Jiaxun Yang <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions