summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-21 11:18:12 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-21 11:18:12 -0700
commit36b47fdfdc6c100c382b238da24c3b3d1b10be4b (patch)
treed3d94a6438010ccf7aaee1753a5539f7d9dbedb7 /insns.pl
parent2fb033af18c55d5e4412507b9a1bd513e8a6f2ff (diff)
downloadnasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.tar.gz
nasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.tar.bz2
nasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.zip
insns.pl: readabilty improvements for isnsnd.c
Make insnsd.c a bit more consistent in style.
Diffstat (limited to 'insns.pl')
-rw-r--r--insns.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/insns.pl b/insns.pl
index 594eec1..604e2e8 100644
--- a/insns.pl
+++ b/insns.pl
@@ -226,20 +226,20 @@ if ( !defined($output) || $output eq 'd' ) {
print D "};\n";
}
- print D "\nconst struct disasm_index * const itable_VEX[32][8] = {\n";
+ print D "\nconst struct disasm_index * const itable_VEX[32][8] = {\n ";
for ($m = 0; $m < 32; $m++) {
- print D "\t{\n";
+ print D " {\n";
for ($lp = 0; $lp < 8; $lp++) {
$vp = sprintf("VEX%02X%01X", $m, $lp);
if ($is_prefix{$vp}) {
- printf D "\t\titable_%s,\n", $vp;
+ printf D " itable_%s,\n", $vp;
} else {
- print D "\t\tNULL,\n";
+ print D " NULL,\n";
}
}
- print D "\t},\n";
+ print D " },";
}
- print D "};\n";
+ print D "\n};\n";
close D;
}