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

Issue 1018001: MIPS simple function calls (Closed)

Created:
10 years, 9 months ago by Alexandre
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 58

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2032 lines, -161 lines) Patch
M src/mips/builtins-mips.cc View 1 2 3 2 chunks +94 lines, -1 line 0 comments Download
M src/mips/codegen-mips.h View 5 chunks +115 lines, -4 lines 0 comments Download
M src/mips/codegen-mips.cc View 1 2 3 4 13 chunks +904 lines, -45 lines 0 comments Download
M src/mips/codegen-mips-inl.h View 1 2 3 1 chunk +25 lines, -1 line 0 comments Download
M src/mips/frames-mips.h View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/frames-mips.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/mips/ic-mips.cc View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M src/mips/jump-target-mips.cc View 1 2 3 chunks +88 lines, -4 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 9 chunks +86 lines, -9 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 22 chunks +438 lines, -27 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 1 2 3 4 2 chunks +45 lines, -2 lines 0 comments Download
M src/mips/virtual-frame-mips.h View 1 21 chunks +42 lines, -46 lines 0 comments Download
M src/mips/virtual-frame-mips.cc View 7 chunks +104 lines, -18 lines 0 comments Download
M test/cctest/SConscript View 1 chunk +1 line, -1 line 0 comments Download
A test/cctest/test-mips.cc View 4 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Alexandre
Hi, Here is some update for MIPS to do a simple global function call. It ...
10 years, 9 months ago (2010-03-15 22:03:31 UTC) #1
Alexandre
I'm correcting the forgotten lint errors... On 2010/03/15 22:03:31, Alexandre wrote: > Hi, > > ...
10 years, 9 months ago (2010-03-15 22:04:27 UTC) #2
Søren Thygesen Gjesse
Here are some initial comments. This is a rather big change, so I will need ...
10 years, 9 months ago (2010-03-17 14:49:09 UTC) #3
Alexandre
Thanks for the review, I'll be working on branch delay slots. I think I will ...
10 years, 9 months ago (2010-03-18 17:16:08 UTC) #4
Søren Thygesen Gjesse
I have now bee through all the code, and in general to looks good. When ...
10 years, 9 months ago (2010-03-19 10:11:23 UTC) #5
Alexandre
Hi, I just uploaded the changes. I still need to add a test. Alexandre http://codereview.chromium.org/1018001/diff/16001/17002 ...
10 years, 9 months ago (2010-03-22 12:35:58 UTC) #6
Alexandre
Hi, I actually added some bugs while correcting the code. I'm checking it right now. ...
10 years, 9 months ago (2010-03-22 13:59:25 UTC) #7
Alexandre
Hi, I corrected the bugs and added a new test for function calls in test/cctest/test-mips.cc ...
10 years, 9 months ago (2010-03-22 16:46:16 UTC) #8
Søren Thygesen Gjesse
When I run tools/test.py --simulator=mips it turns out that the test test-mips/MIPS_function_calls fails as it ...
10 years, 9 months ago (2010-03-23 11:15:40 UTC) #9
Alexandre
Hi, I corrected test-mips.cc and changed SetupAlignedCall code. I think your problem running tools/test.py --simulator=mips ...
10 years, 9 months ago (2010-03-23 13:35:11 UTC) #10
Søren Thygesen Gjesse
10 years, 9 months ago (2010-03-23 15:07:01 UTC) #11
On 2010/03/23 13:35:11, Alexandre wrote:
> Hi,
> 
> I corrected test-mips.cc and changed SetupAlignedCall code.
> 
> I think your problem running tools/test.py --simulator=mips is that your
> src/flag-definitions.h is not good for MIPS.
> You need these diffs to have it work:
> 
> Index: src/flag-definitions.h
> ===================================================================
> --- src/flag-definitions.h	(revision 4138)
> +++ src/flag-definitions.h	(working copy)
> @@ -122,7 +122,7 @@
>  // bootstrapper.cc
>  DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
>  DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
> -DEFINE_string(natives_file, NULL, "alternative natives file")
> +DEFINE_string(natives_file, "", "alternative natives file")
>  DEFINE_bool(expose_gc, false, "expose gc extension")
>  DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
>  
> @@ -145,7 +145,7 @@
>  DEFINE_bool(strict, false, "strict error checking")
>  DEFINE_int(min_preparse_length, 1024,
>             "minimum length for automatic enable preparsing")
> -DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once
code")
> +DEFINE_bool(full_compiler, false, "enable dedicated backend for run-once
code")
>  DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend")
>  DEFINE_bool(always_full_compiler, false,
>              "try to use the dedicated run-once backend for all code")
> 
> Regards,
> 
> Alexandre
> 
> http://codereview.chromium.org/1018001/diff/45001/46014
> File test/cctest/test-mips.cc (right):
> 
> http://codereview.chromium.org/1018001/diff/45001/46014#newcode38
> test/cctest/test-mips.cc:38: TEST(MIPS_function_calls) {
> On 2010/03/23 11:15:40, Søren Gjesse wrote:
> > Please rename the test to MIPSFunctionCall.
> 
> Done.
> 
> http://codereview.chromium.org/1018001/diff/45001/46014#newcode42
> test/cctest/test-mips.cc:42: const char* c_source = "function foo() { return
> 0x1234; }; foo();";
> On 2010/03/23 11:15:40, Søren Gjesse wrote:
> > Can't you do without ::v8:: here?
> 
> I can. Removed it.

Landed through http://codereview.chromium.org/1140004. Closing this issue.

Powered by Google App Engine
This is Rietveld 408576698