Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 637273002: MIPS64: Fix TruncatingDiv. (Closed)

Created:
6 years, 2 months ago by akos.palfi.imgtec
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

MIPS64: Fix TruncatingDiv. - Fix the Macroassembler::TruncatingDiv to compute the correct result even when the magic number is negative. - Fix the MULT instruction in the simulator. TEST=mjsunit/compiler/division-by-constant BUG= R=dusan.milosavljevic@imgtec.com Committed: https://code.google.com/p/v8/source/detail?r=24475

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M src/mips64/macro-assembler-mips64.cc View 1 chunk +1 line, -1 line 2 comments Download
M src/mips64/simulator-mips64.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
akos.palfi.imgtec
PTAL.
6 years, 2 months ago (2014-10-08 08:34:51 UTC) #2
dusmil.imgtec
https://codereview.chromium.org/637273002/diff/1/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/637273002/diff/1/src/mips64/macro-assembler-mips64.cc#newcode6070 src/mips64/macro-assembler-mips64.cc:6070: base::MagicNumbersForDivision<uint32_t> mag = Can we instantiate template class with ...
6 years, 2 months ago (2014-10-08 09:56:40 UTC) #3
Sven Panne
https://codereview.chromium.org/637273002/diff/1/src/mips64/macro-assembler-mips64.cc File src/mips64/macro-assembler-mips64.cc (right): https://codereview.chromium.org/637273002/diff/1/src/mips64/macro-assembler-mips64.cc#newcode6070 src/mips64/macro-assembler-mips64.cc:6070: base::MagicNumbersForDivision<uint32_t> mag = On 2014/10/08 09:56:40, dusmil.imgtec wrote: > ...
6 years, 2 months ago (2014-10-08 10:44:13 UTC) #5
dusmil.imgtec
Ok, thanks for clarifying this.
6 years, 2 months ago (2014-10-08 11:19:14 UTC) #6
dusmil.imgtec
Lgtm.
6 years, 2 months ago (2014-10-08 11:19:35 UTC) #7
akos.palfi.imgtec
6 years, 2 months ago (2014-10-08 16:15:38 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 24475 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698