Commit 968c47b8 authored by Taddeus Kroes's avatar Taddeus Kroes

Merged conflicts.

parents 7018b528 8a58a9fd
......@@ -300,12 +300,12 @@ The following results have been obtained:\\
Benchmark & Original & Optimized & Original & Optimized & Performance \\
& Instructions & instructions & cycles & cycles & boost(cycles)\\
\hline
pi & 94 & & & & \\
acron & 361 & & & & \\
dhrystone & 752 & & & & \\
whet & 935 & & & & \\
slalom & 4177 & & & & \\
clinpack & 3523 & & & & \\
pi & 94 & & 1714468 & & \\
acron & 361 & & 4435687 & & \\
dhrystone & 752 & & 2887710 & & \\
whet & 935 & & 2864526 & & \\
slalom & 4177 & & 2879140 & & \\
clinpack & 3523 & & 1543746 & & \\
\hline
\end{tabular}
......
......@@ -118,7 +118,7 @@ class Statement:
def is_double_arithmetic(self):
"""Check if the statement is a arithmetic .d operator."""
return self.is_command() and \
re.match('^(add|sub|div|mul)\.d$', self.name)
re.match('^(add|sub|div|mul)\.[sd]$', self.name)
def is_double_unary(self):
"""Check if the statement is a unary .d operator."""
......@@ -172,7 +172,7 @@ class Statement:
def get_use(self):
"""Get the variables that this statement uses, if any."""
instr = ['addu', 'subu', 'mult', 'div', 'move', 'mov.d', \
'dmfc1']
'dmfc1', 'div.s']
use = set()
# Jump to register addres uses register
......
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