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

Issue 15874005: Fixes buggy FPU tests for MIPS hardware. (Closed)

Created:
7 years, 6 months ago by zra
Modified:
7 years, 3 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixes buggy FPU tests for MIPS hardware.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -119 lines) Patch
M runtime/vm/assembler_mips_test.cc View 1 2 3 15 chunks +35 lines, -90 lines 0 comments Download
M runtime/vm/constants_mips.h View 1 2 3 1 chunk +16 lines, -17 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/simulator_mips.cc View 1 2 3 9 chunks +77 lines, -10 lines 0 comments Download
M runtime/vm/unit_test.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
zra
For the MIPS hardware the results need to be in D0, for the MIPS simulator ...
7 years, 6 months ago (2013-06-01 00:15:44 UTC) #1
regis
Is this only a temporary fix? The right way to fix this would be to ...
7 years, 6 months ago (2013-06-01 00:38:15 UTC) #2
zra
On 2013/06/01 00:38:15, regis wrote: > Is this only a temporary fix? > The right ...
7 years, 6 months ago (2013-06-03 15:26:17 UTC) #3
zra
On 2013/06/03 15:26:17, zra wrote: > Yes, it's just a temporary fix to make sure ...
7 years, 6 months ago (2013-06-10 16:56:40 UTC) #4
zra
On 2013/06/10 16:56:40, zra wrote: > I added this flag to Simulator::Call and cleaned up ...
7 years, 6 months ago (2013-06-17 21:44:17 UTC) #5
regis
LGTM https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips.h File runtime/vm/simulator_mips.h (right): https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips.h#newcode54 runtime/vm/simulator_mips.h:54: void set_dregister_double(DRegister freg, double value); I would expect ...
7 years, 6 months ago (2013-06-18 08:42:12 UTC) #6
zra
7 years, 6 months ago (2013-06-18 16:47:25 UTC) #7
Thanks!

https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips.h
File runtime/vm/simulator_mips.h (right):

https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips....
runtime/vm/simulator_mips.h:54: void set_dregister_double(DRegister freg, double
value);
On 2013/06/18 08:42:12, regis wrote:
> I would expect set_dregister to take a double. The other variant taking an
> int64_t could be called set_dregister_bits.

Done.

https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips....
runtime/vm/simulator_mips.h:57: double get_dregister_double(DRegister freg)
const;
On 2013/06/18 08:42:12, regis wrote:
> ditto with return types.

Done.

https://codereview.chromium.org/15874005/diff/9001/runtime/vm/simulator_mips....
runtime/vm/simulator_mips.h:103: // result on return.
On 2013/06/18 08:42:12, regis wrote:
> The comment should explain the fp_return parameter.

Done.

Powered by Google App Engine
This is Rietveld 408576698