From b3f46ea68e484eb734aa8c0b6ba3d4d390efd4c2 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 20 Nov 2020 15:48:02 +0000 Subject: [PATCH] --- openpower/sv/16_bit_compressed.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openpower/sv/16_bit_compressed.mdwn b/openpower/sv/16_bit_compressed.mdwn index ecddad4b3..6fb705c91 100644 --- a/openpower/sv/16_bit_compressed.mdwn +++ b/openpower/sv/16_bit_compressed.mdwn @@ -486,3 +486,11 @@ space (when RA==0) | 1 0 1 1 | | | 001.1 | 0 | | M | | 1 1 0 0 | | | 001.1 | 0 | | M | | 1 1 1 1 | | | 001.1 | 0 10 | | M | + +# Analysis techniques + + objdump -d --no-show-raw-insn /bin/bash | sed 'y/\t/ /; + s/^[ x0-9A-F]*: *\([a-z.]\+\) *\(.*\)/\1 \2 /p; d' | + sed 's/\([, (]\)r[1-9][0-9]*/\1r1/g; + s/\([ ,]\)-*[0-9]\+\([^0-9]\)/\11\2/g' | sort | uniq --count | + sort -n | less -- 2.30.2