aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2019-10-01 21:53:31 +0000
committerPaul Burton <[email protected]>2019-10-07 09:42:49 -0700
commita2e66b862cc7b8db1a0eb63b71e61943d48c3c8a (patch)
tree8ff44c2c764642531e335e29cd00a4261204ae48 /tools/perf/scripts/python/export-to-postgresql.py
parent6bbe043bd3f4766b089b7b51a80e75745868c038 (diff)
MIPS: bitops: Allow immediates in test_and_{set,clear,change}_bit
The logical operations or & xor used in the test_and_set_bit_lock(), test_and_clear_bit() & test_and_change_bit() functions currently force the value 1<<bit to be placed in a register. If the bit is compile-time constant & fits within the immediate field of an or/xor instruction (ie. 16 bits) then we can make use of the ori/xori instruction variants & avoid the use of an extra register. Add the extra "i" constraints in order to allow use of these immediate encodings. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions