diff options
author | Polina Dudnik <pdudnik@gmail.com> | 2009-08-17 11:33:32 -0500 |
---|---|---|
committer | Polina Dudnik <pdudnik@gmail.com> | 2009-08-17 11:33:32 -0500 |
commit | c438b2e431066d9324238e1c678ef68a3b721f33 (patch) | |
tree | b79e72b3074441ce01d5c95207f96f71d16bed35 /src/arch | |
parent | 6654fe02daf6285cb43aa1c6e0e35f6c9c8786f1 (diff) | |
parent | a43ae579dd3128a0ced2238532f26d99db197361 (diff) | |
download | gem5-c438b2e431066d9324238e1c678ef68a3b721f33.tar.xz |
Branch Merge
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py b/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py index 47ad1d53c..86f1946ba 100644 --- a/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py +++ b/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py @@ -459,7 +459,7 @@ def macroop IDIV_B_M ld t8, seg, sib, disp #Find the sign of the divisor - slli t0, t3, 1, flags=(ECF,), dataSize=1 + slli t0, t8, 1, flags=(ECF,), dataSize=1 # Negate divisor sub t3, t0, t8, dataSize=1 @@ -531,7 +531,7 @@ def macroop IDIV_B_P ld t8, seg, riprel, disp #Find the sign of the divisor - slli t0, t3, 1, flags=(ECF,), dataSize=1 + slli t0, t8, 1, flags=(ECF,), dataSize=1 # Negate divisor sub t3, t0, t8, dataSize=1 @@ -678,7 +678,7 @@ def macroop IDIV_M #Find the sign of the divisor #FIXME!!! This depends on shifts setting the carry flag correctly. - slli t0, t3, 1, flags=(ECF,) + slli t0, t8, 1, flags=(ECF,) # Negate divisor sub t3, t0, t8 @@ -754,7 +754,7 @@ def macroop IDIV_P #Find the sign of the divisor #FIXME!!! This depends on shifts setting the carry flag correctly. - slli t0, t3, 1, flags=(ECF,) + slli t0, t8, 1, flags=(ECF,) # Negate divisor sub t3, t0, t8 |