From: Alexandre Oliva Date: Sun, 29 Nov 2020 20:04:40 +0000 (-0300) Subject: add license to scripts I wrote X-Git-Tag: convert-csv-opcode-to-binary~1608 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7838d331a02021ae4f048a67981c88dd0f67696;p=libreriscv.git add license to scripts I wrote --- diff --git a/openpower/sv/comp16-v1-skel.py b/openpower/sv/comp16-v1-skel.py index e237a63d5..4e0d64006 100644 --- a/openpower/sv/comp16-v1-skel.py +++ b/openpower/sv/comp16-v1-skel.py @@ -1,4 +1,25 @@ #! /bin/env python3 +# see https://bugs.libre-soc.org/show_bug.cgi?id=532 + +# Estimate ppc code compression with Libre-SOC encoding attempt v1. + + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# This script is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this script; see the file COPYING3. If not see +# . + +# Skeleton originally by Alexandre Oliva . + # Feed this script the output of objdump -M raw --no-show-raw-insn ppc-prog diff --git a/openpower/sv/estimate-compression.py b/openpower/sv/estimate-compression.py index 471f9c9da..009cd1406 100644 --- a/openpower/sv/estimate-compression.py +++ b/openpower/sv/estimate-compression.py @@ -1,4 +1,25 @@ #! /bin/env python3 +# see https://bugs.libre-soc.org/show_bug.cgi?id=532 + +# Estimate ppc code compression with Libre-SOC encoding attempt v2. + + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# This script is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this script; see the file COPYING3. If not see +# . + +# Skeleton originally by Alexandre Oliva . + # Feed this script the output of objdump -M raw --no-show-raw-insn ppc-prog diff --git a/openpower/sv/insn-histogram.py b/openpower/sv/insn-histogram.py index d48b179e6..bc2164472 100644 --- a/openpower/sv/insn-histogram.py +++ b/openpower/sv/insn-histogram.py @@ -1,6 +1,26 @@ #! /bin/env python3 # see https://bugs.libre-soc.org/show_bug.cgi?id=532 +# Print a per-opcode histogram for ppc asm. + + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# This script is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this script; see the file COPYING3. If not see +# . + +# Originally by Alexandre Oliva . + + # Feed this script the output of: # powerpc64le-gnu-objdump -d -M raw --no-show-raw-insn ppc-prog