projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0135cda
)
X86: Fix div2 flag calculation.
author
Gabe Black
<gblack@eecs.umich.edu>
Fri, 25 Jun 2010 07:21:48 +0000
(
00:21
-0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Fri, 25 Jun 2010 07:21:48 +0000
(
00:21
-0700)
src/arch/x86/isa/microops/regop.isa
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/microops/regop.isa
b/src/arch/x86/isa/microops/regop.isa
index f9e00b4e3efa64ffb4956ce2975b66411f99525d..e0270cb8183e4b7f60b13708f4b428762fa9e163 100644
(file)
--- a/
src/arch/x86/isa/microops/regop.isa
+++ b/
src/arch/x86/isa/microops/regop.isa
@@
-636,7
+636,7
@@
let {{
Quotient = quotient;
'''
flag_code = '''
- if (
DestRe
g == 0)
+ if (
remainin
g == 0)
ccFlagBits = ccFlagBits | (ext & EZFBit);
else
ccFlagBits = ccFlagBits & ~(ext & EZFBit);