aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2016-11-24 00:02:07 +1100
committerMichael Ellerman <[email protected]>2016-11-28 22:32:29 +1100
commitf87f253bac3ce4a4eb2a60a1ae604d74e65f9042 (patch)
treef90844c323d24e27c08c113beaffd318f004c243 /tools/perf/scripts/python
parent3b10d0095a1e2d6ce11f6537e04806ff8aba9cdd (diff)
powerpc/64e: Convert cmpi to cmpwi in head_64.S
From 80f23935cadb ("powerpc: Convert cmp to cmpd in idle enter sequence"): PowerPC's "cmp" instruction has four operands. Normally people write "cmpw" or "cmpd" for the second cmp operand 0 or 1. But, frequently people forget, and write "cmp" with just three operands. With older binutils this is silently accepted as if this was "cmpw", while often "cmpd" is wanted. With newer binutils GAS will complain about this for 64-bit code. For 32-bit code it still silently assumes "cmpw" is what is meant. In this case, cmpwi is called for, so this is just a build fix for new toolchains. Cc: [email protected] # v3.0+ Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions