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

Issue 1294933003: MIPS:[turbofan] Improve boolean materialization compares.

Created:
5 years, 4 months ago by dusmil.imgtec
Modified:
5 years, 3 months ago
Reviewers:
paul.l...
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS:[turbofan] Improve boolean materialization compares. Additionally, improve immediate operand matching for branches to avoid duplicated constant loading. TEST= BUG=

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add code for r6, address comments. #

Patch Set 3 : Add mips32 port. #

Total comments: 6

Patch Set 4 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -57 lines) Patch
M src/compiler/mips/code-generator-mips.cc View 1 2 3 3 chunks +82 lines, -26 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 2 3 2 chunks +24 lines, -5 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 3 chunks +84 lines, -22 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 2 3 1 chunk +24 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
paul.l...
Here are a few initial comments, I need to think more on this, but I ...
5 years, 4 months ago (2015-08-15 00:22:31 UTC) #2
paul.l...
Also a nit: in commit message: impove -> improve
5 years, 4 months ago (2015-08-15 00:23:41 UTC) #3
paul.l...
I really like materializing the booleans simply like this, without using a branch. Especially since ...
5 years, 3 months ago (2015-09-03 22:27:40 UTC) #4
paul.l...
Another round of comments, I was over-complicating my proposed solution, we can just look at ...
5 years, 3 months ago (2015-09-04 03:33:58 UTC) #5
dusmil.imgtec
5 years, 3 months ago (2015-09-04 12:57:48 UTC) #6
Thank you for review!  The code is improved and simpler now.
All comments addressed.

Powered by Google App Engine
This is Rietveld 408576698