Commit 58c04001 authored by Chris Ryder's avatar Chris Ryder Committed by Arnaldo Carvalho de Melo

perf annotate: Fix identification of ARM blt and bls instructions

The ARM blt and bls instructions are not correctly identified when
parsing assembly because the list of recognised instructions must be
sorted by name. Swap the ordering of blt and bls.
Signed-off-by: default avatarChris Ryder <chris.ryder@arm.com>
Acked-by: default avatarPawel Moll <pawel.moll@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/560e196b7c79b7ff853caae13d8719a31479cb1a.1463676839.git.chris.ryder@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent fe176085
...@@ -372,8 +372,8 @@ static struct ins instructions[] = { ...@@ -372,8 +372,8 @@ static struct ins instructions[] = {
{ .name = "bgt", .ops = &jump_ops, }, { .name = "bgt", .ops = &jump_ops, },
{ .name = "bhi", .ops = &jump_ops, }, { .name = "bhi", .ops = &jump_ops, },
{ .name = "bl", .ops = &call_ops, }, { .name = "bl", .ops = &call_ops, },
{ .name = "blt", .ops = &jump_ops, },
{ .name = "bls", .ops = &jump_ops, }, { .name = "bls", .ops = &jump_ops, },
{ .name = "blt", .ops = &jump_ops, },
{ .name = "blx", .ops = &call_ops, }, { .name = "blx", .ops = &call_ops, },
{ .name = "bne", .ops = &jump_ops, }, { .name = "bne", .ops = &jump_ops, },
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment