1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

m1/perf/: a bunch of bug fixes all over the place

This commit is contained in:
Werner Almesberger
2011-09-18 10:14:12 -03:00
parent 065ad19d99
commit c02c02903d
3 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/perl
#while (<>) {
# last if /per-vertex PFPU fragment/;
#}
while (<>) {
last if /per-vertex PFPU fragment/;
}
$i = 0;
while (<>) {
@@ -17,8 +17,8 @@ while (<>) {
$a = $reg{$a} if defined $reg{$a};
$b = $reg{$b} if defined $reg{$b};
if ($op eq "IF") {
$expr = "(IF $reg{002} $a $b)";
if ($op eq "IF<R2>") {
$expr = "(IF ".$reg{"R002"}." $a $b)";
} elsif ($op eq "VECTOUT") {
$res = "$a\n$b\n";
} elsif (defined $b) {